Apache, PHP4, PHPLIB, include_path
| From: | Martin Burger | Date: | Wed, 21 Feb 2001 11:54:50 +0000 |
| Subject: | Apache, PHP4, PHPLIB, include_path | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5671@lists.php.net to get a copy of this message | ||
Hello,
I try to use PHPLIB with PHP4 on a machine running "Apache/1.3.14
(Win32) mod_jk PHP/4.0.4". With PHP3 (CGI) it works fine.
I inserted the following lines in the .htaccess in the root-directory
of the virtual webserver (VirtualHost):
php_value auto_prepend_file d:\server\htdocs\www.test.de\php\prepend.php3
php_value include_path \server\htdocs\www.test.de\php\:./
So, PHP4 finds the file prepend.php3, but the 'required' files in
prepend.php3 are not found:
Fatal error: Failed opening required 'db_mysql.inc'
(include_path='d:\server\htdocs\www.test.de\php\:./') in
d:\server\htdocs\www.test.de\php\prepend.php3 on line 19
If I manually insert the path to db_mysql.inc, PHP4 will find the file
but the next file will be a problem. I even copied the path from the
error message.
Any ideas to solve this problem?
Regards,
Martin Burger