Discussion Locked

PHP

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I always get this one everytime i execute my php file:
Warning: (null)(): Failed opening '/etc/httpd/htdocs/sms/sp/Module2/createlist_1.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0

1 reply

by jaqui

what platform is the server on?
looks like a *x from the error message.

most *x don't have an htdocs directory, they have html directory.
htdocs is an apache on windows thing.
windows doesn't have an /etc directory.

include path:
/usr/local/lib/php
yet it's looking for a file in:
etc/httpd/htdocs/sms/sp/Module2/

try putting all user / site scripts in:
/var/www/html/ ( DOCUMENT ROOT )
all includes from php extention modules in:
/usr/local/lib/php/

This discussion is closed to new replies.