Re: Apache, PHP4, MySQL installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> wrote in message 
news:3763.68.255.26.8.1099679069.squirrel@xxxxxxxxxxxxxxxxxxxxx
>> 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 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux