Re: compiling dynamic extensions without root access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux