1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Rep Power
    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.
  2. #2
  3. No Profile Picture
    Gödelian monster
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 1999
    Central Florida, USA
    Rep Power
    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.

Similar Threads

  1. Replies: 2
    Last Post: August 18th, 2004, 10:45 PM
  2. PHP on IIS-6 installation help
    By kw103 in forum PHP Development
    Replies: 9
    Last Post: January 21st, 2004, 08:03 AM
  3. PHP with UnixODBC
    By coder4hire in forum PHP Development
    Replies: 2
    Last Post: January 20th, 2004, 01:14 PM
  4. Passing string from PHP to Javascript
    By ka8oad in forum JavaScript Development
    Replies: 4
    Last Post: January 17th, 2004, 03:12 PM
  5. UnixODBC + PHP + Apache + Empress
    By coder4hire in forum Database Management
    Replies: 0
    Last Post: January 15th, 2004, 01:41 PM

IMN logo majestic logo threadwatch logo seochat tools logo