Problems connecting to MySQL from a vhost

From: Date: Wed, 20 Feb 2002 13:28:54 +0000
Subject: Problems connecting to MySQL from a vhost
Groups: php.db php.windows 
Request: Send a blank email to php-db+get-17127@lists.php.net to get a copy of this message
I'm developing php from a win2k box and recently added vhosts to the httpd.conf file, as shown below #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NameVirtualHost * <VirtualHost *> ServerAdmin webmaster@localhost DocumentRoot "D:/Internet/crestar/web/" ServerName localhost ErrorLog logs/crestar-error_log CustomLog logs/localhost-access_log common </VirtualHost> <VirtualHost *> ServerAdmin webmaster@crestar DocumentRoot "D:/Internet/crestar/web/" ServerName crestar ErrorLog logs/crestar-error_log CustomLog logs/crestar-access_log common </VirtualHost> <VirtualHost *> ServerAdmin webmaster@dev DocumentRoot "D:/Internet/Dev/Web" ServerName dev ErrorLog logs/dev-error_log CustomLog logs/dev-access_log common </VirtualHost> <VirtualHost *> ServerAdmin webmaster@agent DocumentRoot "D:/Internet/Agent/Web" ServerName agent ErrorLog logs/agent-error_log CustomLog logs/agent-access_log common </VirtualHost> <VirtualHost *> ServerAdmin webmaster@new DocumentRoot "D:/Internet/New/Web" ServerName new ErrorLog logs/new-error_log CustomLog logs/new-access_log common </VirtualHost> #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ but as soon as i add a vhost to apache I cannot connect to mysql. can anyone help?????

« previous php.db (#17127) next »