cannot connect to mysql using php on this xp/home machine

Problems with the Windows version of XAMPP, questions, comments, and anything related.

cannot connect to mysql using php on this xp/home machine

Postby redstar8 » 15. September 2005 05:45

Hi,

I'm getting Fatal error: Call to undefined function: mysql_connect() when I try to connect in a php script ?

- I'm running XAMPP 1.4.15 on xp/home
- I can stop start / start apache / mysql from the XAMPP control panel
- I can read the database using navicat
- I can bring up other web pages


Do I need to do something else too ?

thanks - XAMPP is a great service !
redstar8
 
Posts: 8
Joined: 15. September 2005 05:35

Postby redstar8 » 16. September 2005 05:07

Hi,

- I had to make sure the only php.ini was in C:\xampp\apache\bin\php.ini dir ( and in other xampp dirs that are just used to still support php4 )

(I delete an old php.ini in c:/windows)

so I guess I don't have any excuse for not getting anything done now!
redstar8
 
Posts: 8
Joined: 15. September 2005 05:35


Return to XAMPP for Windows

Who is online

Users browsing this forum: christaliise and 39 guests