How to Verify a PHP Extension on the Actual Plesk Runtime
An extension visible in a shell can be missing for a particular domain. Plesk can run different PHP versions and handlers for websites, scheduled tasks and the default shell.
Procedure
- Find the active web runtime. Open the target domain’s PHP Settings. Record the PHP version and handler and check the specific hostname and document root affected by the error.
- Confirm the requested capability. Check supported PHP information in the panel or a private diagnostic endpoint. Record the extension name and loaded state. Remove any temporary diagnostic after use because full PHP information can reveal sensitive configuration.
- Check runtime requirements. Compare the supported version and enabled extensions for the application and any workers. Ask the host for the supported installation path if your role cannot change packages.
- Retest the workflow. Repeat the smallest request that previously failed and review its new log entry. Verify any related command-line process using its configured interpreter as a separate test.
Related guides
- How to Compare PHP Settings for Web and CLI Runs
- How to Identify the PHP Handler Serving a Plesk Website
- Plesk articles
Official references
Ferkesh Hosting. Last reviewed .
Ця стаття була корисною?
Спасибі за відгук!