I'm attempting to install Magento, and using the magento-check.php I'm receiving the error message "You are missing the pdo_mysql extension". I read that the version of php I'm using (5.2.6) that all I need to do is remove the ";" in php ini. I've tried everything and I'm still getting the same error. Here is what my php.ini looks like:

;extension=php_bz2.dll
extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_msql.dll
;extension=php_mssql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
extension=php_pdo.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_oci8.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_pspell.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_soap.dll
;extension=php_sockets.dll
;extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
;extension=php_zip.dll

Please help, I've tried everything! Thanks!!

    Have you tried restarting the server?

      Yes, I restarr the server and reboot every time I change anything to do with php.ini

        Does the Apache error log or the system log (if running windows) or the php startup log say anything?

        if you do a phpinfo(); does it have pdo listed and mysql as an installed extension?

        Is PHP in your path?

          Error Log:
          PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_pdo_mysql.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
          However, I have the .dll loaded in php/ext.

          As for the phpinfo():
          PDO drivers sqlite
          PECL Module version 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.3 2007/12/31 07:20:10 sebastian Exp $
          SQLite Library 3.3.7undefined
          mysql.allow_persistent On On
          mysql.connect_timeout 60 60
          mysql.default_host no value no value
          mysql.default_password no value no value
          mysql.default_port no value no value
          mysql.default_socket no value no value
          mysql.default_user no value no value
          mysql.max_links Unlimited Unlimited
          mysql.max_persistent Unlimited Unlimited
          mysql.trace_mode Off Off

          And is PHP in which path? I use C:/PHP/ext

            I've never run into that error before. I'll dig around a little and see what I come up with at lunch today; although, the problem isn't the loading of the DLL so you can ignore my comment about the path; however, I was talking about the Windows Environment Variable PATH.

            I'll dig around on that error message, but you might find something useful if you google it.

              Write a Reply...