Php Not Working With Mysql
Posted 29 June 2006 - 06:14 PM
Posted 30 June 2006 - 03:33 PM
can you access mysql through console?
I don't think you need to move the dll's, but you do need to uncomment them in you php.ini file. I have a similiar setup and when I had a hard time getting both mysql.dll and mysqli.dll to function properly together so I use the mysqli exclusively now.
Posted 03 July 2006 - 02:17 PM
Currently I am trying to run a simple script just to test out the connection, but PHP will not execute anything. Earlier I was getting the fatal error message saying the the mysql_connect() was an unidentified function(now I just get a blank browser screen).
I had (and still have) my php.ini file extension_dir="c:\php\ext" AND extension=php_mysql.dll (with no semicolon ';' in front). When I run my phpinfo() script, it says no information about mysql. Also, when I take the semicolon away from other extensions, the phpinfo shows the requisite info for that extension. WHAT IS GOING ON HERE!?!??!
In my test script, I put echo statements before and after the mysql_connect() function and the browser doesn't show either of these echos.
Can someone please give a little help.....
P.S. I am using apache and everything else that I do with PHP works fine, I don't know if that is relevant....
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users