Trying to get a 14.04 box running PHP 5.6, but having issues getting PHP enabled in apache. Specifically, it doesn't seem mod_php is being installed anymore?
apt-get update
apt-get install -y python-software-properties
add-apt-repository -y ppa:ondrej/php
add-apt-repository -y ppa:ondrej/apache2
apt-get update
apt-get upgrade -y
apt-get install -y htop apache2 php5.6 php5.6-curl php5.6-mcrypt mongodb-org curl git
a2enmod
does not list php
or mod_php
, and locate php.ini
outputs:
/etc/php/5.6/cli/php.ini
/etc/php/5.6/fpm/php.ini
/usr/lib/php/5.6/php.ini-development
/usr/lib/php/5.6/php.ini-production
/usr/lib/php/5.6/php.ini-production.cli
However including a <?php phpinfo();
in an index.php
served by apache is not processed.
Help appreciated!