LMSouq
database Open

Undefined function mysql_connect()

US
user1765369
1 month ago
3 views
Problem Description
I have ran `aptitude install php5-mysql` (and restarted MySQL/Apache 2), but I am still getting this error: > Fatal error: Call to undefined function mysql_connect() in /home/validate.php on line 21 `phpinfo()` says the /etc/php5/apache2/conf.d/pdo_mysql.ini file has been parsed.

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base