Hi, After the last discussion I've started about runkit which some of you suggest to keep it in PECL - I thought about the extensions "problem" in PHP and wish to ask for your opinion.
Many developers use shared hosting as PHP env which not allows them to install new extensions in PHP. In order to give users ability to use extensions, I'm suggesting that we'll add some PECL related methods to the PHP core (with ini option to disable it, or create a PECL package) that allows users to install PECL packages through PHP code even in shared hosting env. We had dl() until it was deprecated, and even when we got it I guess that administrators disabled the dl() method because of security reasons. However, PECL got limited extensions which, as long as I know, does not put the server into security risks (maybe I've said something VERY STUPID right now, so excuse me...) Idea example: <?php $extensionsList = pecl_get_available_extensions(); if (! pecl_extension_installed('...') ) { pecl_install_extension('...'); } ?> What do you think?