PDA

View Full Version : mysql not working


dmgeurts
6th November 2005, 23:08
Right I got my php and vhost thingy worked out then I find that info.php states that it hasn't got mysql while php4-mysql is installed and the site has it turned on in ispconfig. Any way I can troubleshoot this?

www.djerk.nl/info.php

'--without-mysql'

Should php.ini have mysql off globally? ";extension=mysql.so"

TIA

till
7th November 2005, 09:53
This should not be commented out:

";extension=mysql.so"

When you have the mysql php extension installed. Try to remove the comment (;" and restart your apache webserver.

dmgeurts
7th November 2005, 12:58
So unlike PHP which disabled by default and enabled per vhost, how is mysql denied per vhost then?

I did uncomment the line so I could install my site :o) just wondering if it's the way it should be...

falko
7th November 2005, 13:44
You have a check box in ISPConfig where you can enable/disable MySQL.