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
 

Ian

Administrator
Joined
Feb 23, 2002
Messages
19,873
Reaction score
1,499
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
 
Joined
Apr 16, 2004
Messages
35
Reaction score
0
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top