Friday, October 23, 2009

Call to undefined function: mysql_connect()

Solutions:

Solution 1)   Remove php5-mysql with “apt-get remove php5-mysql”  and install it again or

Solution 2)   Check your php.ini file to ensure it’s including the mysql.so library (extension=mysql.so)  or

Solution 3)   Type “dpkg-reconfigure php5-mysql” (For ubuntu and debian users)

No comments:

sanjay's shared items

My Blog List