PECL indicates that it has been deprecated and switched to the following URL. However, an error is reported when this URL is opened (not found on github) Thispackageisnotmaintainedanymoreandhasbeensuperseded. packagehasmovedtochannelsvn. php. netvi... PECL indicates that it has been deprecated and switched to the following URL. However, an error is reported when this URL is opened (not found on github)
This package is not maintained anymore and has been superseded. Package has moved to channel http://svn.php.net/viewvc/php... package ext/pdo_mysql.
The following describes how to use pdo_mysql extension instead of using this function? (I am php7 installed on ubuntu apt)
Do not use this, as PDO has been moved into core (the php source) so this pecl extension is dead.
This old extension provided a MySQL driver for PDO.
Where to download the latestpdo_mysql
Expansion (solved)
I installed it on my computer.php-cli
Andphp-fpm
Are they two common extensions? (For example, if I want to install the pdo_mysql extension, do I need to install each extension once? How can I specify the installed php version during compilation ?)
I can copypdo_mysql.so
File? Or is it valid only after compilation and installation on the current computer?
I have already installed php, but I have installed it through apt. Can I ask if php installed with apt cannot compile and install extensions? Who will answer two more questions?
Reply content:
PECL indicates that it has been deprecated and switched to the following URL. However, an error is reported when this URL is opened (not found on github)
This package is not maintained anymore and has been superseded. Package has moved to channel http://svn.php.net/viewvc/php... package ext/pdo_mysql.
The following describes how to use pdo_mysql extension instead of using this function? (I am php7 installed on ubuntu apt)
Do not use this, as PDO has been moved into core (the php source) so this pecl extension is dead.
This old extension provided a MySQL driver for PDO.
Where to download the latestpdo_mysql
Expansion (solved)
I installed it on my computer.php-cli
Andphp-fpm
Are they two common extensions? (For example, if I want to install the pdo_mysql extension, do I need to install each extension once? How can I specify the installed php version during compilation ?)
I can copypdo_mysql.so
File? Or is it valid only after compilation and installation on the current computer?
I have already installed php, but I have installed it through apt. Can I ask if php installed with apt cannot compile and install extensions? Who will answer two more questions?
Sudo dnf install php-pdo
I don't understand what you want to ask the second question, but php-fpm php-cli is two different extension packages. If apt is installed, you need to install them separately.
The third problem is that the operating system of the same version is acceptable. for example, if you clone a virtual machine, you can directly copy it.
Compile and install the SDK in the source code directory.ext
Containspdo_mysql
Directory.
/usr/local/php7/bin/phpize./configure --with-php-config=/usr/local/php7/bin/php-config --with-pdo-mysql=mysqlndmake && make install
For more information about apt installation, see @ machenchi0207.