phpbrew

How to completely remove PHPBrew and reinstall regular PHP

让人想犯罪 __ 提交于 2019-12-24 11:56:03
问题 I used PHPBrew for a while and now want to remove it completely for various reasons. How do I do that? Removing the ~/.phpbrew directory only is not sufficient. Even removing and reinstalling all PHP packages is not enough, since Apache still somehow loads the allegedly removed PHPBrew module: Loaded Configuration File => ~/.phpbrew/php/php-5.6.30/etc/php.ini 回答1: To switch between PHP5 and PHP7 in Apache, it is necessary for PHPBrew to enable & dissable custom apache modules. These need to