fatal error: undefined method: mysql_connect()
Status: Beta
Brought to you by:
pabrachan
fatal error: Call to undefined function mysql_connect()
When connecting PHP5.0 with MySQL4.1., It is giving
the above error.
PHP5.0 is properly working with apache2 server.
mysql server also working .
It is happening while connecting PHP and MySql.
How to complie PHP with MySql?
Give the example for that.
How can we compile PHP with MySQL (Please give us
a syntax) and where?
Logged In: YES
user_id=962274
you will have to select mysql when you do ./configure
command in Linux assuming you are using Linux for your project.
here is the link on how to compile on Linux/Unix
http://www.php.net/manual/en/install.unix.php
Hope this helps