Plesk 10.3.1 and "per domain php.ini" --> doesn't work :|
Posted: Fri Sep 30, 2011 7:13 am
Hi @ all,
i am new here but i am not new to this question i asked to parallels, to our provider, nothing... nobody can help me..
on our Plesk 10.3.1 we enabled FastCGI mode on "example.com" domain:
but it seems that Apache always uses "/etc/php.ini" and ignores "/var/www/vhosts/example.com/conf/php.ini" ...
http://download1.parallels.com/Plesk/PP ... =69310.htm
We made "example.com" with the default "Apache module", "/var/www/vhosts/example.com/conf/" and "/var/www/vhosts/example.com/etc/" folders were without any "php.ini"
After set FastCGI mode on "example.com", only in "/var/www/vhosts/example.com/etc/" folder appeared the "php.ini" as is:
[PHP]
open_basedir = /var/www/vhosts/example.com/httpdocs:/tmp
safe_mode = Off
"/var/www/vhosts/example.com/conf/" folder remains without any php.ini (is it normal ?)
so i put in "/example.com/conf/" this php.ini and I restarted Apache (httpd)
[PHP]
safe_mode = Off
open_basedir = /var/www/vhosts/example.com/httpdocs:/tmp
session.save_path = /var/www/vhosts/example.com/httpdocs/session ( <-- IGNORED !! the session was created in the default-php folder "/tmp" )
It seems that Apache IGNORES both "per domain php.ini" and it looks only to the general default "/etc/php.ini" ...
Why so ? Something missing ?
Thank you.
i am new here but i am not new to this question i asked to parallels, to our provider, nothing... nobody can help me..
on our Plesk 10.3.1 we enabled FastCGI mode on "example.com" domain:
but it seems that Apache always uses "/etc/php.ini" and ignores "/var/www/vhosts/example.com/conf/php.ini" ...
http://download1.parallels.com/Plesk/PP ... =69310.htm
We made "example.com" with the default "Apache module", "/var/www/vhosts/example.com/conf/" and "/var/www/vhosts/example.com/etc/" folders were without any "php.ini"
After set FastCGI mode on "example.com", only in "/var/www/vhosts/example.com/etc/" folder appeared the "php.ini" as is:
[PHP]
open_basedir = /var/www/vhosts/example.com/httpdocs:/tmp
safe_mode = Off
"/var/www/vhosts/example.com/conf/" folder remains without any php.ini (is it normal ?)
so i put in "/example.com/conf/" this php.ini and I restarted Apache (httpd)
[PHP]
safe_mode = Off
open_basedir = /var/www/vhosts/example.com/httpdocs:/tmp
session.save_path = /var/www/vhosts/example.com/httpdocs/session ( <-- IGNORED !! the session was created in the default-php folder "/tmp" )
It seems that Apache IGNORES both "per domain php.ini" and it looks only to the general default "/etc/php.ini" ...
Why so ? Something missing ?
Thank you.