Re: Re: Function dl()
| From: | Andrew Lawrence | Date: | Wed, 07 Mar 2001 10:41:58 +0000 |
| Subject: | Re: Re: Function dl() | ||
| References: | 1 | Groups: | php.dev php.gtk |
| Request: | Send a blank email to php-dev+get-48147@lists.php.net to get a copy of this message | ||
On Wednesday 07 March 2001 05:20, Zeev Suraski wrote:
> Regardless of the request itself, it'd be much better if you loaded the
> .so/.dll in php.ini, instead of in every script. Loading it using dl() in
> every script is extremely inefficient.
Andrei Zmievski can probably explain this better than I can, but loading the
library through php.ini is not desirable or possible I believe.
Please remember, that the enviroment for php-gtk is not that of a web server,
but a standalone GUI application that happens to use php as a programming
language. PHP is being run here in "CGI" mode from the command line without
the presence of a web server.
--
Andrew Lawrence
Smoke & Mirrors
http://www.smoke-and-mirrors.net
Tel: 416 461-8708 Fax: 416 461-1758