Applicable to:
- Plesk for Linux
Symptoms
-
PHP handler is marked as corrupted in Plesk > Tools & Settings > PHP Settings:
PLESK_ERROR: This handler is corrupted
-
PHP handler is marked as
broken
while listing handlers via CLI:# /usr/local/psa/bin/php_handler --list
id: display name: php-cli: status:
7.0-latest 7.0.latest /opt/atomic/atomic-php70/root/usr/bin/php broken -
Attempt to remove this handler fails:
# /usr/local/psa/bin/php_handler --remove -id 7.0-latest
The PHP handler "7.0-latest" is not found -
Plesk database contains a record for the handler:
# plesk db "select section,name from ServiceNodeEnvironment where name='7.0-latest'"
+-------------+---------------------+
| section | name |
+-------------+---------------------+
| phphandlers | 7.0-latest |
+-------------+---------------------+
Cause
PHP 7.0 handler provided by Atomic is not installed on the server and database contains outdated information about that handler.
Resolution
Connect to the server via SSH and reread handlers information using the following command:
# /usr/local/psa/admin/bin/php_handlers_control --reread
Comments
1 comment
since 18.0.32 reread doesn't help anymore. and also not plesk repair web -php-handlers
Please sign in to leave a comment.