[Phpwm] Php 5 includes not working

Dann S. Washko dann at thelinuxlink.net
Fri Jul 14 17:56:35 BST 2006


Someone at work decided to upgrade our webserver last night without 
consulting me and replaced all my configuration files.  To top it off, 
they moved from php 4 to 5.  Now a lot of things are broken, 
specifically, php includes.

These are simple includes and all the include files are located in a 
specific directory which is specified in the php.ini file like so (note, 
this is a netware server):

include_path = ".;sys:/php5/includes;vol1:/apache/nwdocs/site_files"

Pages in the document root (in this case vol1:/apache/nwdocs) work fine, 
but any file in a subdirectory starts throwing errors in the php 
error.log that the include file does not exist.  I'm thinking there must 
be some change from 4 to 5 that I am missing.  Can anyone venture a 
guess?  I'm stumped!

Here is an example of the error in the log file:


[14-Jul-2006 12:56:35] PHP Warning:  main(eit_leftmenu.html) [<a 
href='function.main'>function.main</a>]: failed to open stream: No such 
file or directory in vol1:/apache/nwdocs/eit/notice-july-2006.php on line 14

[14-Jul-2006 12:56:35] PHP Warning:  main() [<a 
href='function.include'>function.include</a>]: Failed opening 
'eit_leftmenu.html' for inclusion 
(include_path='.;sys:/php5/includes;vol1:/apache/nwdocs/site_files') in 
vol1:/apache/nwdocs/eit/notice-july-2006.php on line 14



Thanks for any help

-- 
Dann S. Washko




More information about the Phpwm mailing list