• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue How to activate mysqlnd on plesk 12.5,

PlatinumPanther

New Pleskian
Hello,

My client tries to install prestashop but gets the error: "The 'mysqlnd' extension was not found.. Cant find mysqlnd on server"

Can you please help me,the file really isn't there,were can i find it?
 
Out of curiosity: I have never before read this error message. Are you sure that the wording is correct? Is this really the exact phrase displayed in an error log or on screen?

mysqlnd is a drop-in replacement of the native MySQL php driver. Could it be possible that you are using PHP 7? In that case there is no MySQL driver, but only MySQLi.
 
hello,

The site uses PHP version: 5.6.20,
Sorry my bad the full error message was:

Error: Unable to install the app because its installation requirements are not met. Contact your hosting provider to resolve this problem.
php extension The 'mysqlnd' extension was not found.

It happend when the customer tried to install prestashop via applications plugin in plesk installer
Plesk version we use is 12.5,latest update

thank you
 
Was that PHP version installed using the Plesk autoinstaller or is it the result of an individual PHP installation that was added as an additional handler before PHP 5.6 became available through Plesk? I think it was the later, because in the default PHP package delivered by Plesk mysqlnd is included while this is not necessarily included when you compile PHP yourself or use an image that the provider or OS vendor supplied. It is possible, too, that on that system the database was upgraded outside Plesk and PHP drivers were adapted to the upgraded database or that you are using the OS vendor's PHP which accidentally happens to be PHP 5.6, too, but is missing some modules compared to the PHP that Plesk delivers. I don't know what exactly was done, but it has got to be something along this way.

Which way to choose to solve the issued depends on whether you want to manage PHP 5.6 version yourself or whether you want to use the Plesk delivered component. If you want to continue to use your current PHP you will need to recompile or add the mysqlnd module. How that is done depends on the operating system you are using. If you want to use the Plesk delivered PHP I suggest to deinstall the existing PHP 5.6 and use the autoinstaller to install the Plesk supplied PHP. That should include the proper mysqlnd module.
 
Hello, I have an equal case, please leave your comments, I am enclosing a pdf with additional information

Mcrypt was already installed, you pass the package query, so it indicates that the module is not installed prestashop

[root@xxxx ~]# rpm -qa | grep mcrypt
plesk-php53-mcrypt-5.3.29-centos7.15102117.x86_64
libmcrypt-2.5.8-13.el7.x86_64
plesk-php54-mcrypt-5.4.45-centos7.16032517.x86_64
plesk-php70-mcrypt-7.0.21-centos7.17070617.x86_64
plesk-php56-mcrypt-5.6.31-centos7.17070710.x86_64
plesk-php52-mcrypt-5.2.17-centos7.15100614.x86_64
plesk-php55-mcrypt-5.5.38-centos7.17031317.x86_64


As for mysql this was installed by hosting provider when delivering the server + plesk I would like to help us

[root@xxxx ~]# rpm -qa | grep mysqlnd
{no result}

[root@xxxx ~]# yum list installed | grep mysql
mysql-connector-odbc.x86_64 5.2.5-6.el7 @base
php-mysql.x86_64 5.4.16-42.el7 @base
plesk-mysql-connector-odbc.x86_64
plesk-mysql-server.x86_64 17.5.3-cos7.build1705170317.16 @PLESK_17_5_3-dist
plesk-php52-mysql.x86_64 5.2.17-centos7.15100614 @PHP_5_2_17-dist
plesk-php53-mysql.x86_64 5.3.29-centos7.15102117 @PHP_5_3_29-dist
plesk-php54-mysql.x86_64 5.4.45-centos7.16032517 @PHP_5_4_45-dist
plesk-php55-mysql.x86_64 5.5.38-centos7.17031317 @PLESK_17_PHP55
plesk-php56-mysql.x86_64 5.6.31-centos7.17070710 @PLESK_17_PHP56
plesk-php70-mysql.x86_64 7.0.21-centos7.17070617 @PLESK_17_PHP70

Help me please
 

Attachments

  • additional-data.pdf
    433.9 KB · Views: 4
Back
Top