General discussion

Locked

PHP

By ken_marq2001 ·
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

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Jaqui In reply to PHP

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/

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums