This repository was archived by the owner on Oct 1, 2020. It is now read-only.
File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ environment:
16
16
# If set to 0, PHP 5 will be installed.
17
17
use_php7: 1
18
18
composer_prefer_source: 0
19
+ # [To apply changes: m-reinstall]
19
20
use_varnish: 0
20
21
magento:
21
22
# [To apply changes: init-project -f]
Original file line number Diff line number Diff line change @@ -83,6 +83,9 @@ php ${install_cmd}
83
83
# Comment out the line above and uncomment the one below to debug Magento Setup script
84
84
# php -d xdebug.remote_host=192.168.10.1 -d xdebug.idekey=PHPSTORM -d xdebug.remote_connect_back=0 -d xdebug.remote_autostart=1 ${install_cmd}
85
85
86
+ # Configure Varnish FPC, if enabled
87
+ bash " ${vagrant_dir} /scripts/guest/configure_varnish" -f
88
+
86
89
# Enable Magento cron jobs
87
90
echo " * * * * * php ${MAGENTO_ROOT} /bin/magento cron:run &
88
91
* * * * * php ${MAGENTO_ROOT} /update/cron.php &
Original file line number Diff line number Diff line change 66
66
cp ${default_vcl_config} /etc/varnish/default.vcl
67
67
fi
68
68
69
- # Configure Varnish FPC, if enabled
70
- bash " ${vagrant_dir} /scripts/guest/configure_varnish" -f
71
-
72
69
# Setup PHP
73
70
php_ini_paths=( /etc/php/7.0/cli/php.ini /etc/php/5.6/cli/php.ini )
74
71
process_php_config ${php_ini_paths}
@@ -80,6 +77,9 @@ if [[ ${use_php7} -eq 1 ]]; then
80
77
fi
81
78
sed -i " s|xdebug.remote_connect_back=1|xdebug.remote_host=192.168.10.1|g" /etc/php/7.0/cli/conf.d/20-xdebug.ini
82
79
a2enmod php7.0
80
+ # TODO: Fix for a bug, should be removed in 3.0
81
+ sed -i " /zend_extension=.*so/d" /etc/php/7.0/cli/conf.d/20-xdebug.ini
82
+ echo " zend_extension=xdebug.so" >> /etc/php/7.0/cli/conf.d/20-xdebug.ini
83
83
else
84
84
if [[ ! -d " /etc/php/5.6" ]]; then
85
85
init_php56
You can’t perform that action at this time.
0 commit comments