First I upgraded Plesk Panel to the version 11.0.9 Update #31.
Then I upgraded PHP to 5.3.19 and installed mcrypt.
After the last 2 steps I noticed that I had problems to login to websites. (expired sessions)
So I changed the session path of php to /tmp with the permission 777. (if there's a more secure option, please let me know)
But I noticed in the log the flollowing error.
Dec 17 18:19:23 vps1892 cgi_wrapper[9712]: /var/www/vhosts/mywebsite.com/etc/php.ini:No such file or directory Dec 17 18:19:48 vps1892 cgi_wrapper[9714]: /var/www/vhosts/mywebsite.com/etc/php.ini:No such file or directory Dec 17 18:19:52 vps1892 cgi_wrapper[9717]: /var/www/vhosts/mywebsite.com/etc/php.ini:No such file or directory Dec 17 18:19:52 vps1892 cgi_wrapper[9718]: /var/www/vhosts/mywebsite.com/etc/php.ini:No such file or directory Dec 17 18:20:50 vps1892 cgi_wrapper[9782]: /var/www/vhosts/mywebsite.com/etc/php.ini:No such file or directory
Looks like FastCGI is looking for the php.ini file in the wrong place?
How can I correct this?
Then I upgraded PHP to 5.3.19 and installed mcrypt.
After the last 2 steps I noticed that I had problems to login to websites. (expired sessions)
So I changed the session path of php to /tmp with the permission 777. (if there's a more secure option, please let me know)
But I noticed in the log the flollowing error.
Dec 17 18:19:23 vps1892 cgi_wrapper[9712]: /var/www/vhosts/mywebsite.com/etc/php.ini:No such file or directory Dec 17 18:19:48 vps1892 cgi_wrapper[9714]: /var/www/vhosts/mywebsite.com/etc/php.ini:No such file or directory Dec 17 18:19:52 vps1892 cgi_wrapper[9717]: /var/www/vhosts/mywebsite.com/etc/php.ini:No such file or directory Dec 17 18:19:52 vps1892 cgi_wrapper[9718]: /var/www/vhosts/mywebsite.com/etc/php.ini:No such file or directory Dec 17 18:20:50 vps1892 cgi_wrapper[9782]: /var/www/vhosts/mywebsite.com/etc/php.ini:No such file or directory
Looks like FastCGI is looking for the php.ini file in the wrong place?
How can I correct this?