• 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.

Resolved Sitepad need Mysql

scoccia

New Pleskian
Hi, when I try to install Sitepad from extension write me that I don't have Mysql (impossibile)

1641816543683.png

OS Ubuntu 20.04.3 LTS
Plesk Obsidian Version 18.0.40

How can fix it?
Tnx
 
The error message tells you the mysqli (notice the letter i on the end) extension for PHP hasn't been loaded. Thats not the same as MYSQL itself.

In Plesk go to Tools & Settings > PHP Settings and click on the PHP version you're using and make sure the mysqli extension is checked and it save. Repeat for other PHP versions if needed.
 
hi, thank you for the reply
Mysqli is enable for all version
1641832068477.png
but if I try from root php -m is not enabled... is possibile that Plesk use different php.ini?
 
mysqli PHP module is loaded for all Plesk PHP handlers. Look at this:

Code:
root@distracted-rosalind:~# /opt/plesk/php/7.3/bin/php -m | grep mysqli
mysqli
root@distracted-rosalind:~# /opt/plesk/php/7.4/bin/php -m | grep mysqli
mysqli
root@distracted-rosalind:~# /opt/plesk/php/8.0/bin/php -m | grep mysqli
mysqli

This may not be loaded for PHP from the OS vendor (like you check it with 'php -m' in the command line).
In this case, make sure that php-mysql package from the OS vendor is installed on your server and install it for Ubuntu/Debian:

# apt install php-mysql

Or for CentOS:

# yum install php-mysql

After that you should see:

# php -m | grep mysqli
mysqli
 
Back
Top