Re: Re: Function dl()
| From: | Zeev Suraski | Date: | Wed, 07 Mar 2001 10:46:45 +0000 |
| Subject: | Re: Re: Function dl() | ||
| References: | 1 2 | Groups: | php.dev php.gtk |
| Request: | Send a blank email to php-dev+get-48148@lists.php.net to get a copy of this message | ||
At 12:41 7/3/2001, Andrew Lawrence wrote:
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.That's a good point :) Zeev