Re: how to load extensions outside the extension_dir
| From: | Aidan Lister | Date: | Sat, 11 Sep 2004 02:00:48 +0000 |
| Subject: | Re: how to load extensions outside the extension_dir | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196383@lists.php.net to get a copy of this message | ||
You can't,
It's a security thing.
"Marten Lehmann" <lehmann@cnm.de> wrote in message
news:4141B66B.7070800@cnm.de...
> Hello,
>
> I need to load extensions with dl() within PHP running as CGI. But as this
> is a shared hosting environment, I don't have access to the extension_dir.
> Anyway, dl() prepends <install-dir>/lib/php/extensions/
> <debug-or-not>-<zts-or-not>-ZEND_MODULE_API_NO if I'm calling
> dl("myext.so"); even if I'm starting with a slash. How can I disable this?
>
> Regards
> Marten