Re: shared extensions don't load there default ini settings
| From: | su1d | Date: | Mon, 17 May 2004 16:39:29 +0000 |
| Subject: | Re: shared extensions don't load there default ini settings | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9898@lists.php.net to get a copy of this message | ||
> This problem noticed in HEAD with pgsql extension for example. When loaded
> via php.ini it does not function since it thinks that the maximum number
of
> connections is exhausted. None of the other php.ini settings seem to be
> registered.
Actually, it neither gets loaded with dl() call.
That means extension_loaded('pgsql') returns true,
but ini_get_all('pgsql') returns an empty array in both cases (via php.ini
or dl() call).
> Could this be related to the patch preventing loading extension twice?
Have there been any? That's a bit strange, because if you put
display_startup_errors=On in php.ini and try to execute at least "php -v",
you get a pretty bunch of "Constant has already been defined" warnings,
displaying constants of all(?) extensions.