August 28th, 2000, 08:26 AM
-
I installed php version 4 on my Solaris Web Server, however when I attempt to view the results of any of my scripts, via browser, I receive the following error message: Warning: Failed opening '/export/virtual/standard/www.zapzyt.com/data/index.php' for inclusion (include_path='') in Unknown on line 0
If anyone knows where I would fix this please inform me, Thanks.
August 28th, 2000, 07:15 PM
-
1. Well, does your script call an include file? If so, then try it without an include and see what happens.
2. Does the file '/export/virtual/standard/www.zapzyt.com/data/index.php' actually exist at that location (from root), or is there more to the directory (/usr/export, or something like that)?
4. PHP can be configured to have a default include path. Mostly I just leave it blank, but perhaps you need to define it on Solaris, for your particular environment.
Open your php.ini file (should be in /usr/local/lib), or if you don't yet have a php.ini file, copy php.ini-dist into /usr/local/lib. There is a directive for include_path, which can have multiple entries, separated by colons.