File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ apt-get install -y git
1313# Setup Apache
1414apt-get install -y apache2
1515a2enmod rewrite
16+ a2dismod mpm_event
17+ a2enmod mpm_prefork
1618# Make sure Apache is run from 'vagrant' user to avoid permission issues
1719sed -i ' s|www-data|vagrant|g' /etc/apache2/envvars
1820
@@ -21,7 +23,13 @@ sed -i 's|www-data|vagrant|g' /etc/apache2/envvars
2123apt-get install -y language-pack-en-base
2224LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
2325apt-get update
24- apt-get install -y php7.0 php7.0-mcrypt php7.0-curl php7.0-cli php7.0-mysql php7.0-gd php7.0-intl php7.0-xsl
26+
27+ # TODO: Install PHP 5.6 and disable it by default
28+
29+ # Install PHP 7.0 and enable it by default
30+ apt-get install -y php7.0 php7.0-mcrypt php7.0-curl php7.0-cli php7.0-mysql php7.0-gd php7.0-intl php7.0-xsl php7.0-bcmath php7.0-mbstring php7.0-soap php7.0-zip libapache2-mod-php7.0
31+ a2enmod php7.0
32+
2533# Install XDebug
2634apt-get install -y php7.0-dev
2735cd /usr/lib
You can’t perform that action at this time.
0 commit comments