Skip to content
This repository was archived by the owner on Jun 4, 2020. It is now read-only.

Commit ff838a5

Browse files
committed
PHP 5.6
1 parent 898a094 commit ff838a5

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

vm-provisioning/init.sh

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@
22

33
export DEBIAN_FRONTEND=noninteractive
44

5+
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C
6+
57
if [ $(dpkg-query -W -f='${Status}' ansible 2>/dev/null | grep -c "ok installed") -eq 0 ];
68
then
7-
echo "Add APT repositories"
9+
echo "Add repositories"
810
apt-get install -qq software-properties-common &> /dev/null || exit 1
911
apt-add-repository ppa:ansible/ansible &> /dev/null || exit 1
10-
apt-add-repository ppa:ondrej/php5 &> /dev/null || exit 1
12+
apt-add-repository ppa:ondrej/php5-5.6 &> /dev/null || exit 1
1113

1214
apt-get update -qq
1315

14-
echo "Installing ansible"
16+
echo "Installing Ansible"
1517
apt-get install -qq ansible &> /dev/null || exit 1
1618

1719
echo "Ansible installed"

vm-provisioning/roles/apachephp/tasks/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
- php5-xdebug
4545

4646
- name: Install latest Xdebug
47-
shell: pecl install xdebug creates=/usr/lib/php5/20121212/xdebug.so
47+
shell: pecl install xdebug creates=/usr/lib/php5/20131226/xdebug.so
4848

4949
- name: Configure PHP for Xdebug (cli)
5050
copy: src=xdebug.ini dest=/etc/php5/cli/conf.d/21-xdebug.ini mode=644
@@ -79,7 +79,7 @@
7979
when: install_profiler
8080

8181
- name: Compile Uprofiler
82-
shell: cd /usr/local/composer/vendor/friendsofphp/uprofiler/extension && phpize && ./configure && make && make install creates=/usr/lib/php5/20121212/uprofiler.so
82+
shell: cd /usr/local/composer/vendor/friendsofphp/uprofiler/extension && phpize && ./configure && make && make install creates=/usr/lib/php5/20131226/uprofiler.so
8383
when: install_profiler
8484

8585
- name: Configure PHP for Uprofiler (cli)

vm-provisioning/roles/init/tasks/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
# Xdebug
4040
- name: Install latest Xdebug
41-
shell: pecl install xdebug creates=/usr/lib/php5/20121212/xdebug.so
41+
shell: pecl install xdebug creates=/usr/lib/php5/20131226/xdebug.so
4242

4343
# Mailcatcher
4444
- name: Add Mailcatcher

0 commit comments

Comments
 (0)