file_exists() failing in isp config created website

Discussion in 'General' started by Zander1983, May 18, 2012.

  1. Zander1983

    Zander1983 New Member

    I have installed ispconfig3. Ive added a website but when i try to install elgg in /var/www/clients/client1/web5/web/, it fails because file_exists() returns false when looking for the directory /var/www/clients/client1/web5/data/. When i use file_exists() from a php file in the root, it finds the directory. I have changed all the permissions for the parent folders but ist still failing...any ideas??
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ensure that you use the correct PHP settings and folder permissions. PHP settings are_

    php mode: php-fcgi
    Suexec: on

    the folder "data" has to be owned by the user and group of this website and you have to add its path to the open_basedir path on the options tab of the website setings to allow access to it.
  3. Zander1983

    Zander1983 New Member

    thanks a lot, that worked! i spent 2 days on this, finally fixed:)

Share This Page