Edwin_Dijk
New Pleskian
Hello,
I have been trying to install PHP5.6.3 next to PHP5.3.3 on Plesk 12 (12.0.18 Update #28). I have followed the steps in the tutorial provided bij Parallels: http://kb.odin.com/en/118378
Initially, I had the same configurations as in the tutorial. At the end, I changed the id, the name and the location of the php.ini. (It already gave an error with the original php.ini though, and the name and id shouldn't have anything to do with it.)
At the end I had this list of php_handlers:
Inside /usr/local/php563-cgi/bin/ I have:
PHP seems to work (compiled for fastcgi):
Now I end up with the problem, that whenever I change the PHP version for a domain to the new PHP version, it gives me an Internal Server Error (500).
I don't have any prior experience with Plesk, so I don't know enough about the inner workings just yet. Could anyone please help me solve this?
Thanks in advance!
I have been trying to install PHP5.6.3 next to PHP5.3.3 on Plesk 12 (12.0.18 Update #28). I have followed the steps in the tutorial provided bij Parallels: http://kb.odin.com/en/118378
Initially, I had the same configurations as in the tutorial. At the end, I changed the id, the name and the location of the php.ini. (It already gave an error with the original php.ini though, and the name and id shouldn't have anything to do with it.)
At the end I had this list of php_handlers:
Code:
[root@server php563-cgi]# /usr/local/psa/bin/php_handler --list
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom:
cgi 5.3.3 5.3.3 5.3 cgi /usr/bin/php-cgi /etc/php.ini false
fastcgi 5.3.3 5.3.3 5.3 fastcgi /usr/bin/php-cgi /etc/php.ini false
fastcgi2 5.6.3 5.6.3 5.6 fastcgi /usr/local/php563-cgi/bin/php-cgi /etc/php.ini true
module 5.3.3 5.3.3 5.3 module /usr/bin/php-cgi /etc/php.ini false
Inside /usr/local/php563-cgi/bin/ I have:
Code:
[root@server bin]# ls -l
total 71716
-rwxr-xr-x. 1 root root 863 Dec 17 17:18 pear
-rwxr-xr-x. 1 root root 884 Dec 17 17:18 peardev
-rwxr-xr-x. 1 root root 800 Dec 17 17:18 pecl
lrwxrwxrwx. 1 root root 35 Dec 17 17:18 phar -> /usr/local/php563-cgi/bin/phar.phar
-rwxr-xr-x. 1 root root 14834 Dec 17 17:18 phar.phar
-rwxr-xr-x. 1 root root 36739677 Dec 17 17:18 php
-rwxr-xr-x. 1 root root 36652068 Dec 17 17:18 php-cgi
-rwxr-xr-x. 1 root root 3874 Dec 17 17:18 php-config
-rwxr-xr-x. 1 root root 4555 Dec 17 17:18 phpize
PHP seems to work (compiled for fastcgi):
Code:
[root@server bin]# ./php-cgi -v
PHP 5.6.3 (cgi-fcgi) (built: Dec 17 2014 17:10:08)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
Now I end up with the problem, that whenever I change the PHP version for a domain to the new PHP version, it gives me an Internal Server Error (500).
I don't have any prior experience with Plesk, so I don't know enough about the inner workings just yet. Could anyone please help me solve this?
Thanks in advance!