Tell Apache to use a specific PHP version installed using phpbrew
问题 I had the PHP, MySQL, and Apache stack installed for development. That installation is using configuration files from: /etc/apache2/ /etc/php5/ Later I installed multiple PHP version using phpbrew . All versions are accessible and switchable from CLI. But Apache always stays on the default version that was not installed using phpbrew . Here is a list of my installed PHP versions. $ phpbrew list Installed versions: php-5.4.13 (/home/admin1/.phpbrew/php/php-5.4.13) +default -- --with-bz2=/usr