Answer the question
In order to leave comments, you need to log in
How to install mysql driver for php5.4 in isp manager?
Hello!
A little introductory:
Debian 10 server, isp manager installed
There are several versions of php php7.4 as the main one, php7.2 and php5.4 for two very old projects on Bitrix (which cannot be updated)
The server is new, I just configured and migrate projects to it . Migration Occurs from a similar server, there is Debian 9 and isp.
The problem is that there is no mysql in the list of extensions for php5.4.
I tried to take the mysql.so file from /opt/php54/lib/modules of the old server and put it in the same directory on the new one (by creating mysql.ini in php.d)
But when I restart php-fpm54, the mysql driver does not work and
service php-fpm54 status
gives
[29-Mar-2020 00:22:14] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/opt/php54/lib/php/modules/mysql.so' - libmysqlclient.so.18 :
Maybe someone faced a similar problem or knows how to solve it, I really count on you!
Answer the question
In order to leave comments, you need to log in
I solved the problem, not in the way I would like: I
took everything to hell, installed debian9 and there is mysql in the list of extensions for php5.4 I'll have
to stay on nine
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question