MySQL Forums
Forum List  »  PHP

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

Options: ReplyQuote




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.