PHP problem - Wordpress

Discussion in 'Installation/Configuration' started by spuppy, Aug 28, 2007.

  1. spuppy

    spuppy New Member

    I am trying to upgrade my Wordpress installation, but it cannot find a file, even though it is there. I'm sure this has something to do with PHP but i have no idea where to look... Here is the error that is given:
    Code:
    [Mon Aug 27 22:48:07 2007] [error] [client 24.83.178.245] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '../wp-config.php' (include_path='.:/php/includes') in /var/www/web6/web/wp-admin/admin.php on line 5
    Please help! I am stumped, and this needs to be fixed before I go live with the new server.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Is the file wp-config.php present in the web directory of the website?
     
  3. spuppy

    spuppy New Member

    Yes, that file is placed correctly. The same error message is given when it is deleted too.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Is the file in this directory: /var/www/web6/web/
    or somewhere else?
     
  5. spuppy

    spuppy New Member

    It is in the correct location
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the line:

    include_path

    from your php.ini file. The file is most likely located in /etc/php5/apache2/php.ini or a similar directory.
     
  7. spuppy

    spuppy New Member

    I have delete the site, and re-uploaded it. It works fine now! Though this has me concerned about adding sites in the future...
     

Share This Page