• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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