Re: Proposal: Establish DB connections during module_init
| From: | Zeev Suraski | Date: | Wed, 07 Jun 2000 05:49:24 +0000 |
| Subject: | Re: Proposal: Establish DB connections during module_init | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20423@lists.php.net to get a copy of this message | ||
At 04:24 07/06/2000, Rasmus Lerdorf wrote:
ie. <VirtualHost www.php.net> php_admin_value mysql.default_host=localhost php_admin_value mysql.default_user=rasmus php_admin_value mysql.default_password=foobar php_admin_value mysql.autoconnect=On ... </VirtualHost>BTW, if the startup process is indeed as you describe it, I think I'd go about implementing it in a different way - simply let the user specify a .php file that's executed on each server startup. In that file, he'd be able to put whatever he wants, even though only code with persistence side-effects (e.g., mysql_pconnect(...)) would make sense. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/