I am having a problem with mysql_connect function.
I am using the following version of software for my web server and databse-

php-4.1.2.-7
mysql-3.23.49-3
apache-1.3.23-11

Apache, mysql & php all are running in the same machine.
I am trying to connect to mysql database using "mysql_connect" function in my mysql.php file. But when I am browsing the page I am getting the error message: "Fatal error: Call to undefined function: mysql_connect() in /net/web/tg/php/mysql.php on line 41 " . I have already created a user and set a password for the database I am establishing connection.
Please help me to fix the problem.

    1.create file:
    lalala.php
    2. insert in lalala.php <? phpinfo() ?>
    3. serch line SUPPORT MYSQL
    3. if !(SUPPORT MYSQL)
    cd /src/php-4.1.2.-7/
    ./configure lalala -with-mysql && make && make install

      Write a Reply...