Re: Proposal: Establish DB connections during module_init
| From: | thies at digicol dot de | Date: | Wed, 07 Jun 2000 07:52:37 +0000 |
| Subject: | Re: Proposal: Establish DB connections during module_init | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20442@lists.php.net to get a copy of this message | ||
On Wed, Jun 07, 2000 at 07:49:24AM +0200, Zeev Suraski wrote:
> 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.
that's even better!
>
> Zeev
> --
> Zeev Suraski <zeev@zend.com> http://www.zend.com/
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany