Last active
January 28, 2019 17:16
-
-
Save ochorocho/be7d13a5a912b604ec163e946206cde9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ set -o errexit nounset pipefail | |
+ DDEV_PHP_VERSION=7.1 | |
+ DDEV_WEBSERVER_TYPE=nginx-fpm | |
+ '[' -n Web ']' | |
+ export WEBSERVER_DOCROOT=/var/www/html/Web | |
+ WEBSERVER_DOCROOT=/var/www/html/Web | |
+ export NGINX_DOCROOT=/var/www/html/Web | |
+ NGINX_DOCROOT=/var/www/html/Web | |
+ '[' -f /mnt/ddev_config/nginx-site.conf ']' | |
+ '[' -f /mnt/ddev_config/apache/apache-site.conf ']' | |
+ '[' -n 7.1 ']' | |
+ update-alternatives --set php /usr/bin/php7.1 | |
+ ln -sf /usr/sbin/php-fpm7.1 /usr/sbin/php-fpm | |
+ export PHP_INI=/etc/php/7.1/fpm/php.ini | |
+ PHP_INI=/etc/php/7.1/fpm/php.ini | |
+ '[' -d /mnt/ddev_config/php ']' | |
+ '[' php = backdrop ']' | |
+ rm -f /etc/nginx/nginx-site.conf | |
+ '[' -f /etc/nginx/nginx-site-php.conf ']' | |
+ ln -s /etc/nginx/nginx-site-default.conf /etc/nginx/nginx-site.conf | |
+ rm -f /etc/apache2/apache-site.conf | |
+ '[' -f /etc/apache2/ddev_apache-php.conf ']' | |
+ ln -s -f /etc/apache2/apache-site-default.conf /etc/apache2/apache-site.conf | |
+ envsubst '$WEBSERVER_DOCROOT,$NGINX_DOCROOT' | |
+ envsubst '$WEBSERVER_DOCROOT' | |
++ id -u | |
++ id -g | |
+ printf '\nexport APACHE_RUN_USER=uid_502\nexport APACHE_RUN_GROUP=gid_20\n' | |
+ a2enmod access_compat alias auth_basic authn_core authn_file authz_core authz_host authz_user autoindex deflate dir env filter mime mpm_prefork negotiation reqtimeout rewrite setenvif status | |
Considering dependency authn_core for access_compat: | |
Module authn_core already enabled | |
Module access_compat already enabled | |
Module alias already enabled | |
Considering dependency authn_core for auth_basic: | |
Module authn_core already enabled | |
Module auth_basic already enabled | |
Module authn_core already enabled | |
Module authn_file already enabled | |
Module authz_core already enabled | |
Considering dependency authz_core for authz_host: | |
Module authz_core already enabled | |
Module authz_host already enabled | |
Considering dependency authz_core for authz_user: | |
Module authz_core already enabled | |
Module authz_user already enabled | |
Module autoindex already enabled | |
Considering dependency filter for deflate: | |
Module filter already enabled | |
Module deflate already enabled | |
Module dir already enabled | |
Module env already enabled | |
Module filter already enabled | |
Module mime already enabled | |
Considering conflict mpm_event for mpm_prefork: | |
Considering conflict mpm_worker for mpm_prefork: | |
Module mpm_prefork already enabled | |
Module negotiation already enabled | |
Module reqtimeout already enabled | |
Enabling module rewrite. | |
Module setenvif already enabled | |
Module status already enabled | |
To activate the new configuration, you need to run: | |
service apache2 restart | |
+ a2enconf charset localized-error-pages other-vhosts-access-log security serve-cgi-bin | |
Conf charset already enabled | |
Conf localized-error-pages already enabled | |
Conf other-vhosts-access-log already enabled | |
Conf security already enabled | |
Conf serve-cgi-bin already enabled | |
+ '[' nginx-fpm = apache-cgi ']' | |
+ '[' nginx-fpm = apache-fpm ']' | |
+ '[' false '!=' true ']' | |
+ disable_xdebug | |
+ ls /var/www/html | |
Disabled xdebug | |
++ id -u | |
++ id -g | |
+ sudo chown -R 502:20 /mnt/composer_cache/ /home/.ssh /home/.ssh-agent /home/.drush /home/.gitconfig /home/.my.cnf | |
+ echo 'Server started' | |
+ exec /usr/bin/supervisord -n -c /etc/supervisor/supervisord-nginx-fpm.conf | |
Server started | |
2019-01-28 17:11:54,341 INFO Included extra file "/etc/supervisor/php-fpm.conf" during parsing | |
2019-01-28 17:11:54,342 INFO Included extra file "/etc/supervisor/conf.d/mailhog.conf" during parsing | |
2019-01-28 17:11:54,342 INFO Included extra file "/etc/supervisor/conf.d/supervisor.conf" during parsing | |
2019-01-28 17:11:54,351 INFO supervisord started with pid 1 | |
2019-01-28 17:11:55,353 INFO spawned: 'child_exit_monitor' with pid 635 | |
2019-01-28 17:11:55,355 INFO spawned: 'php-fpm' with pid 636 | |
2019-01-28 17:11:55,356 INFO spawned: 'nginx' with pid 637 | |
2019-01-28 17:11:55,358 INFO spawned: 'mailhog' with pid 638 | |
[28-Jan-2019 17:11:56] NOTICE: fpm is running, pid 636 | |
[28-Jan-2019 17:11:56] NOTICE: ready to handle connections | |
[28-Jan-2019 17:11:56] NOTICE: systemd monitor interval set to 10000ms | |
2019-01-28 17:11:57,194 INFO success: child_exit_monitor entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) | |
2019-01-28 17:11:57,194 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) | |
2019-01-28 17:11:57,194 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) | |
2019-01-28 17:11:57,194 INFO success: mailhog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment