Hey I'm using IIS on W2K3 SP1, php 5.1.6 and mysql 5.0.24a. -----Original Message----- From: "Alejandro Tesone" <atesone@xxxxxxxxx> Sent: Tue, October 3, 2006 12:25 To: brian.kejser@xxxxxxxxxxxx Subject: Re: Php 5 and Mysql on Windows Which server you will use? Apache or Microsoft? On 10/3/06, brian.kejser@xxxxxxxxxxxx <brian.kejser@xxxxxxxxxxxx> wrote: > > Hi > > I setup Php as follows: > > 1. Download the php zip file (not the installer) > 2. Unzip the files to c:\Php > 3. Add c:\php to the path > 4. Copy php.ini-dist to php.ini > 5. Add and enable the web extension php5isapi.dll > 6. Add the .php extension mapping to php5isapi.dll at the the web sites > folder > 7. Grant everyone read access to c:\php > 8. Enable the mysql extension in php.ini > 9. Set the extension_dir in php.ini to ./ext > 10. Reboot > > I setup Mysql as follows: > > 1. Download the 5.x installer > 2. Run the installer > 3. Run the configuration tool ater the installer > > When I run the following script, the error "Fatal error: Call to > undefined function mysql_connect() in Test.php on line 3" is returned. > > <?php > > $conn = mysql_connect('localhost', 'root', 'password') > > ?> > > Any help would be appreciated. > > Thanks > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php