Rudi Servo
New Pleskian
I get 500 error on webmail, installing horde gives a hole lot of issues.
this system is an upgrade from 14.04 to 16.04 and if failed to recognize the system php handler right from the start.
I followed this
Webmail shows 500 Internal Server Error: can not find appropriate version of php
and this
Resolved - Webmail (horde or roundcube) shows error 500
and I still cant get it working...
bellow are some outputs if you can give me a fix I do appreciate it.
this system is an upgrade from 14.04 to 16.04 and if failed to recognize the system php handler right from the start.
I followed this
Webmail shows 500 Internal Server Error: can not find appropriate version of php
and this
Resolved - Webmail (horde or roundcube) shows error 500
and I still cant get it working...
bellow are some outputs if you can give me a fix I do appreciate it.
Code:
root@w1:~# /usr/local/psa/admin/bin/php_handlers_control --list
id: display name: version: type: cgi-bin: cli-bin: php.ini: system: service: pool.d:
fpm 7.0 7.1.4 fastcgi /usr/bin/php-cgi /usr/bin/php-cgi /etc/php/7.0/fpm/php.ini
plesk-php70-fpm 7.0.18 7.0.18 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-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 *
plesk-php55-fastcgi 5.5.38 5.5.38 fastcgi /opt/plesk/php/5.5/bin/php-cgi /opt/plesk/php/5.5/bin/php /opt/plesk/php/5.5/etc/php.ini *
plesk-php70-fastcgi 7.0.18 7.0.18 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-php55-cgi 5.5.38 5.5.38 cgi /opt/plesk/php/5.5/bin/php-cgi /opt/plesk/php/5.5/bin/php /opt/plesk/php/5.5/etc/php.ini *
plesk-php70-cgi 7.0.18 7.0.18 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-fpm 7.1.4 7.1.4 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-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-fastcgi 7.1.4 7.1.4 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-php71-cgi 7.1.4 7.1.4 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-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 *
plesk-php55-fpm 5.5.38 5.5.38 fpm /opt/plesk/php/5.5/sbin/php-fpm /opt/plesk/php/5.5/bin/php /opt/plesk/php/5.5/etc/php.ini * plesk-php55-fpm /opt/plesk/php/5.5/etc/php-fpm.d
root@w1:~#
Code:
root@w1:~# plesk db "select section,name from ServiceNodeEnvironment where section='phphandlers';"
+-------------+------------------------------------------+
| section | name |
+-------------+------------------------------------------+
| phphandlers | baa4eaf642a2e6c9fb37e875ce514cec9f7b6569 |
| phphandlers | fpm |
| phphandlers | plesk-php55-cgi |
| phphandlers | plesk-php55-fastcgi |
| phphandlers | plesk-php55-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 |
+-------------+------------------------------------------+
Code:
root@w1:~# /usr/local/psa/admin/bin/php_handlers_control --reread
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-cgi.conf: Handler with id = `cgi' already exists
Error adding handler from /etc/psa/php_versions.d/php-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
Error adding handler from /etc/psa/php_versions.d/php-module.conf: Handler with id = `module' already exists
[Warning] removing handler `' (cgi) as corresponding /usr/bin/php5-cgi doesn't exist
[Warning] removing handler `' (module) as corresponding /usr/bin/php5-cgi doesn't exist
[Warning] removing handler `' (fastcgi) as corresponding /usr/bin/php5-cgi doesn't exist