TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Advanced PHP Programming (http://www.talkphp.com/advanced-php-programming/)
-   -   Upload your own extensions to a server? (http://www.talkphp.com/advanced-php-programming/1404-upload-your-own-extensions-server.html)

Nor 11-07-2007 01:39 PM

Upload your own extensions to a server?
 
How would you use a uploaded extension and or compile them. When you don't have root access to the server.

Karl 11-07-2007 01:40 PM

You wouldn't, that would be a major security hole.

Nor 11-07-2007 01:49 PM

i mean, how would you upload a custom extension to the server and use it? Or you just can't?

Wildhoney 11-07-2007 02:13 PM

You have to edit the php.ini file. Although you can try dl().

Salathe 11-07-2007 02:13 PM

If it needs to be compiled and you don't have the necessary access, then your hosting provider might compile it for you. If the extension is a popular one (from PECL perhaps) then chances are there is a version available pre-compiled that you can just throw into the extensions folder (its location depends on the setting in your php.ini), enable it (again in php.ini) and restart the web server to load it in. You're probably out of luck if it's your own extension and your host won't give you shell access (note: you don't necessarily need root access).

Your use of the word "custom" in this instance seems to be confusing matters. Custom as in home-brewed, or custom as in not-installed-yet?

Nor 11-07-2007 02:51 PM

yah PECL extensions :)...


All times are GMT. The time now is 03:49 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0