Where can I download the pdo_mysql extension of php? (Pecl said that this package is no longer maintained and replaced)

Source: Internet
Author: User
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.

  1. Where to download the latestpdo_mysqlExpansion (solved)

  2. I installed it on my computer.php-cliAndphp-fpmAre 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 ?)

  3. I can copypdo_mysql.soFile? 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.

  1. Where to download the latestpdo_mysqlExpansion (solved)

  2. I installed it on my computer.php-cliAndphp-fpmAre 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 ?)

  3. I can copypdo_mysql.soFile? 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.extContainspdo_mysqlDirectory.

/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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.