Symptom : Linux installation discuz error tip: mysql_connect () not supported please check that the MySQL module is loading correctly. Workaround: View/usr/lib/php/modules/(64-bit look/usr/lib64/php/modules/There 's no mysql.so in there. Locate the centos5.4 installation disk, insert the CD drive, and then locate the PHP in the CentOS directory-mysql-5.1.6- -. el5.i386.rpmphp-pdo-5.1.6- -. el5.i386.rpm two files and then upload them to the server via FTP. Perform installation: RPM-I. php-mysql-5.1.6- -. el5.i386.rpm--NODEPSPM-I. php-pdo-5.1.6- -. el5.i386.rpm--Nodeps re-view so file: LS/usr/lib/php/modules/dbase.so ldap.so mysqli.so mysql.so pdo_mysql.so pdo.so pdo_sqlite.so phpcups.somysql.so exist. Then configure VI/etc/php.ini found extension=.msql.so, then remove the front semicolon below it and add the following: extension=mysql.soextension=mysqli.soextension=pdo_mysql.so Save, restart httpd/etc/init.d/httpd Restart Refresh the Web page, MySQL has been able to connect.
From: http://blog.csdn.net/zs75622126/article/details/6958058
Mysql_connect () Do not support please check if MySQL module is loaded correctly