How to enable mysqli extension on redhat?
Posted
by
nuthan
on Server Fault
See other posts from Server Fault
or by nuthan
Published on 2012-02-03T11:43:16Z
Indexed on
2012/10/20
5:06 UTC
Read the original article
Hit count: 534
My php.ini says:
Additional .ini files parsed
/etc/php53/php.d/curl.ini,
/etc/php53/php.d/fileinfo.ini, /etc/php53/php.d/json.ini, /etc/php53/php.d/mysqli.ini,
/etc/php53/php.d/mysql.ini, /etc/php53/php.d/pdo_mysql.ini, /etc/php53/php.d/phar.ini,
/etc/php53/php.d/zip.ini
mysqli.ini is loaded.. But still i get this,
PHP Fatal error: Class 'mysqli' not found
- i tried enabling dynamic loading and initialize php scripts with dl("mysqli.so");
i also tried recompiling the php source:
./configure --with-mysql=/usr/lib64/mysql --with- mysqli=/usr/lib64/mysql/mysql_config
even this didn't work. Can anybody help me solve my problem?
- Red Hat Enterprise Linux Server release 5 (Tikanga).
- x86_64 GNU/Linux.
- No access to RHN.
Thanks.
© Server Fault or respective owner