Petrou Net
Basic Pleskian
Product: Parallels Plesk Panel Linux 10.3.1, version: psa v10.3.1_build1013110726.09 os_CentOS 5
Operating System: CentOS 5 i386. Kernel: 2.6.18-194.26.1.el5PAE
Architecture: i386
Please Note: Using PHP 5.3 (Packaged by Parallels) and PHP runs as FastCGI.
Problem Description:
It seems Plesk is now using a different php.ini file for each virtual host (Loaded Configuration File: /var/www/vhosts/xxxxx/etc/php.ini). However if you create a .php file and use phpinfo() (<?php phpinfo(); ?>) to check the configuration of PHP, you'll notice that some important directives are not configured, for example date.timezone & session.save_path are not set (Local Value: no value / Master Value: no value).
This causes errors on many php scripts.
Steps to reproduce:
1. Create a .php file and use phpinfo() (<?php phpinfo(); ?>) to check the configuration of PHP.
2. date.timezone & session.save_path have no value.
Actual Results:
Some important directives such as date.timezone & session.save_path (among others) have no value. This causes problems on many php scripts that need these directives correctly configured.
One way to temporary fix this, is to add an .ini file to /etc/php.d and set there the directives you want to be configured for all virtual hosts.
Expected Results:
Important PHP directives (such as date.timezone & session.save_path among others) should be configured correctly, to avoid any errors in php scripts.
Additional Information:
This issue started occurring when a server was upgraded to Plesk 10.3.0 and still continues on 10.3.1.
Operating System: CentOS 5 i386. Kernel: 2.6.18-194.26.1.el5PAE
Architecture: i386
Please Note: Using PHP 5.3 (Packaged by Parallels) and PHP runs as FastCGI.
Problem Description:
It seems Plesk is now using a different php.ini file for each virtual host (Loaded Configuration File: /var/www/vhosts/xxxxx/etc/php.ini). However if you create a .php file and use phpinfo() (<?php phpinfo(); ?>) to check the configuration of PHP, you'll notice that some important directives are not configured, for example date.timezone & session.save_path are not set (Local Value: no value / Master Value: no value).
This causes errors on many php scripts.
Steps to reproduce:
1. Create a .php file and use phpinfo() (<?php phpinfo(); ?>) to check the configuration of PHP.
2. date.timezone & session.save_path have no value.
Actual Results:
Some important directives such as date.timezone & session.save_path (among others) have no value. This causes problems on many php scripts that need these directives correctly configured.
One way to temporary fix this, is to add an .ini file to /etc/php.d and set there the directives you want to be configured for all virtual hosts.
Expected Results:
Important PHP directives (such as date.timezone & session.save_path among others) should be configured correctly, to avoid any errors in php scripts.
Additional Information:
This issue started occurring when a server was upgraded to Plesk 10.3.0 and still continues on 10.3.1.