[phplib] Apache, PHP4, PHPLIB, include_path From: Martin Burger (mburger <email protected>)
Date: 02/20/01

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 d:\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?

Yours sincerely,

Martin Burger

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>