title: PHP/Symfony is very slow in Docker setup
body: <h1>Setup</h1>
  <p>I have a Symfony 4.4 application. For local development, this is hosted with 3 docker containers. Their base images are:</p>
  <ul>
  <li>mysite: <code>php:7.1-fpm</code></li>
  <li>mysite_apache: <code>debian:buster</code></li>
  <li>mysite_mysql: <code>mysql:8.0.25</code>.</li>
  </ul>
  <h1>Problem</h1>
  <p>The main dashboard makes a total of 97 HTTP requests and takes 25s to load using this Docker setup.</p>
  <p>When hosting the local environment directly on macOS using the PHP and Apache that come with the OS, it takes 3.5s to load -- 14% of the time -- even when using the same versions of PHP and Apache.</p>
  <p>Requests to static resources (js, css, images) are snappy. The API calls, which go to the PHP container (and Symfony), are the problem. They can take upwards of 5s to resolve.</p>
  <hr />
  <h1>Details</h1>
  <p>The Apache and php-fpm containers share a volume for the website code. Apache delegates PHP execution to the PHP container via a <code>FilesMatch .php</code> in its vhost.</p>
  <p><strong>UPDATE:</strong> I have tried hosting the website directly in the php container using <code>symfony serve</code>. It's just as slow, meaning that the issue is probably with the php container's setup, not apache.</p>
  <h2>docker-compose.yaml</h2>
  <pre class="lang-yaml prettyprint-override"><code>version: '3'
  services:
      apache:
          build: ./apache
          container_name: mysite_apache
          restart: always
          extra_hosts:
              - &quot;mysite.local:127.0.0.1&quot;
          ports:
              - 80:80
              - 443:443
          volumes:
              - ./apache/vhosts:/etc/apache2/sites-enabled:delegated
              - ./apache/conf:/etc/apache2/conf-enabled:delegated
              # Sites
              - ./mysite:/home/wwwroot/mysite:delegated
  
      php:
          build: ./php
          container_name: mysite
          volumes:
              - ./mysite:/home/wwwroot/mysite:delegated
              - $HOME/.ssh:/root/.ssh:cached
              - $HOME/.composer/:/root/.composer:cached
          ports:
              - 9001:9001
              - 8000:8000
  
  
      mysql:
          # redacted, this probably isn't important
  
  </code></pre>
  <h2>mysite.conf</h2>
  <p>This is the vhost config for apache</p>
  <pre><code>&lt;VirtualHost *:443&gt;
      Define server_name  mysite.local
      Define basedocroot  /home/wwwroot/mysite
      Define docrootweb   ${basedocroot}/public
      Define logdir       /var/log/apache2
  
      &lt;FilesMatch .php$&gt;
          SSLOptions +StdEnvVars
          SetHandler &quot;proxy:fcgi://mysite:9001&quot;
      &lt;/FilesMatch&gt;
  
      ServerName ${server_name}
      ServerAlias www.${server_name}
  
      DocumentRoot ${docrootweb}
      DirectoryIndex index.php
      SetEnv APPLICATION_ENV dev
  
      &lt;Directory ${docrootweb}&gt;
          AllowOverride All
          Allow from All
          Require all granted
          DirectoryIndex index.php index.html
      &lt;/Directory&gt;
  
      &lt;Directory ${basedocroot}/vpn/swagger&gt;
          DirectoryIndex index.html
      &lt;/Directory&gt;
  
      SSLEngine On
      SSLCertificateFile    /etc/apache2/ssl/certs/server.crt
      SSLCertificateKeyFile /etc/apache2/ssl/private/server.key
  
      Undefine server_name
      Undefine basedocroot
      Undefine docrootweb
      Undefine logdir
  
  &lt;/VirtualHost&gt;
  
  # HTTP -&gt; HTTPS REDIRECT
  &lt;VirtualHost *:80&gt;
       ServerName mysite.local
       Redirect permanent / https://mysite.local/
  &lt;/VirtualHost&gt;
  
  </code></pre>
  <h2>php -i</h2>
  <p>Opcache is enabled in the PHP container.</p>
  <p>Some sections removed for brevity.</p>
  <pre><code>phpinfo()
  PHP Version =&gt; 7.1.33
  
  System =&gt; Linux 91e73afc9480 5.10.47-linuxkit #1 SMP Sat Jul 3 21:51:47 UTC 2021 x86_64
  Build Date =&gt; Nov 22 2019 18:32:56
  Configure Command =&gt;  './configure'  '--build=x86_64-linux-gnu' '--with-config-file-path=/usr/local/etc/php' '--with-config-file-scan-dir=/usr/local/etc/php/conf.d' '--enable-option-checking=fatal' '--with-mhash' '--enable-ftp' '--enable-mbstring' '--enable-mysqlnd' '--with-pdo-sqlite=/usr' '--with-sqlite3=/usr' '--with-curl' '--with-libedit' '--with-openssl' '--with-zlib' '--with-libdir=lib/x86_64-linux-gnu' '--enable-fpm' '--with-fpm-user=www-data' '--with-fpm-group=www-data' '--disable-cgi' 'build_alias=x86_64-linux-gnu'
  Server API =&gt; Command Line Interface
  Virtual Directory Support =&gt; disabled
  Configuration File (php.ini) Path =&gt; /usr/local/etc/php
  Loaded Configuration File =&gt; /usr/local/etc/php/php.ini
  Scan this dir for additional .ini files =&gt; /usr/local/etc/php/conf.d
  Additional .ini files parsed =&gt; /usr/local/etc/php/conf.d/docker-php-ext-gd.ini,
  /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini,
  /usr/local/etc/php/conf.d/docker-php-ext-pcov.ini,
  /usr/local/etc/php/conf.d/docker-php-ext-pdo_mysql.ini,
  /usr/local/etc/php/conf.d/docker-php-ext-zip.ini,
  /usr/local/etc/php/conf.d/opcache.ini
  
  PHP API =&gt; 20160303
  PHP Extension =&gt; 20160303
  Zend Extension =&gt; 320160303
  Zend Extension Build =&gt; API320160303,NTS
  PHP Extension Build =&gt; API20160303,NTS
  Debug Build =&gt; no
  Thread Safety =&gt; disabled
  Zend Signal Handling =&gt; enabled
  Zend Memory Manager =&gt; enabled
  Zend Multibyte Support =&gt; provided by mbstring
  IPv6 Support =&gt; enabled
  DTrace Support =&gt; disabled
  
  Registered PHP Streams =&gt; https, ftps, compress.zlib, php, file, glob, data, http, ftp, phar, zip
  Registered Stream Socket Transports =&gt; tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2
  Registered Stream Filters =&gt; zlib.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk
  
  This program makes use of the Zend Scripting Language Engine:
  Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
      with Zend OPcache v7.1.33, Copyright (c) 1999-2018, by Zend Technologies
  
  
   _______________________________________________________________________
  
  
  Configuration
  
  apcu
  
  APCu Support =&gt; Enabled
  Version =&gt; 5.1.21
  APCu Debugging =&gt; Disabled
  MMAP Support =&gt; Enabled
  MMAP File Mask =&gt;
  Serialization Support =&gt; php
  Build Date =&gt; Nov  4 2021 16:03:09
  
  Directive =&gt; Local Value =&gt; Master Value
  apc.coredump_unmap =&gt; Off =&gt; Off
  apc.enable_cli =&gt; On =&gt; On
  apc.enabled =&gt; On =&gt; On
  apc.entries_hint =&gt; 4096 =&gt; 4096
  apc.gc_ttl =&gt; 3600 =&gt; 3600
  apc.mmap_file_mask =&gt; no value =&gt; no value
  apc.preload_path =&gt; no value =&gt; no value
  apc.serializer =&gt; php =&gt; php
  apc.shm_segments =&gt; 1 =&gt; 1
  apc.shm_size =&gt; 32M =&gt; 32M
  apc.slam_defense =&gt; Off =&gt; Off
  apc.smart =&gt; 0 =&gt; 0
  apc.ttl =&gt; 0 =&gt; 0
  apc.use_request_time =&gt; Off =&gt; Off
  
  Core
  
  PHP Version =&gt; 7.1.33
  
  Directive =&gt; Local Value =&gt; Master Value
  allow_url_fopen =&gt; On =&gt; On
  allow_url_include =&gt; Off =&gt; Off
  arg_separator.input =&gt; &amp; =&gt; &amp;
  arg_separator.output =&gt; &amp; =&gt; &amp;
  auto_append_file =&gt; no value =&gt; no value
  auto_globals_jit =&gt; On =&gt; On
  auto_prepend_file =&gt; no value =&gt; no value
  browscap =&gt; no value =&gt; no value
  default_charset =&gt; UTF-8 =&gt; UTF-8
  default_mimetype =&gt; text/html =&gt; text/html
  disable_classes =&gt; no value =&gt; no value
  disable_functions =&gt; no value =&gt; no value
  display_errors =&gt; STDOUT =&gt; STDOUT
  display_startup_errors =&gt; On =&gt; On
  doc_root =&gt; no value =&gt; no value
  docref_ext =&gt; no value =&gt; no value
  docref_root =&gt; no value =&gt; no value
  enable_dl =&gt; Off =&gt; Off
  enable_post_data_reading =&gt; On =&gt; On
  error_append_string =&gt; no value =&gt; no value
  error_log =&gt; no value =&gt; no value
  error_prepend_string =&gt; no value =&gt; no value
  error_reporting =&gt; 32767 =&gt; 32767
  expose_php =&gt; On =&gt; On
  extension_dir =&gt; /usr/local/lib/php/extensions/no-debug-non-zts-20160303 =&gt; /usr/local/lib/php/extensions/no-debug-non-zts-20160303
  file_uploads =&gt; On =&gt; On
  hard_timeout =&gt; 2 =&gt; 2
  highlight.comment =&gt; &lt;font style=&quot;color: #FF8000&quot;&gt;#FF8000&lt;/font&gt; =&gt; &lt;font style=&quot;color: #FF8000&quot;&gt;#FF8000&lt;/font&gt;
  highlight.default =&gt; &lt;font style=&quot;color: #0000BB&quot;&gt;#0000BB&lt;/font&gt; =&gt; &lt;font style=&quot;color: #0000BB&quot;&gt;#0000BB&lt;/font&gt;
  highlight.html =&gt; &lt;font style=&quot;color: #000000&quot;&gt;#000000&lt;/font&gt; =&gt; &lt;font style=&quot;color: #000000&quot;&gt;#000000&lt;/font&gt;
  highlight.keyword =&gt; &lt;font style=&quot;color: #007700&quot;&gt;#007700&lt;/font&gt; =&gt; &lt;font style=&quot;color: #007700&quot;&gt;#007700&lt;/font&gt;
  highlight.string =&gt; &lt;font style=&quot;color: #DD0000&quot;&gt;#DD0000&lt;/font&gt; =&gt; &lt;font style=&quot;color: #DD0000&quot;&gt;#DD0000&lt;/font&gt;
  html_errors =&gt; Off =&gt; Off
  ignore_repeated_errors =&gt; Off =&gt; Off
  ignore_repeated_source =&gt; Off =&gt; Off
  ignore_user_abort =&gt; Off =&gt; Off
  implicit_flush =&gt; On =&gt; On
  include_path =&gt; .:/usr/local/lib/php =&gt; .:/usr/local/lib/php
  input_encoding =&gt; no value =&gt; no value
  internal_encoding =&gt; no value =&gt; no value
  log_errors =&gt; On =&gt; On
  log_errors_max_len =&gt; 1024 =&gt; 1024
  mail.add_x_header =&gt; Off =&gt; Off
  mail.force_extra_parameters =&gt; no value =&gt; no value
  mail.log =&gt; no value =&gt; no value
  max_execution_time =&gt; 0 =&gt; 0
  max_file_uploads =&gt; 20 =&gt; 20
  max_input_nesting_level =&gt; 64 =&gt; 64
  max_input_time =&gt; -1 =&gt; -1
  max_input_vars =&gt; 1000 =&gt; 1000
  memory_limit =&gt; 4G =&gt; 4G
  open_basedir =&gt; no value =&gt; no value
  output_buffering =&gt; 0 =&gt; 0
  output_encoding =&gt; no value =&gt; no value
  output_handler =&gt; no value =&gt; no value
  post_max_size =&gt; 8M =&gt; 8M
  precision =&gt; 14 =&gt; 14
  realpath_cache_size =&gt; 4096K =&gt; 4096K
  realpath_cache_ttl =&gt; 120 =&gt; 120
  register_argc_argv =&gt; On =&gt; On
  report_memleaks =&gt; On =&gt; On
  report_zend_debug =&gt; Off =&gt; Off
  request_order =&gt; GP =&gt; GP
  sendmail_from =&gt; no value =&gt; no value
  sendmail_path =&gt;  -t -i  =&gt;  -t -i
  serialize_precision =&gt; -1 =&gt; -1
  short_open_tag =&gt; Off =&gt; Off
  SMTP =&gt; localhost =&gt; localhost
  smtp_port =&gt; 25 =&gt; 25
  sql.safe_mode =&gt; Off =&gt; Off
  sys_temp_dir =&gt; no value =&gt; no value
  track_errors =&gt; Off =&gt; Off
  unserialize_callback_func =&gt; no value =&gt; no value
  upload_max_filesize =&gt; 2M =&gt; 2M
  upload_tmp_dir =&gt; no value =&gt; no value
  user_dir =&gt; no value =&gt; no value
  user_ini.cache_ttl =&gt; 300 =&gt; 300
  user_ini.filename =&gt; .user.ini =&gt; .user.ini
  variables_order =&gt; GPCS =&gt; GPCS
  xmlrpc_error_number =&gt; 0 =&gt; 0
  xmlrpc_errors =&gt; Off =&gt; Off
  zend.assertions =&gt; 1 =&gt; 1
  zend.detect_unicode =&gt; On =&gt; On
  zend.enable_gc =&gt; On =&gt; On
  zend.multibyte =&gt; Off =&gt; Off
  zend.script_encoding =&gt; no value =&gt; no value
  zend.signal_check =&gt; Off =&gt; Off
  
  ctype
  
  ctype functions =&gt; enabled
  
  curl
  
  cURL support =&gt; enabled
  cURL Information =&gt; 7.64.0
  Age =&gt; 4
  Features
  AsynchDNS =&gt; Yes
  CharConv =&gt; No
  Debug =&gt; No
  GSS-Negotiate =&gt; No
  IDN =&gt; Yes
  IPv6 =&gt; Yes
  krb4 =&gt; No
  Largefile =&gt; Yes
  libz =&gt; Yes
  NTLM =&gt; Yes
  NTLMWB =&gt; Yes
  SPNEGO =&gt; Yes
  SSL =&gt; Yes
  SSPI =&gt; No
  TLS-SRP =&gt; Yes
  HTTP2 =&gt; Yes
  GSSAPI =&gt; Yes
  KERBEROS5 =&gt; Yes
  UNIX_SOCKETS =&gt; Yes
  PSL =&gt; Yes
  Protocols =&gt; dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtmp, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp
  Host =&gt; x86_64-pc-linux-gnu
  SSL Version =&gt; OpenSSL/1.1.1d
  ZLib Version =&gt; 1.2.11
  libSSH Version =&gt; libssh2/1.8.0
  
  mysqlnd
  
  mysqlnd =&gt; enabled
  Version =&gt; mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $
  Compression =&gt; supported
  core SSL =&gt; supported
  extended SSL =&gt; supported
  Command buffer size =&gt; 4096
  Read buffer size =&gt; 32768
  Read timeout =&gt; 31536000
  Collecting statistics =&gt; Yes
  Collecting memory statistics =&gt; Yes
  Tracing =&gt; n/a
  Loaded plugins =&gt; mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_sha256_password
  API Extensions =&gt; pdo_mysql
  
  mysqlnd statistics =&gt;
  bytes_sent =&gt; 0
  bytes_received =&gt; 0
  packets_sent =&gt; 0
  packets_received =&gt; 0
  protocol_overhead_in =&gt; 0
  protocol_overhead_out =&gt; 0
  bytes_received_ok_packet =&gt; 0
  bytes_received_eof_packet =&gt; 0
  bytes_received_rset_header_packet =&gt; 0
  bytes_received_rset_field_meta_packet =&gt; 0
  bytes_received_rset_row_packet =&gt; 0
  bytes_received_prepare_response_packet =&gt; 0
  bytes_received_change_user_packet =&gt; 0
  packets_sent_command =&gt; 0
  packets_received_ok =&gt; 0
  packets_received_eof =&gt; 0
  packets_received_rset_header =&gt; 0
  packets_received_rset_field_meta =&gt; 0
  packets_received_rset_row =&gt; 0
  packets_received_prepare_response =&gt; 0
  packets_received_change_user =&gt; 0
  result_set_queries =&gt; 0
  non_result_set_queries =&gt; 0
  no_index_used =&gt; 0
  bad_index_used =&gt; 0
  slow_queries =&gt; 0
  buffered_sets =&gt; 0
  unbuffered_sets =&gt; 0
  ps_buffered_sets =&gt; 0
  ps_unbuffered_sets =&gt; 0
  flushed_normal_sets =&gt; 0
  flushed_ps_sets =&gt; 0
  ps_prepared_never_executed =&gt; 0
  ps_prepared_once_executed =&gt; 0
  rows_fetched_from_server_normal =&gt; 0
  rows_fetched_from_server_ps =&gt; 0
  rows_buffered_from_client_normal =&gt; 0
  rows_buffered_from_client_ps =&gt; 0
  rows_fetched_from_client_normal_buffered =&gt; 0
  rows_fetched_from_client_normal_unbuffered =&gt; 0
  rows_fetched_from_client_ps_buffered =&gt; 0
  rows_fetched_from_client_ps_unbuffered =&gt; 0
  rows_fetched_from_client_ps_cursor =&gt; 0
  rows_affected_normal =&gt; 0
  rows_affected_ps =&gt; 0
  rows_skipped_normal =&gt; 0
  rows_skipped_ps =&gt; 0
  copy_on_write_saved =&gt; 0
  copy_on_write_performed =&gt; 0
  command_buffer_too_small =&gt; 0
  connect_success =&gt; 0
  connect_failure =&gt; 0
  connection_reused =&gt; 0
  reconnect =&gt; 0
  pconnect_success =&gt; 0
  active_connections =&gt; 0
  active_persistent_connections =&gt; 0
  explicit_close =&gt; 0
  implicit_close =&gt; 0
  disconnect_close =&gt; 0
  in_middle_of_command_close =&gt; 0
  explicit_free_result =&gt; 0
  implicit_free_result =&gt; 0
  explicit_stmt_close =&gt; 0
  implicit_stmt_close =&gt; 0
  mem_emalloc_count =&gt; 0
  mem_emalloc_amount =&gt; 0
  mem_ecalloc_count =&gt; 0
  mem_ecalloc_amount =&gt; 0
  mem_erealloc_count =&gt; 0
  mem_erealloc_amount =&gt; 0
  mem_efree_count =&gt; 0
  mem_efree_amount =&gt; 0
  mem_malloc_count =&gt; 0
  mem_malloc_amount =&gt; 0
  mem_calloc_count =&gt; 0
  mem_calloc_amount =&gt; 0
  mem_realloc_count =&gt; 0
  mem_realloc_amount =&gt; 0
  mem_free_count =&gt; 0
  mem_free_amount =&gt; 0
  mem_estrndup_count =&gt; 0
  mem_strndup_count =&gt; 0
  mem_estrdup_count =&gt; 0
  mem_strdup_count =&gt; 0
  mem_edupl_count =&gt; 0
  mem_dupl_count =&gt; 0
  proto_text_fetched_null =&gt; 0
  proto_text_fetched_bit =&gt; 0
  proto_text_fetched_tinyint =&gt; 0
  proto_text_fetched_short =&gt; 0
  proto_text_fetched_int24 =&gt; 0
  proto_text_fetched_int =&gt; 0
  proto_text_fetched_bigint =&gt; 0
  proto_text_fetched_decimal =&gt; 0
  proto_text_fetched_float =&gt; 0
  proto_text_fetched_double =&gt; 0
  proto_text_fetched_date =&gt; 0
  proto_text_fetched_year =&gt; 0
  proto_text_fetched_time =&gt; 0
  proto_text_fetched_datetime =&gt; 0
  proto_text_fetched_timestamp =&gt; 0
  proto_text_fetched_string =&gt; 0
  proto_text_fetched_blob =&gt; 0
  proto_text_fetched_enum =&gt; 0
  proto_text_fetched_set =&gt; 0
  proto_text_fetched_geometry =&gt; 0
  proto_text_fetched_other =&gt; 0
  proto_binary_fetched_null =&gt; 0
  proto_binary_fetched_bit =&gt; 0
  proto_binary_fetched_tinyint =&gt; 0
  proto_binary_fetched_short =&gt; 0
  proto_binary_fetched_int24 =&gt; 0
  proto_binary_fetched_int =&gt; 0
  proto_binary_fetched_bigint =&gt; 0
  proto_binary_fetched_decimal =&gt; 0
  proto_binary_fetched_float =&gt; 0
  proto_binary_fetched_double =&gt; 0
  proto_binary_fetched_date =&gt; 0
  proto_binary_fetched_year =&gt; 0
  proto_binary_fetched_time =&gt; 0
  proto_binary_fetched_datetime =&gt; 0
  proto_binary_fetched_timestamp =&gt; 0
  proto_binary_fetched_string =&gt; 0
  proto_binary_fetched_json =&gt; 0
  proto_binary_fetched_blob =&gt; 0
  proto_binary_fetched_enum =&gt; 0
  proto_binary_fetched_set =&gt; 0
  proto_binary_fetched_geometry =&gt; 0
  proto_binary_fetched_other =&gt; 0
  init_command_executed_count =&gt; 0
  init_command_failed_count =&gt; 0
  com_quit =&gt; 0
  com_init_db =&gt; 0
  com_query =&gt; 0
  com_field_list =&gt; 0
  com_create_db =&gt; 0
  com_drop_db =&gt; 0
  com_refresh =&gt; 0
  com_shutdown =&gt; 0
  com_statistics =&gt; 0
  com_process_info =&gt; 0
  com_connect =&gt; 0
  com_process_kill =&gt; 0
  com_debug =&gt; 0
  com_ping =&gt; 0
  com_time =&gt; 0
  com_delayed_insert =&gt; 0
  com_change_user =&gt; 0
  com_binlog_dump =&gt; 0
  com_table_dump =&gt; 0
  com_connect_out =&gt; 0
  com_register_slave =&gt; 0
  com_stmt_prepare =&gt; 0
  com_stmt_execute =&gt; 0
  com_stmt_send_long_data =&gt; 0
  com_stmt_close =&gt; 0
  com_stmt_reset =&gt; 0
  com_stmt_set_option =&gt; 0
  com_stmt_fetch =&gt; 0
  com_deamon =&gt; 0
  bytes_received_real_data_normal =&gt; 0
  bytes_received_real_data_ps =&gt; 0
  
  openssl
  
  OpenSSL support =&gt; enabled
  OpenSSL Library Version =&gt; OpenSSL 1.1.1d  10 Sep 2019
  OpenSSL Header Version =&gt; OpenSSL 1.1.1d  10 Sep 2019
  Openssl default config =&gt; /usr/lib/ssl/openssl.cnf
  
  Directive =&gt; Local Value =&gt; Master Value
  openssl.cafile =&gt; no value =&gt; no value
  openssl.capath =&gt; no value =&gt; no value
  
  pcov
  
  PCOV support =&gt; Enabled
  PCOV version =&gt; 1.0.9
  pcov.directory =&gt; /home/wwwroot/mysite/src
  pcov.exclude =&gt; none
  pcov.initial.memory =&gt; 65336 bytes
  pcov.initial.files =&gt; 64
  
  pcre
  
  PCRE (Perl Compatible Regular Expressions) Support =&gt; enabled
  PCRE Library Version =&gt; 8.38 2015-11-23
  PCRE JIT Support =&gt; enabled
  
  Directive =&gt; Local Value =&gt; Master Value
  pcre.backtrack_limit =&gt; 1000000 =&gt; 1000000
  pcre.jit =&gt; 1 =&gt; 1
  pcre.recursion_limit =&gt; 100000 =&gt; 100000
  
  PDO
  
  PDO support =&gt; enabled
  PDO drivers =&gt; sqlite, mysql
  
  pdo_mysql
  
  PDO Driver for MySQL =&gt; enabled
  Client API version =&gt; mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $
  
  Directive =&gt; Local Value =&gt; Master Value
  pdo_mysql.default_socket =&gt; no value =&gt; no value
  
  pdo_sqlite
  
  PDO Driver for SQLite 3.x =&gt; enabled
  SQLite Library =&gt; 3.27.2
  
  
  session
  
  Session Support =&gt; enabled
  Registered save handlers =&gt; files user
  Registered serializer handlers =&gt; php_serialize php php_binary
  
  Directive =&gt; Local Value =&gt; Master Value
  session.auto_start =&gt; Off =&gt; Off
  session.cache_expire =&gt; 180 =&gt; 180
  session.cache_limiter =&gt; nocache =&gt; nocache
  session.cookie_domain =&gt; no value =&gt; no value
  session.cookie_httponly =&gt; Off =&gt; Off
  session.cookie_lifetime =&gt; 0 =&gt; 0
  session.cookie_path =&gt; / =&gt; /
  session.cookie_secure =&gt; Off =&gt; Off
  session.gc_divisor =&gt; 1000 =&gt; 1000
  session.gc_maxlifetime =&gt; 1440 =&gt; 1440
  session.gc_probability =&gt; 1 =&gt; 1
  session.lazy_write =&gt; On =&gt; On
  session.name =&gt; PHPSESSID =&gt; PHPSESSID
  session.referer_check =&gt; no value =&gt; no value
  session.save_handler =&gt; files =&gt; files
  session.save_path =&gt; no value =&gt; no value
  session.serialize_handler =&gt; php =&gt; php
  session.sid_bits_per_character =&gt; 5 =&gt; 5
  session.sid_length =&gt; 26 =&gt; 26
  session.upload_progress.cleanup =&gt; On =&gt; On
  session.upload_progress.enabled =&gt; On =&gt; On
  session.upload_progress.freq =&gt; 1% =&gt; 1%
  session.upload_progress.min_freq =&gt; 1 =&gt; 1
  session.upload_progress.name =&gt; PHP_SESSION_UPLOAD_PROGRESS =&gt; PHP_SESSION_UPLOAD_PROGRESS
  session.upload_progress.prefix =&gt; upload_progress_ =&gt; upload_progress_
  session.use_cookies =&gt; On =&gt; On
  session.use_only_cookies =&gt; On =&gt; On
  session.use_strict_mode =&gt; Off =&gt; Off
  session.use_trans_sid =&gt; 0 =&gt; 0
  
  SimpleXML
  
  Simplexml support =&gt; enabled
  Revision =&gt; $Id: ae067cdcddf424d6e762603905b98798bc924a00 $
  Schema support =&gt; enabled
  
  standard
  
  Dynamic Library Support =&gt; enabled
  Path to sendmail =&gt;  -t -i
  
  Directive =&gt; Local Value =&gt; Master Value
  assert.active =&gt; 1 =&gt; 1
  assert.bail =&gt; 0 =&gt; 0
  assert.callback =&gt; no value =&gt; no value
  assert.exception =&gt; 0 =&gt; 0
  assert.quiet_eval =&gt; 0 =&gt; 0
  assert.warning =&gt; 1 =&gt; 1
  auto_detect_line_endings =&gt; 0 =&gt; 0
  default_socket_timeout =&gt; 60 =&gt; 60
  from =&gt; no value =&gt; no value
  session.trans_sid_hosts =&gt; no value =&gt; no value
  session.trans_sid_tags =&gt; a=href,area=href,frame=src,form= =&gt; a=href,area=href,frame=src,form=
  url_rewriter.hosts =&gt; no value =&gt; no value
  url_rewriter.tags =&gt; form= =&gt; form=
  user_agent =&gt; no value =&gt; no value
  
  tokenizer
  
  Tokenizer Support =&gt; enabled
  
  xml
  
  XML Support =&gt; active
  XML Namespace Support =&gt; active
  libxml2 Version =&gt; 2.9.4
  
  xmlreader
  
  XMLReader =&gt; enabled
  
  xmlwriter
  
  XMLWriter =&gt; enabled
  
  Zend OPcache
  
  Opcode Caching =&gt; Disabled
  Optimization =&gt; Disabled
  SHM Cache =&gt; Enabled
  File Cache =&gt; Disabled
  Startup Failed =&gt; Opcode Caching is disabled for CLI
  
  Directive =&gt; Local Value =&gt; Master Value
  opcache.blacklist_filename =&gt; no value =&gt; no value
  opcache.consistency_checks =&gt; 0 =&gt; 0
  opcache.dups_fix =&gt; Off =&gt; Off
  opcache.enable =&gt; On =&gt; On
  opcache.enable_cli =&gt; Off =&gt; Off
  opcache.enable_file_override =&gt; Off =&gt; Off
  opcache.error_log =&gt; no value =&gt; no value
  opcache.fast_shutdown =&gt; 1 =&gt; 1
  opcache.file_cache =&gt; no value =&gt; no value
  opcache.file_cache_consistency_checks =&gt; 1 =&gt; 1
  opcache.file_cache_only =&gt; 0 =&gt; 0
  opcache.file_update_protection =&gt; 2 =&gt; 2
  opcache.force_restart_timeout =&gt; 180 =&gt; 180
  opcache.huge_code_pages =&gt; Off =&gt; Off
  opcache.inherited_hack =&gt; On =&gt; On
  opcache.interned_strings_buffer =&gt; 128 =&gt; 128
  opcache.lockfile_path =&gt; /tmp =&gt; /tmp
  opcache.log_verbosity_level =&gt; 1 =&gt; 1
  opcache.max_accelerated_files =&gt; 100000 =&gt; 100000
  opcache.max_file_size =&gt; 0 =&gt; 0
  opcache.max_wasted_percentage =&gt; 10 =&gt; 10
  opcache.memory_consumption =&gt; 2048 =&gt; 2048
  opcache.opt_debug_level =&gt; 0 =&gt; 0
  opcache.optimization_level =&gt; 0x7FFFBFFF =&gt; 0x7FFFBFFF
  opcache.preferred_memory_model =&gt; no value =&gt; no value
  opcache.protect_memory =&gt; 0 =&gt; 0
  opcache.restrict_api =&gt; no value =&gt; no value
  opcache.revalidate_freq =&gt; 0 =&gt; 0
  opcache.revalidate_path =&gt; Off =&gt; Off
  opcache.save_comments =&gt; 1 =&gt; 1
  opcache.use_cwd =&gt; On =&gt; On
  opcache.validate_permission =&gt; Off =&gt; Off
  opcache.validate_root =&gt; Off =&gt; Off
  opcache.validate_timestamps =&gt; On =&gt; On
  
  zip
  
  Zip =&gt; enabled
  Zip version =&gt; 1.13.5
  Libzip version =&gt; 1.1.2
  
  zlib
  
  ZLib Support =&gt; enabled
  Stream Wrapper =&gt; compress.zlib://
  Stream Filter =&gt; zlib.inflate, zlib.deflate
  Compiled Version =&gt; 1.2.11
  Linked Version =&gt; 1.2.11
  
  Directive =&gt; Local Value =&gt; Master Value
  zlib.output_compression =&gt; Off =&gt; Off
  zlib.output_compression_level =&gt; -1 =&gt; -1
  zlib.output_handler =&gt; no value =&gt; no value
  
  Additional Modules
  
  Module Name
  
  Environment
  
  Variable =&gt; Value
  HOSTNAME =&gt; 91e73afc9480
  PHP_VERSION =&gt; 7.1.33
  PHP_MD5 =&gt;
  SYMFONY_ENV =&gt; dev
  PHP_INI_DIR =&gt; /usr/local/etc/php
  GPG_KEYS =&gt; A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 1729F83938DA44E27BA0F4D3DBDB397470D12172
  PHP_LDFLAGS =&gt; -Wl,-O1 -Wl,--hash-style=both -pie
  PWD =&gt; /home/wwwroot/mysite
  HOME =&gt; /root
  PHP_SHA256 =&gt; bd7c0a9bd5433289ee01fd440af3715309faf583f75832b64fe169c100d52968
  PHPIZE_DEPS =&gt; autoconf         dpkg-dev        file        g++         gcc         libc-dev        make        pkg-config      re2c
  TERM =&gt; xterm
  PHP_URL =&gt; https://www.php.net/get/php-7.1.33.tar.xz/from/this/mirror
  PHP_EXTRA_CONFIGURE_ARGS =&gt; --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi
  SHLVL =&gt; 1
  PHP_CFLAGS =&gt; -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  PATH =&gt; /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  PHP_ASC_URL =&gt; https://www.php.net/get/php-7.1.33.tar.xz.asc/from/this/mirror
  PHP_CPPFLAGS =&gt; -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  _ =&gt; /usr/local/bin/php
  
  PHP Variables
  
  Variable =&gt; Value
  $_SERVER['HOSTNAME'] =&gt; 91e73afc9480
  $_SERVER['PHP_VERSION'] =&gt; 7.1.33
  $_SERVER['PHP_MD5'] =&gt;
  $_SERVER['SYMFONY_ENV'] =&gt; dev
  $_SERVER['PHP_INI_DIR'] =&gt; /usr/local/etc/php
  $_SERVER['GPG_KEYS'] =&gt; A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 1729F83938DA44E27BA0F4D3DBDB397470D12172
  $_SERVER['PHP_LDFLAGS'] =&gt; -Wl,-O1 -Wl,--hash-style=both -pie
  $_SERVER['PWD'] =&gt; /home/wwwroot/mysite
  $_SERVER['HOME'] =&gt; /root
  $_SERVER['PHP_SHA256'] =&gt; bd7c0a9bd5433289ee01fd440af3715309faf583f75832b64fe169c100d52968
  $_SERVER['PHPIZE_DEPS'] =&gt; autoconf         dpkg-dev        file        g++         gcc         libc-dev        make        pkg-config      re2c
  $_SERVER['TERM'] =&gt; xterm
  $_SERVER['PHP_URL'] =&gt; https://www.php.net/get/php-7.1.33.tar.xz/from/this/mirror
  $_SERVER['PHP_EXTRA_CONFIGURE_ARGS'] =&gt; --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi
  $_SERVER['SHLVL'] =&gt; 1
  $_SERVER['PHP_CFLAGS'] =&gt; -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  $_SERVER['PATH'] =&gt; /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  $_SERVER['PHP_ASC_URL'] =&gt; https://www.php.net/get/php-7.1.33.tar.xz.asc/from/this/mirror
  $_SERVER['PHP_CPPFLAGS'] =&gt; -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  $_SERVER['_'] =&gt; /usr/local/bin/php
  $_SERVER['PHP_SELF'] =&gt;
  $_SERVER['SCRIPT_NAME'] =&gt;
  $_SERVER['SCRIPT_FILENAME'] =&gt;
  $_SERVER['PATH_TRANSLATED'] =&gt;
  $_SERVER['DOCUMENT_ROOT'] =&gt;
  $_SERVER['REQUEST_TIME_FLOAT'] =&gt; 1636129412.782
  $_SERVER['REQUEST_TIME'] =&gt; 1636129412
  $_SERVER['argv'] =&gt; Array
  (
  )
  
  $_SERVER['argc'] =&gt; 0
  
  PHP License
  This program is free software; you can redistribute it and/or modify
  it under the terms of the PHP License as published by the PHP Group
  and included in the distribution in the file:  LICENSE
  
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  
  If you did not receive a copy of the PHP license, or have any
  questions about PHP licensing, please contact license@php.net.
  </code></pre>