Before starting local development, Docker is required and must be installed. Docker Desktop for MacOS and Docker for Linux are available for installation.
Docksal
Installing
After installing Docker, open a terminal and run the following command.
bash<(curl-fsSL https://get.docksal.io)
Pantheon
The following files can be added to the project and allow for them to have docksal configuration installed and work with Pantheon.
.docksal/etc/php/php.ini
; XDebug configuration
; XDebug remote host config
; xdebug.remote_host = 10.10.1.140
; xdebug.remote_connect_back=1
; xdebug.idekey = PHPSTORM
[PHP]
;;;;;;;;;;;;;;;
; PHP Globals ;
;;;;;;;;;;;;;;;
short_open_tag = Off
output_buffering = 4096
allow_call_time_pass_reference = Off
variables_order = "GPCS"
request_order = "GP"
register_long_arrays = Off
register_argc_argv = Off
magic_quotes_gpc = Off
enable_dl = Off
allow_url_fopen = On
realpath_cache_size = "800K"
realpath_cache_ttl = "86400"
disable_functions =
include_path = ".:/usr/share/pear:/usr/share/php"
[Date]
date.timezone = "UTC"
;;;;;;;;;;;;;;;;;;;;;;
;; PACKAGE SETTINGS ;;
;;;;;;;;;;;;;;;;;;;;;;
; Xdebug
; xdebug.max_nesting_level = 256
; xdebug.show_exception_trace = 0
; xdebug.collect_params = 0
; xdebug.remote_enable = 1
xdebug.mode = coverage,debug
xdebug.discover_client_host = 1
xdebug.client_host = 192.168.64.100
;;;;;;;;;;;;;;;;;;;;;;;
;; PANTHEON SETTINGS ;;
;;;;;;;;;;;;;;;;;;;;;;;
; Globals
expose_php = on
max_execution_time = 90
max_input_time = 900
max_input_vars = 10000
memory_limit = 2G
upload_max_filesize = 100M
post_max_size = 100M
error_reporting = E_ALL & ~E_DEPRECATED
ignore_repeated_errors = on
html_errors = off
display_errors = on
error_log = /src/logs/php-error.log
log_errors = on
; Using this to insert essential Pantheon functionality.