简体   繁体   中英

While installing Magento I'm getting the error PHP Extensions pdo_mysql must be loaded

After I've done on local I installed magento 1.9 on server. As I uploaded all the files on server and tried to install magento, It gave me error-

 PHP Extensions "pdo_mysql" must be loaded.

someone please tell me what should I do?

Thanks

This is very easy ;)

On a windows server you can add the following lines in your php.ini

extension=php_pdo.dll
extension=php_pdo_mysql.dll

On a Linux server you can compile php with the following option --with-pdo-mysql In your php.ini, add the following lines

extension=pdo.so
extension=pdo_mysql.so

More information: https://forum.piwik.org/t/you-need-to-enable-the-pdo-and-pdo-mysql-extensions-in-your-php-ini-file/261

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM