Install php.5.3 in the Linux CentOS environment
./configure--prefix=/usr/local/php/--with-config-file-path=/usr/local/php/etc/--enable-soap--enable-fpm-- enable-mbstring \
--with-curl--with-mysql-with-mysqli--WITH-GD--with-jpeg-dir
Error:
Configure:error:Cannot Find Libmysqlclient under/usr.
Note that the MySQL client library isn't bundled anymore!
A little confused, With-mysql module is supported MySQL bar? Do I have to install MySQL on the machine? Because the machine is connected to the MSYQL on other machines, I just need to install the support MySQL connection. Is there any other way?
These are required to find additional information: Mysql-server mysql-client Libmysqlclient-dev
Reply content:
Install php.5.3 in the Linux CentOS environment
./configure--prefix=/usr/local/php/--with-config-file-path=/usr/local/php/etc/--enable-soap--enable-fpm-- enable-mbstring \
--with-curl--with-mysql-with-mysqli--WITH-GD--with-jpeg-dir
Error:
Configure:error:Cannot Find Libmysqlclient under/usr.
Note that the MySQL client library isn't bundled anymore!
A little confused, With-mysql module is supported MySQL bar? Do I have to install MySQL on the machine? Because the machine is connected to the MSYQL on other machines, I just need to install the support MySQL connection. Is there any other way?
These are required to find additional information: Mysql-server mysql-client Libmysqlclient-dev
You need to install Libmysqlclient-dev. This is the development file for the MySQL client library (header file, pkg-config configuration, etc.). It will depend on Libmysqlclient, which is the MySQL client library that is used to connect to the MySQL server.
To connect a MySQL server (even on a remote system) from a system, you still need to have the MySQL client library so your program knows how to speak the language (MySQL network protocol) used by MySQL. Of course, some libraries do not use the official MySQL client library, but do it themselves, so that there is no need for the official MySQL client library (such as Pymysql).
If you are prompted, install libmysqlclient.
It should be as long as there is mysql-libs. But there's a lot of names for this bag, like mysql-community-libs.