NetVicious
New Pleskian
Hi!
I started with the server on Ubuntu 14.04 LTS with Plesk 11. I upgraded Plesk to 12 and later to Onyx.
After the Plesk upgrades I upgraded the Ubuntu to 16.04 LTS.
All works perfectly but I'm stuck with the webmail.
I tried with Horde and RoundCube, I read a lot of Plesk KB issues but I don't find the solution.
The problem seems to be related with PHP handlers, but as you can see I can't create a new handler.
I have installed the ubuntu PHP 7.0 and the additional php plesk packages 5.6, 7.0 and 7.1
==> apache2/error.log <==
[Fri Feb 10 12:31:25.733873 2017] [fcgid:warn] [pid 29347:tid 140159907505920] (104)Connection reset by peer: [client X.X.X.X:58792] mod_fcgid: error reading data from FastCGI server
[Fri Feb 10 12:31:25.733969 2017] [core:error] [pid 29347:tid 140159907505920] [client X.X.X.X:58792] End of script output before headers: index.php
X:~# /usr/local/psa/admin/sbin/php_handlers_control --list
X:~# plesk db "select section,name from ServiceNodeEnvironment where section='phphandlers';"
X:~# /usr/local/psa/admin/sbin/php_handlers_control --reread
Error adding handler from /etc/psa/php_versions.d/php-cgi.conf: Handler with id = `cgi' already exists
Error adding handler from /etc/psa/php_versions.d/php-module.conf: Handler with id = `module' already exists
Error adding handler from /etc/psa/php_versions.d/php5-fpm.conf: Handler with id = `fpm' already exists
Error adding handler from /etc/psa/php_versions.d/php-fastcgi.conf: Handler with id = `fastcgi' already exists
[Warning] removing handler `' (module) as corresponding /usr/bin/php5-cgi doesn't exist
[Warning] removing handler `' (cgi) as corresponding /usr/bin/php5-cgi doesn't exist
[Warning] removing handler `' (fastcgi) as corresponding /usr/bin/php5-cgi doesn't exist
X:~# /usr/local/psa/bin/php_handler --add -displayname 7.0.13 -path /usr/bin/php-cgi -phpini /etc/php/7.0/cli/php.ini -clipath /usr/bin/php -type fastcgi -id fastcgi
The PHP handler "fastcgi" is not found.
I started with the server on Ubuntu 14.04 LTS with Plesk 11. I upgraded Plesk to 12 and later to Onyx.
After the Plesk upgrades I upgraded the Ubuntu to 16.04 LTS.
All works perfectly but I'm stuck with the webmail.
I tried with Horde and RoundCube, I read a lot of Plesk KB issues but I don't find the solution.
The problem seems to be related with PHP handlers, but as you can see I can't create a new handler.
I have installed the ubuntu PHP 7.0 and the additional php plesk packages 5.6, 7.0 and 7.1
==> apache2/error.log <==
[Fri Feb 10 12:31:25.733873 2017] [fcgid:warn] [pid 29347:tid 140159907505920] (104)Connection reset by peer: [client X.X.X.X:58792] mod_fcgid: error reading data from FastCGI server
[Fri Feb 10 12:31:25.733969 2017] [core:error] [pid 29347:tid 140159907505920] [client X.X.X.X:58792] End of script output before headers: index.php
X:~# /usr/local/psa/admin/sbin/php_handlers_control --list
Code:
id: display name: version: type: cgi-bin: cli-bin: php.ini: system: service: pool.d:
plesk-php70-fpm 7.0.15 7.0.15 fpm /opt/plesk/php/7.0/sbin/php-fpm /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/etc/php.ini * plesk-php70-fpm /opt/plesk/php/7.0/etc/php-fpm.d
plesk-php56-cgi 5.6.30 5.6.30 cgi /opt/plesk/php/5.6/bin/php-cgi /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini *
fpm 7.0.13 7.0.13 fpm /usr/sbin/php-fpm7.0 /usr/bin/php /etc/php/7.0/fpm/php.ini * php7.0-fpm /etc/php/7.0/fpm/pool.d/
plesk-php71-fastcgi 7.1.1 7.1.1 fastcgi /opt/plesk/php/7.1/bin/php-cgi /opt/plesk/php/7.1/bin/php /opt/plesk/php/7.1/etc/php.ini *
plesk-php70-cgi 7.0.15 7.0.15 cgi /opt/plesk/php/7.0/bin/php-cgi /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/etc/php.ini *
plesk-php71-cgi 7.1.1 7.1.1 cgi /opt/plesk/php/7.1/bin/php-cgi /opt/plesk/php/7.1/bin/php /opt/plesk/php/7.1/etc/php.ini *
plesk-php56-fpm 5.6.30 5.6.30 fpm /opt/plesk/php/5.6/sbin/php-fpm /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini * plesk-php56-fpm /opt/plesk/php/5.6/etc/php-fpm.d
plesk-php71-fpm 7.1.1 7.1.1 fpm /opt/plesk/php/7.1/sbin/php-fpm /opt/plesk/php/7.1/bin/php /opt/plesk/php/7.1/etc/php.ini * plesk-php71-fpm /opt/plesk/php/7.1/etc/php-fpm.d
plesk-php70-fastcgi 7.0.15 7.0.15 fastcgi /opt/plesk/php/7.0/bin/php-cgi /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/etc/php.ini *
plesk-php56-fastcgi 5.6.30 5.6.30 fastcgi /opt/plesk/php/5.6/bin/php-cgi /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini *
X:~# plesk db "select section,name from ServiceNodeEnvironment where section='phphandlers';"
Code:
+-------------+---------------------+
| section | name |
+-------------+---------------------+
| phphandlers | fpm |
| phphandlers | plesk-php56-cgi |
| phphandlers | plesk-php56-fastcgi |
| phphandlers | plesk-php56-fpm |
| phphandlers | plesk-php70-cgi |
| phphandlers | plesk-php70-fastcgi |
| phphandlers | plesk-php70-fpm |
| phphandlers | plesk-php71-cgi |
| phphandlers | plesk-php71-fastcgi |
| phphandlers | plesk-php71-fpm |
| phphandlers | synced |
+-------------+---------------------+
X:~# /usr/local/psa/admin/sbin/php_handlers_control --reread
Error adding handler from /etc/psa/php_versions.d/php-cgi.conf: Handler with id = `cgi' already exists
Error adding handler from /etc/psa/php_versions.d/php-module.conf: Handler with id = `module' already exists
Error adding handler from /etc/psa/php_versions.d/php5-fpm.conf: Handler with id = `fpm' already exists
Error adding handler from /etc/psa/php_versions.d/php-fastcgi.conf: Handler with id = `fastcgi' already exists
[Warning] removing handler `' (module) as corresponding /usr/bin/php5-cgi doesn't exist
[Warning] removing handler `' (cgi) as corresponding /usr/bin/php5-cgi doesn't exist
[Warning] removing handler `' (fastcgi) as corresponding /usr/bin/php5-cgi doesn't exist
X:~# /usr/local/psa/bin/php_handler --add -displayname 7.0.13 -path /usr/bin/php-cgi -phpini /etc/php/7.0/cli/php.ini -clipath /usr/bin/php -type fastcgi -id fastcgi
The PHP handler "fastcgi" is not found.
Last edited: