I just installed PHP and Apache on my home PC. When I try to call function mysql_connect
I get:
fatal error: call to undefined function mysql_connect.
I have loaded php.ini where I have uncommented lines extension=php_mysql.dll
and
extension=php_mysqli.dll
and changed extension directory to extension_dir = "C:phpext"
- which is the directory where files php_mysql.dll and php_mysqli.dll are. How can I fix this problem?
Output of phpinfo(): http://jsfiddle.net/MMTwA/
See Question&Answers more detail:os