Fatal error: Call to undefined function mysql_connect()...
Posted: Wed Apr 22, 2009 7:46 am
Hello,
I'm new to PHP and MySQL. I've installed PHP 5.2.9-2, MySQL 5.1 on Windows Vista/IIS 7.0. I can run phpinfo() and use ionCube loader successfully.
php.ini is ok. extension_dir=C:\Program Files\PHP\ext and MySQL extension line is uncommented.
However, I cannot call function mysql_connect() it gives fatal error: Call to undefined function mysql_connect().
How can i solve the error. Thanks in advance.
Note: I don't know why but phpinfo() doesn't display any info about mysql.
I'm new to PHP and MySQL. I've installed PHP 5.2.9-2, MySQL 5.1 on Windows Vista/IIS 7.0. I can run phpinfo() and use ionCube loader successfully.
php.ini is ok. extension_dir=C:\Program Files\PHP\ext and MySQL extension line is uncommented.
However, I cannot call function mysql_connect() it gives fatal error: Call to undefined function mysql_connect().
How can i solve the error. Thanks in advance.
Note: I don't know why but phpinfo() doesn't display any info about mysql.