I have a site, which I'm moving from a Debian Unix system to EasyPHP.
For example:
[
localhost]
The files are in:
"${path}/www/mysite/html"
However, normally, I put most of my PHP code in something like:
"${path}/www/mysite/php_lib"
In Unix, I usually do this:
...
Alias /mysite "/var/www/mysite/html"
<Directory /var/www/mysite/html>
php_value include_path ".:/var/www/mysite/php_lib"
</Directory>
...
So I added this to "C:\Program Files\EasyPHP 2.0b1\conf_files\httpd.conf":
Alias /mysite "${path}/www/mysite/html"
<Directory "${path}/www/mysite/html">
php_value include_path ".:${path}/www/mysite/php_lib"
</Directory>
When I navigate to [
localhost] it properly loads the "${path}/www/mysite/html/index.php" file, but fails including files from php_lib/ :
Warning: include(cp_lib.php) [function.include]: failed to open stream: No such file or directory in C:\Program Files\EasyPHP 2.0b1\www\mysite\html\control.php on line 1
Warning: include() [function.include]: Failed opening 'cp_lib.php' for inclusion (include_path='.:C:/PROGRA~1/EASYPH~1.0B1/www/mysite/php_lib') in C:\Program Files\EasyPHP 2.0b1\www\mysite\html\discs.php on line 1
Is it possible to do this with EasyPHP? Do I have a minor error in the config or must I specify this include path in conf_files/php.ini ?
I'll try this next but fear I'll have the same problem.
Thanks for reading this!
-HJ
Edited 1 time(s). Last edit at 04/15/2008 11:53AM by hjonez.