Re: compiling dynamic extensions without root access

From: Date: Sat, 07 May 2005 09:33:45 +0000
Subject: Re: compiling dynamic extensions without root access
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-214662@lists.php.net to get a copy of this message
On 07/05/2005, at 3:16 AM, Rory Browne wrote:
It depends: What webserver are you using? PHP/Apache will let you load extensions using .htaccess, which can be your own extensions, located in a directory that you have write access to. I've never tried it but something like php_extension_dir /home/yourname/php_extensions php_extension your_php_extension.so should do the trick. If you don't mind modding your php code, to take account of the fact that these extensions aren't available by default, you can create a function to load dynamic modules, using the extension_loaded() and dl() functions (see the examples on www.php.net/dl ). Bare in mind that this will not run in certain webservers, noteably Zeus, and IIS.
Its apache 1.3, 2.0 is not a goer until threading support is available unless it is already ? What I was asking is, are we able to run say phpize as a non root user and build a module that can be dynamically loaded ? I wouldnt mind checking out the PHP5 soap extension , but getting an admin to install it will take forever. Lemme know thanks.

« previous php.general (#214662) next »