Call to undefined function mysql_connect()
Posted by:
Manny Sata
Date: February 22, 2007 12:24AM
Hi all,
I keep getting an error when try and run PHP with mySql. I followed all of the stuff that I read in posts like adding extension_mysql.dll to php.ini.
I ran phpinfo() and I noticed that the extension_dir in the PHP Core box in the output shows as C:\php5 when my PHP is actually in C:\php so there is no 5 on the folder. If I rename the folder my Apache stops working. I am wondering if that is the error and if so how do I fix it. Where do I find the information that is stored in the phpinfo() file so I can change it to c:php. I've added C:\php in the Path directive by going to the control panel then system etc.
I have been going nuts the past couple of days trying to figure why I can not get the mysql part to work with php.
thanks,
manny
Subject
Written By
Posted
Call to undefined function mysql_connect()
February 22, 2007 12:24AM
February 22, 2007 02:12AM
February 24, 2007 03:52AM
February 24, 2007 04:35AM
February 28, 2007 02:41PM
February 28, 2007 10:10AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.