installing php and mysql on windows

Joined
Apr 16, 2004
Messages
35
Reaction score
0
hey all, i think this fits in this forum

Im running a windows system with IIS installed, i have also installed mysql and php but when i try to use mysql_connect in a php page it says no such function, i have had this working before, i seem to remember having to add some stuff to the buttom of the php.ini file but i cant remember what and cant seem to find any websites

does anyone know how to get this working
 
The new PHP versions have MySQL capabilities already built in, so it should work out of the box. Whats does phpinfo say when you try that?

<?php

phpinfo();

?>

It might be worth using an Apache bundle such as XAMPP, as it works out of the box:

http://www.apachefriends.org/en/xampp-windows.html
 
when i tried it phpinfo didnt mention anything about mysql

strange thing happend tho, i add/removed php then downloaded it and unzipped it to c:\php and everything seemt to work
 
Back
Top