Hi,
I have a problem with Plesk and PHP. PHP isn't able to write to a directory in de subdomains folder.
e.g.
is_writable( /var/www/vhosts/domainname ) results in FALSE, with file permissions 755
is_writable( /var/www/vhosts/domainname/subdomains ) results in FALSE, with file permissions 755
is_writable( /var/www/vhosts/domainname/subdomains/www2 ) results in FALSE, with file permissions 755
is_writable( /var/www/vhosts/domainname/subdomains/www2/upload ) results in FALSE, with file permissions 777
while
is_writable( /var/www/vhosts/domainname/httpdocs ) results in TRUE, with file permissions 750
All directories have the owner userX and group psaserv
There must be a setting preventing PHP form writing to that folder.
My PHP settings (listed in PHPINFO() ) are:
Server API: CGI/FastCGI
Safe_mode: OFF
open_basedir: /var/www/vhosts/domainname/:/tmp/
How do I tell PLESK that PHP is allowed to write so the subdomainsfolder..
Please help
I have a problem with Plesk and PHP. PHP isn't able to write to a directory in de subdomains folder.
e.g.
is_writable( /var/www/vhosts/domainname ) results in FALSE, with file permissions 755
is_writable( /var/www/vhosts/domainname/subdomains ) results in FALSE, with file permissions 755
is_writable( /var/www/vhosts/domainname/subdomains/www2 ) results in FALSE, with file permissions 755
is_writable( /var/www/vhosts/domainname/subdomains/www2/upload ) results in FALSE, with file permissions 777
while
is_writable( /var/www/vhosts/domainname/httpdocs ) results in TRUE, with file permissions 750
All directories have the owner userX and group psaserv
There must be a setting preventing PHP form writing to that folder.
My PHP settings (listed in PHPINFO() ) are:
Server API: CGI/FastCGI
Safe_mode: OFF
open_basedir: /var/www/vhosts/domainname/:/tmp/
How do I tell PLESK that PHP is allowed to write so the subdomainsfolder..
Please help