Magento Forum

   
enabling pdo_mysql
 
Erick Emde
Jr. Member
 
Total Posts:  1
Joined:  2008-01-23
 

How do I enable the mysql driver for PDO?
PHP 5
PDO is enabled, along with the sqlite & sqlite2 drivers, but not mysql.
http://www.emdeconsulting.com/magento/info.php

I tried adding this to php.ini

extension=php_pdo.dll
extension=php_pdo_mysql.dll

but that didn’t fix it either.

TIA,
Erick

 
Magento Community Magento Community
Magento Community
Magento Community
 
jingjang
Jr. Member
 
Total Posts:  3
Joined:  2008-01-27
 

hey, i have enable those module like u, and it work fine

php module i’ve enable

;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

apache config
# Apache2 with PHP X25 5/06/07
# Include <path_to_file>/<config.file> de load
# LoadFile <path_to_file>/<file.dll> de load php5ts.dll, gds32.dll, ...
#------------------------------------------------------------

# PHP 5
#------------------------------------------------------------
LoadFile “/xuha/php5/php5ts.dll”
LoadModule php5_module “/xuha/php5/php5apache2.dll”
AddType application/x-httpd-php .php .php3
PHPIniDir “/xuha/php5”
LoadFile /xuha/php5/gds32.dll
LoadFile /xuha/php5/libmysql.dll

#php_mcrypt.dll
#LoadFile /xuha/php5/ext2/fdftk.dll
#LoadFile /xuha/php5/ext2/fribidi.dll
#LoadFile /xuha/php5/ext2/libeay32.dll
LoadFile /xuha/php5/ext2/libmcrypt.dll
LoadFile /xuha/php5/ext2/libmhash.dll
#LoadFile /xuha/php5/ext2/ssleay32.dll

hope can help u

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top