Christopher McBride
Basic Pleskian
Hi,
I migrated from Plesk 11 to 11.5 (two servers, full migration - i.e. not an upgrade) and have had issues with the new vhost php.ini facility.
I do not have any custom settings in any vhosts on the panel, yet these files existed.
I want all vhosts to use the main /etc/php.ini file
Reading the thread at http://forum.parallels.com/showthre...ltiple-php-versions-php-ini-files-do-not-load, I deleted all vhost php.ini files with:
and restarted apache - which solved problems I was having when the vhost php.ini was overriding my global settings.
This, though, now introduces hundreds of error logs at /var/log/messages such as:
Adding the file in, but empty, does stop the errors being produced in the log, but the PHP errors (specifically regarding setting the timezone in php.ini) come back.
Is there any way for the cgi_wrapper NOT to complain that the php.ini file isn't there for the vhosts?
I migrated from Plesk 11 to 11.5 (two servers, full migration - i.e. not an upgrade) and have had issues with the new vhost php.ini facility.
I do not have any custom settings in any vhosts on the panel, yet these files existed.
I want all vhosts to use the main /etc/php.ini file
Reading the thread at http://forum.parallels.com/showthre...ltiple-php-versions-php-ini-files-do-not-load, I deleted all vhost php.ini files with:
Code:
rm -f /var/www/vhosts/system/*/etc/php.ini
and restarted apache - which solved problems I was having when the vhost php.ini was overriding my global settings.
This, though, now introduces hundreds of error logs at /var/log/messages such as:
Code:
May 29 14:55:53 server cgi_wrapper[31785]: /var/www/vhosts/system/domain.com/etc/php.ini:No such file or directory
Adding the file in, but empty, does stop the errors being produced in the log, but the PHP errors (specifically regarding setting the timezone in php.ini) come back.
Is there any way for the cgi_wrapper NOT to complain that the php.ini file isn't there for the vhosts?