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

Commit 84cdd3a

Browse files
authored
Merge pull request #57 from paliarush/Warning-Fixes
Warning fixes
2 parents d031deb + 00810b9 commit 84cdd3a

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Diff for: etc/config.yaml.dist

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ environment:
1616
# If set to 0, PHP 5 will be installed.
1717
use_php7: 1
1818
composer_prefer_source: 0
19+
# [To apply changes: m-reinstall]
1920
use_varnish: 0
2021
magento:
2122
# [To apply changes: init-project -f]

Diff for: scripts/guest/m-reinstall

+3
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ php ${install_cmd}
8383
# Comment out the line above and uncomment the one below to debug Magento Setup script
8484
# 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}
8585

86+
# Configure Varnish FPC, if enabled
87+
bash "${vagrant_dir}/scripts/guest/configure_varnish" -f
88+
8689
# Enable Magento cron jobs
8790
echo "* * * * * php ${MAGENTO_ROOT}/bin/magento cron:run &
8891
* * * * * php ${MAGENTO_ROOT}/update/cron.php &

Diff for: scripts/provision/configure_environment_recurring.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ else
6666
cp ${default_vcl_config} /etc/varnish/default.vcl
6767
fi
6868

69-
# Configure Varnish FPC, if enabled
70-
bash "${vagrant_dir}/scripts/guest/configure_varnish" -f
71-
7269
# Setup PHP
7370
php_ini_paths=( /etc/php/7.0/cli/php.ini /etc/php/5.6/cli/php.ini )
7471
process_php_config ${php_ini_paths}
@@ -80,6 +77,9 @@ if [[ ${use_php7} -eq 1 ]]; then
8077
fi
8178
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
8279
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
8383
else
8484
if [[ ! -d "/etc/php/5.6" ]]; then
8585
init_php56

0 commit comments

Comments
 (0)