Server info: Parallels Plesk v12.0.18 - CentOS 6.6 (Final) - PHP 5.3.3 (by default)
Hello,
I want to enable multiple PHP versions as shown in http://kb.odin.com/en/118378
I follow this procedure:
- Install PHP 5.6.4 on Plesk 11.5 & 12: https://gist.github.com/Stayallive/dbb91ffa6f0fc6ca6ac3
The installation is correctly but after change the PHP version of any website I have this error:
- (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
I try restart and reconfigure the domain...
# tailf /var/www/vhosts/domain.tld/logs/error_log
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Feb 07 19:40:30 2015] [error] [client 90.174.2.18] Premature end of script headers: index.php
# less /etc/httpd/logs/error_log
[Sat Feb 07 19:40:21 2015] [notice] Digest: done
[Sat Feb 07 19:40:21 2015] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 48 bytes)
[Sat Feb 07 19:40:21 2015] [notice] mod_bw : Version 0.92 - Initialized [0 Confs]
[Sat Feb 07 19:40:21 2015] [warn] No JkLogFile defined in httpd.conf. Using default /etc/httpd/logs/mod_jk.log
[Sat Feb 07 19:40:21 2015] [warn] No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status
[Sat Feb 07 19:40:21 2015] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Sat Feb 07 19:40:21 2015] [notice] mod_python: using mutex_directory /tmp
[Sat Feb 07 19:40:21 2015] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Sat Feb 07 19:40:21 2015] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Sat Feb 07 19:40:21 2015] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Sat Feb 07 19:40:21 2015] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Sat Feb 07 19:40:21 2015] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.9 mod_jk/1.2.40 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
# tailf /var/log/httpd/suexec_log
uid: (10001/terepaes) gid: (503/503) cmd: cgi_wrapper
# /usr/local/psa/admin/bin/php_handlers_control --list
id: display name: version: type: cgi-bin: cli-bin: php.ini:
module 5.3.3 5.3.3 module /usr/bin/php-cgi /etc/php.ini
fastcgi 5.3.3 5.3.3 fastcgi /usr/bin/php-cgi /etc/php.ini
cgi 5.3.3 5.3.3 cgi /usr/bin/php-cgi /etc/php.ini
fastcgi-5.5.20 5.5.20 5.5.20 fastcgi /php/php-5.5.20/bin/php-cgi /php/php-5.5.20/etc/php.ini
fastcgi-5.6.4 5.6.4 5.6.4 fastcgi /php/php-5.6.4/bin/php-cgi /php/php-5.6.4/etc/php.ini
# ls -la /etc/passwd
-rw-r--r--. 1 root root 4916 ene 13 18:59 /etc/passwd
Some idea ?
Hello,
I want to enable multiple PHP versions as shown in http://kb.odin.com/en/118378
I follow this procedure:
- Install PHP 5.6.4 on Plesk 11.5 & 12: https://gist.github.com/Stayallive/dbb91ffa6f0fc6ca6ac3
The installation is correctly but after change the PHP version of any website I have this error:
- (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
I try restart and reconfigure the domain...
# tailf /var/www/vhosts/domain.tld/logs/error_log
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Feb 07 19:40:30 2015] [error] [client 90.174.2.18] Premature end of script headers: index.php
# less /etc/httpd/logs/error_log
[Sat Feb 07 19:40:21 2015] [notice] Digest: done
[Sat Feb 07 19:40:21 2015] [notice] mod_bw : Memory Allocated 0 bytes (each conf takes 48 bytes)
[Sat Feb 07 19:40:21 2015] [notice] mod_bw : Version 0.92 - Initialized [0 Confs]
[Sat Feb 07 19:40:21 2015] [warn] No JkLogFile defined in httpd.conf. Using default /etc/httpd/logs/mod_jk.log
[Sat Feb 07 19:40:21 2015] [warn] No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status
[Sat Feb 07 19:40:21 2015] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Sat Feb 07 19:40:21 2015] [notice] mod_python: using mutex_directory /tmp
[Sat Feb 07 19:40:21 2015] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Sat Feb 07 19:40:21 2015] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Sat Feb 07 19:40:21 2015] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Sat Feb 07 19:40:21 2015] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Sat Feb 07 19:40:21 2015] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.9 mod_jk/1.2.40 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
# tailf /var/log/httpd/suexec_log
uid: (10001/terepaes) gid: (503/503) cmd: cgi_wrapper
# /usr/local/psa/admin/bin/php_handlers_control --list
id: display name: version: type: cgi-bin: cli-bin: php.ini:
module 5.3.3 5.3.3 module /usr/bin/php-cgi /etc/php.ini
fastcgi 5.3.3 5.3.3 fastcgi /usr/bin/php-cgi /etc/php.ini
cgi 5.3.3 5.3.3 cgi /usr/bin/php-cgi /etc/php.ini
fastcgi-5.5.20 5.5.20 5.5.20 fastcgi /php/php-5.5.20/bin/php-cgi /php/php-5.5.20/etc/php.ini
fastcgi-5.6.4 5.6.4 5.6.4 fastcgi /php/php-5.6.4/bin/php-cgi /php/php-5.6.4/etc/php.ini
# ls -la /etc/passwd
-rw-r--r--. 1 root root 4916 ene 13 18:59 /etc/passwd
Some idea ?