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 +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,8 @@ Vagrant.configure("2") do |config|
9292 VAGRANT_USER : box_config . get ( :user ) ,
9393 VAGRANT_GROUP : box_config . get ( :group ) ,
9494 VAGRANT_HOSTNAME : box_config . get ( :hostname ) ,
95- VAGRANT_FPM_SERVICE : box_config . flag? ( :php7 ) ? 'php7.0-fpm' : 'php5-fpm'
95+ 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/'
9697 }
9798 end
9899
Original file line number Diff line number Diff line change @@ -36,13 +36,13 @@ if (!empty($_SERVER['PHP_PROFILE']) || !empty($_COOKIE['PHP_PROFILE'])) {
3636}
3737PHPFILE1
3838
39- tee /etc/php5 /fpm/conf.d/tideways.ini << PHPINI
39+ tee ${VAGRNAT_PHP_ETC_DIR} /fpm/conf.d/tideways.ini << PHPINI
4040extension=tideways.so
4141auto_prepend_file=$HOME_DIR /xhprof/prepend.php
4242tideways.auto_prepend_library=0
4343PHPINI
4444
45- cp /etc/php5/ fpm/conf.d/tideways.ini /etc/php5 /cli/conf.d/tideways.ini
45+ cp ${VAGRNAT_PHP_ETC_DIR} / fpm/conf.d/tideways.ini ${VAGRNAT_PHP_ETC_DIR} /cli/conf.d/tideways.ini
4646
4747if [ ! -L /data/web/staging ]
4848then
You can’t perform that action at this time.
0 commit comments