Home >Backend Development >PHP Tutorial >Where can I download the pdo_mysql extension for php? (pecl says that this package is no longer maintained and has been replaced)

Where can I download the pdo_mysql extension for php? (pecl says that this package is no longer maintained and has been replaced)

WBOY
WBOYOriginal
2016-10-24 00:00:01892browse

It is shown on PECL that it has been deprecated. Go to the following URL, but an error is reported when opening this URL (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 description below says not to use this, then Where can I download the pdo_mysql extension? (I installed php7 with 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.

  1. Where to download the latest pdo_mysql extension (solved)

  2. I have php-cli and php-fpm installed on my computer. Do they share the same extension? (For example, if I want to install the pdo_mysql extension, do I need to install each one once? If so, how can I specify the installed php version when compiling?)

  3. Can I copy a pdo_mysql.so file directly from another computer? Or does it have to be compiled and installed on the current computer to be effective?

It has been installed now, but I installed it through apt. I would like to ask if the php installed by apt cannot be compiled and installed as an extension? Who can answer questions 2 and 3?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn