how to load extensions outside the extension_dir

From: Date: Fri, 10 Sep 2004 14:12:59 +0000
Subject: how to load extensions outside the extension_dir
Groups: php.general 
Request: Send a blank email to php-general+get-196311@lists.php.net to get a copy of this message
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

« previous php.general (#196311) next »