This repository was archived by the owner on Feb 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,8 @@ Vagrant.configure("2") do |config|
9393 VAGRANT_GROUP : box_config . get ( :group ) ,
9494 VAGRANT_HOSTNAME : box_config . get ( :hostname ) ,
9595 VAGRANT_FPM_SERVICE : box_config . flag? ( :php7 ) ? 'php7.0-fpm' : 'php5-fpm' ,
96- VAGRNAT_PHP_ETC_DIR : box_config . flag? ( :php7 ) ? '/etc/php/7.0/' : '/etc/php5/'
96+ VAGRNAT_PHP_ETC_DIR : box_config . flag? ( :php7 ) ? '/etc/php/7.0/' : '/etc/php5/' ,
97+ VAGRNAT_PHP_PACKAGE_PREFIX : box_config . flag? ( :php7 ) ? 'php7.0' : 'php5'
9798 }
9899 end
99100
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ AS_USER="sudo -u ${VAGRANT_USER}"
66CUR_DIR=$( pwd)
77HOME_DIR=$( getent passwd ${VAGRANT_USER} | cut -d ' :' -f6)
88
9- apt-get install php-pear php5 -dev graphviz build-essential -y -q
9+ apt-get install ${VAGRNAT_PHP_PACKAGE_PREFIX} -dev graphviz build-essential -y -q
1010
1111[ -d $HOME_DIR /tideways-profiler ] || $AS_USER mkdir $HOME_DIR /tideways-profiler
1212[ -d $HOME_DIR /tideways-profiler/.git ] || $AS_USER git clone https://github.com/tideways/php-profiler-extension.git $HOME_DIR /tideways-profiler
You can’t perform that action at this time.
0 commit comments