- Plesk for Linux
PHP script runs successfully when PHP 5.x is used in cronjob or under Plesk > Domains > example.com > Scheduled Tasks.
After changing PHP handler to PHP 7.x the cronjob or Scheduled Task does not run with error below:
CONFIG_TEXT: PHP Fatal error: No mysql extension for PHP loaded
mysql extension is removed in PHP 7.x, but
script.php uses this extension.
script.phpto use the extension
mysqliwhich is supported by PHP 7.x. Contact the developer of the script if necessary.
- Continue using PHP 5 and set PHP handler PHP 5.x according to the article How to change PHP settings/version for a domain in Plesk?