• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Can't install Piwik stats

Xencaye

New Pleskian
Hello, guys!

I'm having some troubles installing Piwik stats straight from the Applications page in Plesk. The error below pops up, happens to all domains. Any ideas? I'm a little lost.

Error: The following error has occurred during the installation of application: Installation of Piwik at **** failed. Non-zero exit status returned by script. Output stream: 'PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/db-util.php:66 Stack trace: #0 /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/app-util.php(39): mysql_db_connect('localhost:3306', 'piwik_2', '***', 'piwik_9') #1 /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/app-util.php(13): import_sql_scripts_to_databases(Array, Array, Array, Array, Array, Array, Array, Array) #2 /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/configure(100): configure(Array, Array, Array, Array, Array, Array, Array, Array, Array) #3 {main} thrown in /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/db-util.php on line 66 '. Error stream: 'PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/db-util.php:66 Stack trace: #0 /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/app-util.php(39): mysql_db_connect('localhost:3306', 'piwik_2', '***', 'piwik_9') #1 /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/app-util.php(13): import_sql_scripts_to_databases(Array, Array, Array, Array, Array, Array, Array, Array) #2 /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/configure(100): configure(Array, Array, Array, Array, Array, Array, Array, Array, Array) #3 {main} thrown in /usr/local/psa/var/apspackages/apscatalogTpVJ8L.zip9101b01b-036e-ed/cache/scripts/db-util.php on line 66 '.

Thanks in advance.
 
Thanks for the input! When I run the command I get the following:

plesk-mysql-server-12.5.30-cos7.build1205150826.19.x86_64
plesk-php56-mysql-5.6.20-centos7.16040512.x86_64
php-mysql-5.4.16-36.el7_1.x86_64
plesk-php70-mysql-7.0.5-centos7.16040516.x86_64
plesk-mysql-connector-odbc-5.2.7-centos7.15072015.x86_64

According to the Piwik requirements, I need MySQL 4.1 or higher, which seems to be so in my case.

I haven't had issues with installing latest WordPress and whatnot, if that matters.
 
Back
Top