- Plesk Onyx for Linux
- Unable to install Piwik application via Domains > example.com > Applications, the following error occurs:
PLESK_ERROR: Error: The following error has occurred during the installation of application:
Installation of Piwik at http://example.com/ failed. Non-zero exit status returned by script. Output stream: 'PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /opt/psa/var/apspackages/apscatalogokRJYJ.zipfab076a2-b062-b1/cache/scripts/db-util.php:66
- The version of PHP is set to 7.x or higher.
The version of Piwik that is available in APS catalog in Plesk does not support PHP 7.0.
In case it is required to use Piwik from APS Catalog, switch PHP version of the website to 5.x. at Subscriptions > example.com > PHP Settings.
To use newer Piwik, see the following guide:
How to install Piwik on Plesk?