Re: Apache, PHP4, MySQL installation

From: Date: Fri, 05 Nov 2004 21:48:42 +0000
Subject: Re: Apache, PHP4, MySQL installation
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-24912@lists.php.net to get a copy of this message
Hello Walter, No errors, just not the results I want. I run the following script: <? echo "DB connection testing !"; $mySQL = @mysql_connect("localhost", "user", "password") or exit(); echo "DB selecting !"; if (!mysql_select_db("my")) exit(); echo "DB connection okay !"; ?> I only see the string DB connection testing. Regards, Jeroen "Phpwalter" <phpWalter@torres.ws> wrote in message news:3763.68.255.26.8.1099679069.squirrel@mail.braverock.com... >> Hello, >> >> I installed Apache 2.0.52 en PHP4.3.9 on a Windows XP SP2 machine. >> Everything runs fine. >> I also installed MySQL 4.1 and it also runs fine. >> >> However when I try to connect to a exisiting database from within a PHP >> script it fails. >> >> I followed several installation tutorials on the net but nu success >> sofar. > > #1 - what errors, if any are you getting > > #2 - what kind of display ar you getting? > > #3 - try this install dox > http://web.torres.ws/dev/php/walters_way > > Works every time. > > Walter

« previous php.windows (#24912) next »