![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm using WinXP Pro, with Apache 1.3? and PHP5. Then today I installed mySQL 2.0.49. Technically it works. I can use the command line to create tables and insert data, I can use WinmySQLAdmin to view processes, etc. But when I make a test script in PHP, nothing happens. For example: $dbh = mysql_connect("localhost", "username", "password") or die("I cannot connect to the database because: " . mysql_error()); Nothing happens. I don't even get the error message. So changing "localhost" to the PC name and the IP address of course didn't work, because PHP isn't seeming to be talking to mySQL. I opened up my php.ini and uncommented the one and only line with mysql.dll in it. Is there something in Apache's httpd.conf, that might need to be changed? I couldn't find any commented out mysql lines. Thanks for any help! Liam |
![]() |
| Thread Tools | |
| Display Modes | |
| |