Hi,
i've been trying to setup a mysql 5.0 server under apache 2, but it seems not to be working.
The problem is: nothing shows up when i'm trying to get data out of my "demo" database.
No errors appear, there's just nothing showing up.
Any ideas?
do i have to change somethin to the httpd.conf from apache, or don't i?
i've noticed on other servers, when running the 'phpinfo()' function, that it said: --with-mysql=usr/
that doesn't appear with me.
Thanx in advance,
Bomas
Trying to set up a mysql db on apache 2
Moderator: General Moderators
edit your php.ini to display error messages and set error reporting to E_ALL, and then make sure you are checking for mysql errors
Code: Select all
mysql_connect('localhost', 'root', '') or die("cound not connect :".mysql_error());