PHP stopped working in site root, only works in subfolders

Discussion in 'Installation/Configuration' started by karon, Apr 7, 2011.

  1. karon

    karon New Member

    PHP sites stopped working in the root folder of their respective ISPConfig sites on the entire server (ISPConfig 3 on Ubuntu 10.04.)

    For example, a php copied to the site root (...web11/web/) gives the following error:
    _include/home.php_include/home.html Fatal error: Call to a member function appendChild() on a non-object in /var/www/clients/client9/web11/web/_include/home.php on line 142 
    But if I copy the relevant php files into a folder inside (...web11/web/x/) it starts to work again.

    I do not recall editing php.ini or Apache config files. Anyone got the idea what may have happened here?
  2. falko

    falko Super Moderator ISPConfig Developer

    Does this simple file work in the root folder?
  3. karon

    karon New Member

    Yes, phpinfo works, but nothing else that's downloaded from somewhere or written by us.
  4. falko

    falko Super Moderator ISPConfig Developer

    Can you check if the PHP include_path in your php.ini is correct?

Share This Page