├── occ.sh ├── cron.conf ├── db_reset.sql ├── php-fpm └── www.conf ├── supervisor-owncloud.conf ├── Dockerfile ├── nginx_nossl.conf ├── README.md ├── nginx_ssl.conf ├── run.sh ├── LICENSE ├── php.ini └── php-cli.ini /occ.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | su www-data -s /bin/sh -c "php occ $@" 4 | -------------------------------------------------------------------------------- /cron.conf: -------------------------------------------------------------------------------- 1 | */15 * * * * php -f /var/www/owncloud/cron.php >> /var/www/owncloud/data/cron.log 2>&1 2 | -------------------------------------------------------------------------------- /db_reset.sql: -------------------------------------------------------------------------------- 1 | DROP DATABASE owncloud; 2 | -- CREATE DATABASE owncloud OWNER owncloud; 3 | CREATE DATABASE owncloud TEMPLATE template0 ENCODING 'UNICODE'; 4 | ALTER DATABASE owncloud OWNER TO owncloud; 5 | GRANT ALL PRIVILEGES ON DATABASE owncloud TO owncloud; 6 | -------------------------------------------------------------------------------- /php-fpm/www.conf: -------------------------------------------------------------------------------- 1 | [www] 2 | user = www-data 3 | group = www-data 4 | listen = /var/run/php5-fpm.sock 5 | listen.owner = www-data 6 | listen.group = www-data 7 | pm = dynamic 8 | pm.max_children = 5 9 | pm.start_servers = 2 10 | pm.min_spare_servers = 1 11 | pm.max_spare_servers = 3 12 | chdir = / 13 | php_value[post_max_size] = 16G 14 | php_value[upload_max_filesize] = 16G 15 | -------------------------------------------------------------------------------- /supervisor-owncloud.conf: -------------------------------------------------------------------------------- 1 | ; TODO: Drop privileges 2 | ;[supervisord] 3 | ;user = www-data 4 | 5 | ;[unix_http_server] 6 | ;file = /tmp/supervisor.sock 7 | 8 | [supervisorctl] 9 | serverurl=unix:///tmp/supervisor.sock 10 | 11 | [program:cron] 12 | command = /usr/sbin/cron -f 13 | stdout_events_enabled=true 14 | stderr_events_enabled=true 15 | 16 | [program:phpfpm] 17 | command = /usr/sbin/php5-fpm -F -c /etc/php5/fpm 18 | stdout_events_enabled=true 19 | stderr_events_enabled=true 20 | 21 | [program:nginx] 22 | command = /usr/sbin/nginx 23 | stdout_events_enabled=true 24 | stderr_events_enabled=true 25 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM debian:8.0 2 | 3 | MAINTAINER Philipp Schmitt 4 | 5 | # Dependencies 6 | # TODO: Add NFS support 7 | RUN export DEBIAN_FRONTEND=noninteractive; \ 8 | apt-get update && \ 9 | apt-get install -y cron bzip2 php5-cli php5-gd php5-pgsql php5-sqlite \ 10 | php5-mysqlnd php5-curl php5-intl php5-mcrypt php5-ldap php5-gmp php5-apcu \ 11 | php5-imagick php5-fpm smbclient nginx supervisor && \ 12 | apt-get clean && \ 13 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 14 | 15 | ENV OWNCLOUD_VERSION 9.0.0 16 | ENV TIMEZONE UTC 17 | 18 | # Fetch ownCloud dist files 19 | ADD https://github.com/owncloud/core/archive/v${OWNCLOUD_VERSION}.tar.gz \ 20 | /tmp/owncloud.tar.gz 21 | ADD https://github.com/owncloud/3rdparty/archive/v${OWNCLOUD_VERSION}.tar.gz \ 22 | /tmp/3rdparty.tar.gz 23 | 24 | # Config files and scripts 25 | COPY nginx_nossl.conf /etc/nginx/nginx_nossl.conf 26 | COPY nginx_ssl.conf /etc/nginx/nginx_ssl.conf 27 | COPY php.ini /etc/php5/fpm/php.ini 28 | COPY php-cli.ini /etc/php5/cli/php.ini 29 | COPY cron.conf /etc/owncloud-cron.conf 30 | COPY supervisor-owncloud.conf /etc/supervisor/conf.d/supervisor-owncloud.conf 31 | COPY run.sh /usr/bin/run.sh 32 | COPY occ.sh /usr/bin/occ 33 | 34 | # Install ownCloud 35 | RUN tar -C /var/www/ -xvf /tmp/owncloud.tar.gz && \ 36 | tar -C /var/www/ -xvf /tmp/3rdparty.tar.gz && \ 37 | mv /var/www/core-${OWNCLOUD_VERSION} /var/www/owncloud && \ 38 | rmdir /var/www/owncloud/3rdparty && \ 39 | mv /var/www/3rdparty-${OWNCLOUD_VERSION} /var/www/owncloud/3rdparty && \ 40 | chmod +x /usr/bin/run.sh && \ 41 | rm /tmp/owncloud.tar.gz /tmp/3rdparty.tar.gz && \ 42 | su -s /bin/sh www-data -c "crontab /etc/owncloud-cron.conf" 43 | 44 | EXPOSE 80 443 45 | 46 | VOLUME ["/var/www/owncloud/config", "/var/www/owncloud/data", \ 47 | "/var/www/owncloud/apps", "/var/log/nginx", \ 48 | "/etc/ssl/certs/owncloud.crt", "/etc/ssl/private/owncloud.key"] 49 | 50 | WORKDIR /var/www/owncloud 51 | # USER www-data 52 | CMD ["/usr/bin/run.sh"] 53 | 54 | ADD php-fpm/www.conf /etc/php5/fpm/pool.d/www.conf 55 | -------------------------------------------------------------------------------- /nginx_nossl.conf: -------------------------------------------------------------------------------- 1 | user www-data; 2 | worker_processes 4; 3 | pid /run/nginx.pid; 4 | daemon off; 5 | 6 | events { 7 | worker_connections 768; 8 | # multi_accept on; 9 | } 10 | 11 | http { 12 | sendfile on; 13 | tcp_nopush on; 14 | tcp_nodelay on; 15 | keepalive_timeout 65; 16 | types_hash_max_size 2048; 17 | # server_tokens off; 18 | 19 | include /etc/nginx/mime.types; 20 | default_type application/octet-stream; 21 | 22 | access_log /var/log/nginx/access.log; 23 | error_log /var/log/nginx/error.log; 24 | 25 | gzip on; 26 | gzip_disable "msie6"; 27 | 28 | upstream php-handler { 29 | server unix:/var/run/php5-fpm.sock; 30 | } 31 | 32 | server { 33 | listen 80; 34 | 35 | # Path to the root of your installation 36 | root /var/www/owncloud; 37 | 38 | client_max_body_size 10G; # set max upload size 39 | fastcgi_buffers 64 4K; 40 | 41 | rewrite ^/caldav(.*)$ /remote.php/caldav$1 redirect; 42 | rewrite ^/carddav(.*)$ /remote.php/carddav$1 redirect; 43 | rewrite ^/webdav(.*)$ /remote.php/webdav$1 redirect; 44 | 45 | index index.php; 46 | error_page 403 /core/templates/403.php; 47 | error_page 404 /core/templates/404.php; 48 | 49 | location = /robots.txt { 50 | allow all; 51 | log_not_found off; 52 | access_log off; 53 | } 54 | 55 | location ~ ^/(?:\.htaccess|data|config|db_structure\.xml|README) { 56 | deny all; 57 | } 58 | 59 | location / { 60 | # The following 2 rules are only needed with webfinger 61 | rewrite ^/.well-known/host-meta /public.php?service=host-meta last; 62 | rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last; 63 | 64 | rewrite ^/.well-known/carddav /remote.php/carddav/ redirect; 65 | rewrite ^/.well-known/caldav /remote.php/caldav/ redirect; 66 | 67 | rewrite ^(/core/doc/[^\/]+/)$ $1/index.html; 68 | 69 | try_files $uri $uri/ index.php; 70 | } 71 | 72 | location ~ \.php(?:$|/) { 73 | fastcgi_split_path_info ^(.+\.php)(/.+)$; 74 | include fastcgi_params; 75 | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 76 | fastcgi_param PATH_INFO $fastcgi_path_info; 77 | fastcgi_pass php-handler; 78 | } 79 | 80 | # Optional: set long EXPIRES header on static assets 81 | location ~* \.(?:jpg|jpeg|gif|bmp|ico|png|css|js|swf)$ { 82 | expires 30d; 83 | # Optional: Don't log access to assets 84 | access_log off; 85 | } 86 | } 87 | } 88 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ownCloud Docker Image 2 | 3 | Deploy ownCloud easily. 4 | 5 | ## Setup 6 | 7 | The quickest way to get it up is: 8 | 9 | ```bash 10 | docker run -d -p 80:80 pschmitt/owncloud 11 | ``` 12 | 13 | Then go to http://localhost/ and log in as `admin`, password: `changeme`. 14 | 15 | ## Environment variables 16 | 17 | - `DB_TYPE`: Either `sqlite`, `mysql`, `pgsql` or `oci`. Default: `sqlite` 18 | - `DB_HOST`: Database host. Default: `localhost` 19 | - `DB_NAME`: Database name. Default: `owncloud` 20 | - `DB_USER`: Database user. Default: `owncloud` 21 | - `DB_PASS`: Database password. Default: `owncloud` 22 | - `DB_TABLE_PREFIX`: Prefix for all database tables. Default: `oc_` 23 | - `ADMIN_USER`: Username of the admin. Default: `admin` 24 | - `ADMIN_PASS`: Password of the admin account. Default: `changeme` 25 | - `DATA_DIR`: ownCloud data dir. Default: `/var/www/owncloud/data` 26 | - `HTTPS_ENABLED`: Whether to enable HTTPS (`true` or `false`). Default: `false` 27 | - `TIMEZONE`: Timezone. Default: `UTC` 28 | 29 | ## Database setup 30 | 31 | The image currently supports linking against a MySQL or PostgreSQL container. 32 | This container **MUST** be named `db` for this to work. 33 | 34 | ## Volumes 35 | 36 | - `/var/www/owncloud/apps`: ownCloud's plugin/apps directory 37 | - `/var/www/owncloud/config`: ownCloud's config directory 38 | - `/var/www/owncloud/data`: ownCloud's data directory 39 | - `/etc/ssl/certs/owncloud.crt`: SSL certificate. Required if `HTTPS_ENABLED` is 40 | `true`. 41 | - `/etc/ssl/private/owncloud.key`: SSL private key. Required if `HTTPS_ENABLED` 42 | is `true`. 43 | - `/var/log/nginx`: Nginx logs 44 | 45 | ## Systemd service file 46 | 47 | ``` 48 | [Unit] 49 | Description=Dockerized ownCloud 50 | After=docker.service docker-postgres.service 51 | Requires=docker.service docker-postgres.service 52 | 53 | [Service] 54 | TimeoutStartSec=0 55 | Restart=always 56 | ExecStartPre=-/usr/bin/docker kill owncloud 57 | ExecStartPre=-/usr/bin/docker rm owncloud 58 | ExecStartPre=/usr/bin/docker pull pschmitt/owncloud 59 | ExecStart=/usr/bin/docker run --name=owncloud -h owncloud.example.com \ 60 | -p 80:80 -p 443:443 \ 61 | --link postgres:db \ 62 | -e 'DB_NAME=owncloud' \ 63 | -e 'DB_USER=owncloud' \ 64 | -e 'DB_PASS=PassWord' \ 65 | -e 'ADMIN_USER=admin' \ 66 | -e 'ADMIN_PASS=admin' \ 67 | -e 'TIMEZONE=Europe/Berlin' \ 68 | -e 'HTTPS_ENABLED=true' \ 69 | -v /srv/docker/owncloud/apps:/var/www/owncloud/apps \ 70 | -v /srv/docker/owncloud/config:/var/www/owncloud/config \ 71 | -v /srv/docker/owncloud/data:/var/www/owncloud/data \ 72 | -v /srv/docker/owncloud/owncloud.crt:/etc/ssl/certs/owncloud.crt \ 73 | -v /srv/docker/owncloud/owncloud.key:/etc/ssl/certs/owncloud.key \ 74 | pschmitt/owncloud 75 | 76 | [Install] 77 | Alias=owncloud.service 78 | WantedBy=multi-user.target 79 | ``` 80 | 81 | ## Run occ commands 82 | 83 | Provided `owncloud` is the name of your container: 84 | 85 | ```bash 86 | docker exec -it owncloud occ help 87 | ``` 88 | -------------------------------------------------------------------------------- /nginx_ssl.conf: -------------------------------------------------------------------------------- 1 | user www-data; 2 | worker_processes 4; 3 | pid /run/nginx.pid; 4 | daemon off; 5 | 6 | events { 7 | worker_connections 768; 8 | # multi_accept on; 9 | } 10 | 11 | http { 12 | sendfile on; 13 | tcp_nopush on; 14 | tcp_nodelay on; 15 | keepalive_timeout 65; 16 | types_hash_max_size 2048; 17 | # server_tokens off; 18 | 19 | include /etc/nginx/mime.types; 20 | default_type application/octet-stream; 21 | 22 | access_log /var/log/nginx/access.log; 23 | error_log /var/log/nginx/error.log; 24 | 25 | gzip on; 26 | gzip_disable "msie6"; 27 | 28 | upstream php-handler { 29 | server unix:/var/run/php5-fpm.sock; 30 | } 31 | 32 | server { 33 | listen 80; 34 | # server_name cloud.example.com; 35 | return 301 https://$server_name$request_uri; # enforce https 36 | } 37 | 38 | server { 39 | listen 443 ssl; 40 | 41 | ssl_certificate /etc/ssl/certs/owncloud.crt; 42 | ssl_certificate_key /etc/ssl/private/owncloud.key; 43 | 44 | # Path to the root of your installation 45 | root /var/www/owncloud; 46 | 47 | client_max_body_size 10G; # set max upload size 48 | fastcgi_buffers 64 4K; 49 | 50 | rewrite ^/caldav(.*)$ /remote.php/caldav$1 redirect; 51 | rewrite ^/carddav(.*)$ /remote.php/carddav$1 redirect; 52 | rewrite ^/webdav(.*)$ /remote.php/webdav$1 redirect; 53 | 54 | index index.php; 55 | error_page 403 /core/templates/403.php; 56 | error_page 404 /core/templates/404.php; 57 | 58 | location = /robots.txt { 59 | allow all; 60 | log_not_found off; 61 | access_log off; 62 | } 63 | 64 | location ~ ^/(?:\.htaccess|data|config|db_structure\.xml|README) { 65 | deny all; 66 | } 67 | 68 | location / { 69 | # The following 2 rules are only needed with webfinger 70 | rewrite ^/.well-known/host-meta /public.php?service=host-meta last; 71 | rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last; 72 | 73 | rewrite ^/.well-known/carddav /remote.php/carddav/ redirect; 74 | rewrite ^/.well-known/caldav /remote.php/caldav/ redirect; 75 | 76 | rewrite ^(/core/doc/[^\/]+/)$ $1/index.html; 77 | 78 | try_files $uri $uri/ index.php; 79 | } 80 | 81 | location ~ \.php(?:$|/) { 82 | fastcgi_split_path_info ^(.+\.php)(/.+)$; 83 | include fastcgi_params; 84 | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 85 | fastcgi_param PATH_INFO $fastcgi_path_info; 86 | fastcgi_param HTTPS on; 87 | fastcgi_pass php-handler; 88 | } 89 | 90 | # Optional: set long EXPIRES header on static assets 91 | location ~* \.(?:jpg|jpeg|gif|bmp|ico|png|css|js|swf)$ { 92 | expires 30d; 93 | # Optional: Don't log access to assets 94 | access_log off; 95 | } 96 | } 97 | } 98 | -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | 5 | DB_TYPE=${DB_TYPE:-sqlite} 6 | DB_HOST=${DB_HOST:-localhost} 7 | DB_NAME=${DB_NAME:-owncloud} 8 | DB_USER=${DB_USER:-owncloud} 9 | DB_PASS=${DB_PASS:-owncloud} 10 | DB_TABLE_PREFIX=${DB_TABLE_PREFIX:-oc_} 11 | ADMIN_USER=${ADMIN_USER:-admin} 12 | ADMIN_PASS=${ADMIN_PASS:-changeme} 13 | DATA_DIR=${DATA_DIR:-/var/www/owncloud/data} 14 | 15 | HTTPS_ENABLED=${HTTPS_ENABLED:-false} 16 | 17 | # FIXME: This next check is always true since there are default values to both 18 | # crt and key 19 | # Enable HTTPS if both crt and key are passed 20 | # if [[ -n "$SSL_KEY" && -n "$SSL_CERT" ]] 21 | # then 22 | # HTTPS_ENABLED=true 23 | # fi 24 | 25 | # Database vars 26 | # TODO: Add support for Oracle DB (and SQLite?) 27 | if [[ "$DB_PORT_5432_TCP_ADDR" ]] 28 | then 29 | DB_TYPE=pgsql 30 | DB_HOST=$DB_PORT_5432_TCP_ADDR 31 | elif [[ "$DB_PORT_3306_TCP_ADDR" ]] 32 | then 33 | DB_TYPE=mysql 34 | DB_HOST=$DB_PORT_3306_TCP_ADDR 35 | fi 36 | 37 | # echo "The $DB_TYPE database is listening on ${DB_HOST}:${DB_PORT}" 38 | 39 | update_config_line() { 40 | local -r config="$1" option="$2" value="$3" 41 | 42 | # Skip if value is empty. 43 | if [[ -z "$value" ]]; then 44 | return 45 | fi 46 | 47 | # Check if the option is set. 48 | if grep "$option" "$config" >/dev/null 2>&1 49 | then 50 | # Update existing option 51 | sed -i "s|\([\"']$option[\"']\s\+=>\).*|\1 '$value',|" "$config" 52 | else 53 | # Create autoconfig.php if necessary 54 | [[ -f "$config" ]] || { 55 | echo -e ' "$config" 56 | } 57 | 58 | # Add to config 59 | sed -i "s|\(CONFIG\s*=\s*array\s*(\).*|\1\n '$option' => '$value',|" "$config" 60 | fi 61 | } 62 | 63 | owncloud_autoconfig() { 64 | echo -n "Creating autoconfig.php... " 65 | local -r config=/var/www/owncloud/config/autoconfig.php 66 | # Remove existing autoconfig 67 | rm -f "$config" 68 | update_config_line "$config" dbtype "$DB_TYPE" 69 | update_config_line "$config" dbhost "$DB_HOST" 70 | update_config_line "$config" dbname "$DB_NAME" 71 | update_config_line "$config" dbuser "$DB_USER" 72 | update_config_line "$config" dbpass "$DB_PASS" 73 | update_config_line "$config" dbtableprefix "$DB_TABLE_PREFIX" 74 | update_config_line "$config" adminlogin "$ADMIN_USER" 75 | update_config_line "$config" adminpass "$ADMIN_PASS" 76 | update_config_line "$config" directory "$DATA_DIR" 77 | # Add closing tag 78 | if ! grep ');' "$config" 79 | then 80 | echo ');' >> "$config" 81 | fi 82 | echo "Done !" 83 | } 84 | 85 | update_owncloud_config() { 86 | echo -n "Updating config.php... " 87 | local -r config=/var/www/owncloud/config/config.php 88 | update_config_line "$config" dbtype "$DB_TYPE" 89 | update_config_line "$config" dbhost "$DB_HOST" 90 | update_config_line "$config" dbname "$DB_NAME" 91 | update_config_line "$config" dbuser "$DB_USER" 92 | update_config_line "$config" dbpassword "$DB_PASS" 93 | update_config_line "$config" dbtableprefix "$DB_TABLE_PREFIX" 94 | update_config_line "$config" directory "$DATA_DIR" 95 | echo "Done !" 96 | } 97 | 98 | # Update the config if the config file exists, otherwise autoconfigure owncloud 99 | if [[ -f /var/www/owncloud/config/config.php ]] 100 | then 101 | update_owncloud_config 102 | else 103 | owncloud_autoconfig 104 | fi 105 | 106 | update_nginx_config() { 107 | echo -n "Updating nginx.conf... " 108 | local -r config=/etc/nginx/nginx.conf 109 | # mv /etc/nginx/nginx.conf /etc/nginx.orig 110 | rm /etc/nginx/nginx.conf 111 | [[ "$HTTPS_ENABLED" == "true" ]] && { 112 | echo -n "SSL is enabled " 113 | ln -s /etc/nginx/nginx_ssl.conf /etc/nginx/nginx.conf 114 | } || { 115 | echo -n "SSL is disabled! " 116 | ln -s /etc/nginx/nginx_nossl.conf /etc/nginx/nginx.conf 117 | } 118 | echo "Done !" 119 | } 120 | update_nginx_config 121 | 122 | # Create data directory 123 | mkdir -p "$DATA_DIR" 124 | 125 | # Fix permissions 126 | chown -R www-data:www-data /var/www/owncloud 127 | 128 | # FIXME: This setup is intended for running supervisord as www-data 129 | # Supervisor setup 130 | # touch /var/run/supervisord.pid 131 | # chown www-data:www-data /var/run/supervisord.pid 132 | # touch /var/log/supervisor/supervisord.log 133 | # chown www-data:www-data /var/log/supervisor/supervisord.log 134 | # mkdir -p /var/log/supervisor 135 | # chown www-data:www-data /var/log/supervisor 136 | 137 | # PHP-FPM setup 138 | # touch /var/log/php5-fpm.log 139 | # chown www-data:www-data /var/log/php5-fpm.log 140 | 141 | # nginx setup 142 | # mkdir -p /var/log/nginx 143 | # chown www-data:www-data /var/log/nginx 144 | 145 | update_timezone() { 146 | echo -n "Setting timezone to $1... " 147 | ln -sf "/usr/share/zoneinfo/$1" /etc/localtime 148 | [[ $? -eq 0 ]] && echo "Done !" || echo "FAILURE" 149 | } 150 | if [[ -n "$TIMEZONE" ]] 151 | then 152 | update_timezone "$TIMEZONE" 153 | fi 154 | 155 | exec supervisord -n -c /etc/supervisor/supervisord.conf 156 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | {one line to give the program's name and a brief idea of what it does.} 635 | Copyright (C) {year} {name of author} 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | {project} Copyright (C) {year} {fullname} 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | 676 | -------------------------------------------------------------------------------- /php.ini: -------------------------------------------------------------------------------- 1 | [PHP] 2 | 3 | ;;;;;;;;;;;;;;;;;;; 4 | ; About php.ini ; 5 | ;;;;;;;;;;;;;;;;;;; 6 | ; PHP's initialization file, generally called php.ini, is responsible for 7 | ; configuring many of the aspects of PHP's behavior. 8 | 9 | ; PHP attempts to find and load this configuration from a number of locations. 10 | ; The following is a summary of its search order: 11 | ; 1. SAPI module specific location. 12 | ; 2. The PHPRC environment variable. (As of PHP 5.2.0) 13 | ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0) 14 | ; 4. Current working directory (except CLI) 15 | ; 5. The web server's directory (for SAPI modules), or directory of PHP 16 | ; (otherwise in Windows) 17 | ; 6. The directory from the --with-config-file-path compile time option, or the 18 | ; Windows directory (C:\windows or C:\winnt) 19 | ; See the PHP docs for more specific information. 20 | ; http://php.net/configuration.file 21 | 22 | ; The syntax of the file is extremely simple. Whitespace and lines 23 | ; beginning with a semicolon are silently ignored (as you probably guessed). 24 | ; Section headers (e.g. [Foo]) are also silently ignored, even though 25 | ; they might mean something in the future. 26 | 27 | ; Directives following the section heading [PATH=/www/mysite] only 28 | ; apply to PHP files in the /www/mysite directory. Directives 29 | ; following the section heading [HOST=www.example.com] only apply to 30 | ; PHP files served from www.example.com. Directives set in these 31 | ; special sections cannot be overridden by user-defined INI files or 32 | ; at runtime. Currently, [PATH=] and [HOST=] sections only work under 33 | ; CGI/FastCGI. 34 | ; http://php.net/ini.sections 35 | 36 | ; Directives are specified using the following syntax: 37 | ; directive = value 38 | ; Directive names are *case sensitive* - foo=bar is different from FOO=bar. 39 | ; Directives are variables used to configure PHP or PHP extensions. 40 | ; There is no name validation. If PHP can't find an expected 41 | ; directive because it is not set or is mistyped, a default value will be used. 42 | 43 | ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one 44 | ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression 45 | ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a 46 | ; previously set variable or directive (e.g. ${foo}) 47 | 48 | ; Expressions in the INI file are limited to bitwise operators and parentheses: 49 | ; | bitwise OR 50 | ; ^ bitwise XOR 51 | ; & bitwise AND 52 | ; ~ bitwise NOT 53 | ; ! boolean NOT 54 | 55 | ; Boolean flags can be turned on using the values 1, On, True or Yes. 56 | ; They can be turned off using the values 0, Off, False or No. 57 | 58 | ; An empty string can be denoted by simply not writing anything after the equal 59 | ; sign, or by using the None keyword: 60 | 61 | ; foo = ; sets foo to an empty string 62 | ; foo = None ; sets foo to an empty string 63 | ; foo = "None" ; sets foo to the string 'None' 64 | 65 | ; If you use constants in your value, and these constants belong to a 66 | ; dynamically loaded extension (either a PHP extension or a Zend extension), 67 | ; you may only use these constants *after* the line that loads the extension. 68 | 69 | ;;;;;;;;;;;;;;;;;;; 70 | ; About this file ; 71 | ;;;;;;;;;;;;;;;;;;; 72 | ; PHP comes packaged with two INI files. One that is recommended to be used 73 | ; in production environments and one that is recommended to be used in 74 | ; development environments. 75 | 76 | ; php.ini-production contains settings which hold security, performance and 77 | ; best practices at its core. But please be aware, these settings may break 78 | ; compatibility with older or less security conscience applications. We 79 | ; recommending using the production ini in production and testing environments. 80 | 81 | ; php.ini-development is very similar to its production variant, except it's 82 | ; much more verbose when it comes to errors. We recommending using the 83 | ; development version only in development environments as errors shown to 84 | ; application users can inadvertently leak otherwise secure information. 85 | 86 | ; This is php.ini-production INI file. 87 | 88 | ;;;;;;;;;;;;;;;;;;; 89 | ; Quick Reference ; 90 | ;;;;;;;;;;;;;;;;;;; 91 | ; The following are all the settings which are different in either the production 92 | ; or development versions of the INIs with respect to PHP's default behavior. 93 | ; Please see the actual settings later in the document for more details as to why 94 | ; we recommend these changes in PHP's behavior. 95 | 96 | ; display_errors 97 | ; Default Value: On 98 | ; Development Value: On 99 | ; Production Value: Off 100 | 101 | ; display_startup_errors 102 | ; Default Value: Off 103 | ; Development Value: On 104 | ; Production Value: Off 105 | 106 | ; error_reporting 107 | ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED 108 | ; Development Value: E_ALL 109 | ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT 110 | 111 | ; html_errors 112 | ; Default Value: On 113 | ; Development Value: On 114 | ; Production value: On 115 | 116 | ; log_errors 117 | ; Default Value: Off 118 | ; Development Value: On 119 | ; Production Value: On 120 | 121 | ; max_input_time 122 | ; Default Value: -1 (Unlimited) 123 | ; Development Value: 60 (60 seconds) 124 | ; Production Value: 60 (60 seconds) 125 | 126 | ; output_buffering 127 | ; Default Value: Off 128 | ; Development Value: 4096 129 | ; Production Value: 4096 130 | 131 | ; register_argc_argv 132 | ; Default Value: On 133 | ; Development Value: Off 134 | ; Production Value: Off 135 | 136 | ; request_order 137 | ; Default Value: None 138 | ; Development Value: "GP" 139 | ; Production Value: "GP" 140 | 141 | ; session.bug_compat_42 142 | ; Default Value: On 143 | ; Development Value: On 144 | ; Production Value: Off 145 | 146 | ; session.bug_compat_warn 147 | ; Default Value: On 148 | ; Development Value: On 149 | ; Production Value: Off 150 | 151 | ; session.gc_divisor 152 | ; Default Value: 100 153 | ; Development Value: 1000 154 | ; Production Value: 1000 155 | 156 | ; session.hash_bits_per_character 157 | ; Default Value: 4 158 | ; Development Value: 5 159 | ; Production Value: 5 160 | 161 | ; short_open_tag 162 | ; Default Value: On 163 | ; Development Value: Off 164 | ; Production Value: Off 165 | 166 | ; track_errors 167 | ; Default Value: Off 168 | ; Development Value: On 169 | ; Production Value: Off 170 | 171 | ; url_rewriter.tags 172 | ; Default Value: "a=href,area=href,frame=src,form=,fieldset=" 173 | ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry" 174 | ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry" 175 | 176 | ; variables_order 177 | ; Default Value: "EGPCS" 178 | ; Development Value: "GPCS" 179 | ; Production Value: "GPCS" 180 | 181 | ;;;;;;;;;;;;;;;;;;;; 182 | ; php.ini Options ; 183 | ;;;;;;;;;;;;;;;;;;;; 184 | ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini" 185 | ;user_ini.filename = ".user.ini" 186 | 187 | ; To disable this feature set this option to empty value 188 | ;user_ini.filename = 189 | 190 | ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes) 191 | ;user_ini.cache_ttl = 300 192 | 193 | ;;;;;;;;;;;;;;;;;;;; 194 | ; Language Options ; 195 | ;;;;;;;;;;;;;;;;;;;; 196 | 197 | ; Enable the PHP scripting language engine under Apache. 198 | ; http://php.net/engine 199 | engine = On 200 | 201 | ; This directive determines whether or not PHP will recognize code between 202 | ; tags as PHP source which should be processed as such. It is 203 | ; generally recommended that should be used and that this feature 204 | ; should be disabled, as enabling it may result in issues when generating XML 205 | ; documents, however this remains supported for backward compatibility reasons. 206 | ; Note that this directive does not control the tags. 215 | ; http://php.net/asp-tags 216 | asp_tags = Off 217 | 218 | ; The number of significant digits displayed in floating point numbers. 219 | ; http://php.net/precision 220 | precision = 14 221 | 222 | ; Output buffering is a mechanism for controlling how much output data 223 | ; (excluding headers and cookies) PHP should keep internally before pushing that 224 | ; data to the client. If your application's output exceeds this setting, PHP 225 | ; will send that data in chunks of roughly the size you specify. 226 | ; Turning on this setting and managing its maximum buffer size can yield some 227 | ; interesting side-effects depending on your application and web server. 228 | ; You may be able to send headers and cookies after you've already sent output 229 | ; through print or echo. You also may see performance benefits if your server is 230 | ; emitting less packets due to buffered output versus PHP streaming the output 231 | ; as it gets it. On production servers, 4096 bytes is a good setting for performance 232 | ; reasons. 233 | ; Note: Output buffering can also be controlled via Output Buffering Control 234 | ; functions. 235 | ; Possible Values: 236 | ; On = Enabled and buffer is unlimited. (Use with caution) 237 | ; Off = Disabled 238 | ; Integer = Enables the buffer and sets its maximum size in bytes. 239 | ; Note: This directive is hardcoded to Off for the CLI SAPI 240 | ; Default Value: Off 241 | ; Development Value: 4096 242 | ; Production Value: 4096 243 | ; http://php.net/output-buffering 244 | output_buffering = 16384 245 | 246 | ; You can redirect all of the output of your scripts to a function. For 247 | ; example, if you set output_handler to "mb_output_handler", character 248 | ; encoding will be transparently converted to the specified encoding. 249 | ; Setting any output handler automatically turns on output buffering. 250 | ; Note: People who wrote portable scripts should not depend on this ini 251 | ; directive. Instead, explicitly set the output handler using ob_start(). 252 | ; Using this ini directive may cause problems unless you know what script 253 | ; is doing. 254 | ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler" 255 | ; and you cannot use both "ob_gzhandler" and "zlib.output_compression". 256 | ; Note: output_handler must be empty if this is set 'On' !!!! 257 | ; Instead you must use zlib.output_handler. 258 | ; http://php.net/output-handler 259 | ;output_handler = 260 | 261 | ; Transparent output compression using the zlib library 262 | ; Valid values for this option are 'off', 'on', or a specific buffer size 263 | ; to be used for compression (default is 4KB) 264 | ; Note: Resulting chunk size may vary due to nature of compression. PHP 265 | ; outputs chunks that are few hundreds bytes each as a result of 266 | ; compression. If you prefer a larger chunk size for better 267 | ; performance, enable output_buffering in addition. 268 | ; Note: You need to use zlib.output_handler instead of the standard 269 | ; output_handler, or otherwise the output will be corrupted. 270 | ; http://php.net/zlib.output-compression 271 | zlib.output_compression = Off 272 | 273 | ; http://php.net/zlib.output-compression-level 274 | ;zlib.output_compression_level = -1 275 | 276 | ; You cannot specify additional output handlers if zlib.output_compression 277 | ; is activated here. This setting does the same as output_handler but in 278 | ; a different order. 279 | ; http://php.net/zlib.output-handler 280 | ;zlib.output_handler = 281 | 282 | ; Implicit flush tells PHP to tell the output layer to flush itself 283 | ; automatically after every output block. This is equivalent to calling the 284 | ; PHP function flush() after each and every call to print() or echo() and each 285 | ; and every HTML block. Turning this option on has serious performance 286 | ; implications and is generally recommended for debugging purposes only. 287 | ; http://php.net/implicit-flush 288 | ; Note: This directive is hardcoded to On for the CLI SAPI 289 | implicit_flush = Off 290 | 291 | ; The unserialize callback function will be called (with the undefined class' 292 | ; name as parameter), if the unserializer finds an undefined class 293 | ; which should be instantiated. A warning appears if the specified function is 294 | ; not defined, or if the function doesn't include/implement the missing class. 295 | ; So only set this entry, if you really want to implement such a 296 | ; callback-function. 297 | unserialize_callback_func = 298 | 299 | ; When floats & doubles are serialized store serialize_precision significant 300 | ; digits after the floating point. The default value ensures that when floats 301 | ; are decoded with unserialize, the data will remain the same. 302 | serialize_precision = 17 303 | 304 | ; open_basedir, if set, limits all file operations to the defined directory 305 | ; and below. This directive makes most sense if used in a per-directory 306 | ; or per-virtualhost web server configuration file. This directive is 307 | ; *NOT* affected by whether Safe Mode is turned On or Off. 308 | ; http://php.net/open-basedir 309 | ;open_basedir = 310 | 311 | ; This directive allows you to disable certain functions for security reasons. 312 | ; It receives a comma-delimited list of function names. This directive is 313 | ; *NOT* affected by whether Safe Mode is turned On or Off. 314 | ; http://php.net/disable-functions 315 | disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, 316 | 317 | ; This directive allows you to disable certain classes for security reasons. 318 | ; It receives a comma-delimited list of class names. This directive is 319 | ; *NOT* affected by whether Safe Mode is turned On or Off. 320 | ; http://php.net/disable-classes 321 | disable_classes = 322 | 323 | ; Colors for Syntax Highlighting mode. Anything that's acceptable in 324 | ; would work. 325 | ; http://php.net/syntax-highlighting 326 | ;highlight.string = #DD0000 327 | ;highlight.comment = #FF9900 328 | ;highlight.keyword = #007700 329 | ;highlight.default = #0000BB 330 | ;highlight.html = #000000 331 | 332 | ; If enabled, the request will be allowed to complete even if the user aborts 333 | ; the request. Consider enabling it if executing long requests, which may end up 334 | ; being interrupted by the user or a browser timing out. PHP's default behavior 335 | ; is to disable this feature. 336 | ; http://php.net/ignore-user-abort 337 | ;ignore_user_abort = On 338 | 339 | ; Determines the size of the realpath cache to be used by PHP. This value should 340 | ; be increased on systems where PHP opens many files to reflect the quantity of 341 | ; the file operations performed. 342 | ; http://php.net/realpath-cache-size 343 | ;realpath_cache_size = 16k 344 | 345 | ; Duration of time, in seconds for which to cache realpath information for a given 346 | ; file or directory. For systems with rarely changing files, consider increasing this 347 | ; value. 348 | ; http://php.net/realpath-cache-ttl 349 | ;realpath_cache_ttl = 120 350 | 351 | ; Enables or disables the circular reference collector. 352 | ; http://php.net/zend.enable-gc 353 | zend.enable_gc = On 354 | 355 | ; If enabled, scripts may be written in encodings that are incompatible with 356 | ; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such 357 | ; encodings. To use this feature, mbstring extension must be enabled. 358 | ; Default: Off 359 | ;zend.multibyte = Off 360 | 361 | ; Allows to set the default encoding for the scripts. This value will be used 362 | ; unless "declare(encoding=...)" directive appears at the top of the script. 363 | ; Only affects if zend.multibyte is set. 364 | ; Default: "" 365 | ;zend.script_encoding = 366 | 367 | ;;;;;;;;;;;;;;;;; 368 | ; Miscellaneous ; 369 | ;;;;;;;;;;;;;;;;; 370 | 371 | ; Decides whether PHP may expose the fact that it is installed on the server 372 | ; (e.g. by adding its signature to the Web server header). It is no security 373 | ; threat in any way, but it makes it possible to determine whether you use PHP 374 | ; on your server or not. 375 | ; http://php.net/expose-php 376 | expose_php = On 377 | 378 | ;;;;;;;;;;;;;;;;;;; 379 | ; Resource Limits ; 380 | ;;;;;;;;;;;;;;;;;;; 381 | 382 | ; Maximum execution time of each script, in seconds 383 | ; http://php.net/max-execution-time 384 | ; Note: This directive is hardcoded to 0 for the CLI SAPI 385 | max_execution_time = 30 386 | 387 | ; Maximum amount of time each script may spend parsing request data. It's a good 388 | ; idea to limit this time on productions servers in order to eliminate unexpectedly 389 | ; long running scripts. 390 | ; Note: This directive is hardcoded to -1 for the CLI SAPI 391 | ; Default Value: -1 (Unlimited) 392 | ; Development Value: 60 (60 seconds) 393 | ; Production Value: 60 (60 seconds) 394 | ; http://php.net/max-input-time 395 | max_input_time = 60 396 | 397 | ; Maximum input variable nesting level 398 | ; http://php.net/max-input-nesting-level 399 | ;max_input_nesting_level = 64 400 | 401 | ; How many GET/POST/COOKIE input variables may be accepted 402 | ; max_input_vars = 1000 403 | 404 | ; Maximum amount of memory a script may consume (128MB) 405 | ; http://php.net/memory-limit 406 | memory_limit = 128M 407 | 408 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 409 | ; Error handling and logging ; 410 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 411 | 412 | ; This directive informs PHP of which errors, warnings and notices you would like 413 | ; it to take action for. The recommended way of setting values for this 414 | ; directive is through the use of the error level constants and bitwise 415 | ; operators. The error level constants are below here for convenience as well as 416 | ; some common settings and their meanings. 417 | ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT 418 | ; those related to E_NOTICE and E_STRICT, which together cover best practices and 419 | ; recommended coding standards in PHP. For performance reasons, this is the 420 | ; recommend error reporting setting. Your production server shouldn't be wasting 421 | ; resources complaining about best practices and coding standards. That's what 422 | ; development servers and development settings are for. 423 | ; Note: The php.ini-development file has this setting as E_ALL. This 424 | ; means it pretty much reports everything which is exactly what you want during 425 | ; development and early testing. 426 | ; 427 | ; Error Level Constants: 428 | ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.0) 429 | ; E_ERROR - fatal run-time errors 430 | ; E_RECOVERABLE_ERROR - almost fatal run-time errors 431 | ; E_WARNING - run-time warnings (non-fatal errors) 432 | ; E_PARSE - compile-time parse errors 433 | ; E_NOTICE - run-time notices (these are warnings which often result 434 | ; from a bug in your code, but it's possible that it was 435 | ; intentional (e.g., using an uninitialized variable and 436 | ; relying on the fact it's automatically initialized to an 437 | ; empty string) 438 | ; E_STRICT - run-time notices, enable to have PHP suggest changes 439 | ; to your code which will ensure the best interoperability 440 | ; and forward compatibility of your code 441 | ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup 442 | ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's 443 | ; initial startup 444 | ; E_COMPILE_ERROR - fatal compile-time errors 445 | ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors) 446 | ; E_USER_ERROR - user-generated error message 447 | ; E_USER_WARNING - user-generated warning message 448 | ; E_USER_NOTICE - user-generated notice message 449 | ; E_DEPRECATED - warn about code that will not work in future versions 450 | ; of PHP 451 | ; E_USER_DEPRECATED - user-generated deprecation warnings 452 | ; 453 | ; Common Values: 454 | ; E_ALL (Show all errors, warnings and notices including coding standards.) 455 | ; E_ALL & ~E_NOTICE (Show all errors, except for notices) 456 | ; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.) 457 | ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors) 458 | ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED 459 | ; Development Value: E_ALL 460 | ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT 461 | ; http://php.net/error-reporting 462 | error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT 463 | 464 | ; This directive controls whether or not and where PHP will output errors, 465 | ; notices and warnings too. Error output is very useful during development, but 466 | ; it could be very dangerous in production environments. Depending on the code 467 | ; which is triggering the error, sensitive information could potentially leak 468 | ; out of your application such as database usernames and passwords or worse. 469 | ; It's recommended that errors be logged on production servers rather than 470 | ; having the errors sent to STDOUT. 471 | ; Possible Values: 472 | ; Off = Do not display any errors 473 | ; stderr = Display errors to STDERR (affects only CGI/CLI binaries!) 474 | ; On or stdout = Display errors to STDOUT 475 | ; Default Value: On 476 | ; Development Value: On 477 | ; Production Value: Off 478 | ; http://php.net/display-errors 479 | display_errors = Off 480 | 481 | ; The display of errors which occur during PHP's startup sequence are handled 482 | ; separately from display_errors. PHP's default behavior is to suppress those 483 | ; errors from clients. Turning the display of startup errors on can be useful in 484 | ; debugging configuration problems. But, it's strongly recommended that you 485 | ; leave this setting off on production servers. 486 | ; Default Value: Off 487 | ; Development Value: On 488 | ; Production Value: Off 489 | ; http://php.net/display-startup-errors 490 | display_startup_errors = Off 491 | 492 | ; Besides displaying errors, PHP can also log errors to locations such as a 493 | ; server-specific log, STDERR, or a location specified by the error_log 494 | ; directive found below. While errors should not be displayed on productions 495 | ; servers they should still be monitored and logging is a great way to do that. 496 | ; Default Value: Off 497 | ; Development Value: On 498 | ; Production Value: On 499 | ; http://php.net/log-errors 500 | log_errors = On 501 | 502 | ; Set maximum length of log_errors. In error_log information about the source is 503 | ; added. The default is 1024 and 0 allows to not apply any maximum length at all. 504 | ; http://php.net/log-errors-max-len 505 | log_errors_max_len = 1024 506 | 507 | ; Do not log repeated messages. Repeated errors must occur in same file on same 508 | ; line unless ignore_repeated_source is set true. 509 | ; http://php.net/ignore-repeated-errors 510 | ignore_repeated_errors = Off 511 | 512 | ; Ignore source of message when ignoring repeated messages. When this setting 513 | ; is On you will not log errors with repeated messages from different files or 514 | ; source lines. 515 | ; http://php.net/ignore-repeated-source 516 | ignore_repeated_source = Off 517 | 518 | ; If this parameter is set to Off, then memory leaks will not be shown (on 519 | ; stdout or in the log). This has only effect in a debug compile, and if 520 | ; error reporting includes E_WARNING in the allowed list 521 | ; http://php.net/report-memleaks 522 | report_memleaks = On 523 | 524 | ; This setting is on by default. 525 | ;report_zend_debug = 0 526 | 527 | ; Store the last error/warning message in $php_errormsg (boolean). Setting this value 528 | ; to On can assist in debugging and is appropriate for development servers. It should 529 | ; however be disabled on production servers. 530 | ; Default Value: Off 531 | ; Development Value: On 532 | ; Production Value: Off 533 | ; http://php.net/track-errors 534 | track_errors = Off 535 | 536 | ; Turn off normal error reporting and emit XML-RPC error XML 537 | ; http://php.net/xmlrpc-errors 538 | ;xmlrpc_errors = 0 539 | 540 | ; An XML-RPC faultCode 541 | ;xmlrpc_error_number = 0 542 | 543 | ; When PHP displays or logs an error, it has the capability of formatting the 544 | ; error message as HTML for easier reading. This directive controls whether 545 | ; the error message is formatted as HTML or not. 546 | ; Note: This directive is hardcoded to Off for the CLI SAPI 547 | ; Default Value: On 548 | ; Development Value: On 549 | ; Production value: On 550 | ; http://php.net/html-errors 551 | html_errors = On 552 | 553 | ; If html_errors is set to On *and* docref_root is not empty, then PHP 554 | ; produces clickable error messages that direct to a page describing the error 555 | ; or function causing the error in detail. 556 | ; You can download a copy of the PHP manual from http://php.net/docs 557 | ; and change docref_root to the base URL of your local copy including the 558 | ; leading '/'. You must also specify the file extension being used including 559 | ; the dot. PHP's default behavior is to leave these settings empty, in which 560 | ; case no links to documentation are generated. 561 | ; Note: Never use this feature for production boxes. 562 | ; http://php.net/docref-root 563 | ; Examples 564 | ;docref_root = "/phpmanual/" 565 | 566 | ; http://php.net/docref-ext 567 | ;docref_ext = .html 568 | 569 | ; String to output before an error message. PHP's default behavior is to leave 570 | ; this setting blank. 571 | ; http://php.net/error-prepend-string 572 | ; Example: 573 | ;error_prepend_string = "" 574 | 575 | ; String to output after an error message. PHP's default behavior is to leave 576 | ; this setting blank. 577 | ; http://php.net/error-append-string 578 | ; Example: 579 | ;error_append_string = "" 580 | 581 | ; Log errors to specified file. PHP's default behavior is to leave this value 582 | ; empty. 583 | ; http://php.net/error-log 584 | ; Example: 585 | ;error_log = php_errors.log 586 | ; Log errors to syslog (Event Log on NT, not valid in Windows 95). 587 | ;error_log = syslog 588 | 589 | ;windows.show_crt_warning 590 | ; Default value: 0 591 | ; Development value: 0 592 | ; Production value: 0 593 | 594 | ;;;;;;;;;;;;;;;;; 595 | ; Data Handling ; 596 | ;;;;;;;;;;;;;;;;; 597 | 598 | ; The separator used in PHP generated URLs to separate arguments. 599 | ; PHP's default setting is "&". 600 | ; http://php.net/arg-separator.output 601 | ; Example: 602 | ;arg_separator.output = "&" 603 | 604 | ; List of separator(s) used by PHP to parse input URLs into variables. 605 | ; PHP's default setting is "&". 606 | ; NOTE: Every character in this directive is considered as separator! 607 | ; http://php.net/arg-separator.input 608 | ; Example: 609 | ;arg_separator.input = ";&" 610 | 611 | ; This directive determines which super global arrays are registered when PHP 612 | ; starts up. G,P,C,E & S are abbreviations for the following respective super 613 | ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty 614 | ; paid for the registration of these arrays and because ENV is not as commonly 615 | ; used as the others, ENV is not recommended on productions servers. You 616 | ; can still get access to the environment variables through getenv() should you 617 | ; need to. 618 | ; Default Value: "EGPCS" 619 | ; Development Value: "GPCS" 620 | ; Production Value: "GPCS"; 621 | ; http://php.net/variables-order 622 | variables_order = "GPCS" 623 | 624 | ; This directive determines which super global data (G,P,C,E & S) should 625 | ; be registered into the super global array REQUEST. If so, it also determines 626 | ; the order in which that data is registered. The values for this directive are 627 | ; specified in the same manner as the variables_order directive, EXCEPT one. 628 | ; Leaving this value empty will cause PHP to use the value set in the 629 | ; variables_order directive. It does not mean it will leave the super globals 630 | ; array REQUEST empty. 631 | ; Default Value: None 632 | ; Development Value: "GP" 633 | ; Production Value: "GP" 634 | ; http://php.net/request-order 635 | request_order = "GP" 636 | 637 | ; This directive determines whether PHP registers $argv & $argc each time it 638 | ; runs. $argv contains an array of all the arguments passed to PHP when a script 639 | ; is invoked. $argc contains an integer representing the number of arguments 640 | ; that were passed when the script was invoked. These arrays are extremely 641 | ; useful when running scripts from the command line. When this directive is 642 | ; enabled, registering these variables consumes CPU cycles and memory each time 643 | ; a script is executed. For performance reasons, this feature should be disabled 644 | ; on production servers. 645 | ; Note: This directive is hardcoded to On for the CLI SAPI 646 | ; Default Value: On 647 | ; Development Value: Off 648 | ; Production Value: Off 649 | ; http://php.net/register-argc-argv 650 | register_argc_argv = Off 651 | 652 | ; When enabled, the ENV, REQUEST and SERVER variables are created when they're 653 | ; first used (Just In Time) instead of when the script starts. If these 654 | ; variables are not used within a script, having this directive on will result 655 | ; in a performance gain. The PHP directive register_argc_argv must be disabled 656 | ; for this directive to have any affect. 657 | ; http://php.net/auto-globals-jit 658 | auto_globals_jit = On 659 | 660 | ; Whether PHP will read the POST data. 661 | ; This option is enabled by default. 662 | ; Most likely, you won't want to disable this option globally. It causes $_POST 663 | ; and $_FILES to always be empty; the only way you will be able to read the 664 | ; POST data will be through the php://input stream wrapper. This can be useful 665 | ; to proxy requests or to process the POST data in a memory efficient fashion. 666 | ; http://php.net/enable-post-data-reading 667 | ;enable_post_data_reading = Off 668 | 669 | ; Maximum size of POST data that PHP will accept. 670 | ; Its value may be 0 to disable the limit. It is ignored if POST data reading 671 | ; is disabled through enable_post_data_reading. 672 | ; http://php.net/post-max-size 673 | post_max_size = 16G 674 | 675 | ; Automatically add files before PHP document. 676 | ; http://php.net/auto-prepend-file 677 | auto_prepend_file = 678 | 679 | ; Automatically add files after PHP document. 680 | ; http://php.net/auto-append-file 681 | auto_append_file = 682 | 683 | ; By default, PHP will output a character encoding using 684 | ; the Content-type: header. To disable sending of the charset, simply 685 | ; set it to be empty. 686 | ; 687 | ; PHP's built-in default is text/html 688 | ; http://php.net/default-mimetype 689 | default_mimetype = "text/html" 690 | 691 | ; PHP's default character set is set to empty. 692 | ; http://php.net/default-charset 693 | ;default_charset = "UTF-8" 694 | 695 | ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is 696 | ; to disable this feature. If post reading is disabled through 697 | ; enable_post_data_reading, $HTTP_RAW_POST_DATA is *NOT* populated. 698 | ; http://php.net/always-populate-raw-post-data 699 | always_populate_raw_post_data = Off 700 | 701 | ;;;;;;;;;;;;;;;;;;;;;;;;; 702 | ; Paths and Directories ; 703 | ;;;;;;;;;;;;;;;;;;;;;;;;; 704 | 705 | ; UNIX: "/path1:/path2" 706 | ;include_path = ".:/usr/share/php" 707 | ; 708 | ; Windows: "\path1;\path2" 709 | ;include_path = ".;c:\php\includes" 710 | ; 711 | ; PHP's default setting for include_path is ".;/path/to/php/pear" 712 | ; http://php.net/include-path 713 | 714 | ; The root of the PHP pages, used only if nonempty. 715 | ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root 716 | ; if you are running php as a CGI under any web server (other than IIS) 717 | ; see documentation for security issues. The alternate is to use the 718 | ; cgi.force_redirect configuration below 719 | ; http://php.net/doc-root 720 | doc_root = 721 | 722 | ; The directory under which PHP opens the script using /~username used only 723 | ; if nonempty. 724 | ; http://php.net/user-dir 725 | user_dir = 726 | 727 | ; Directory in which the loadable extensions (modules) reside. 728 | ; http://php.net/extension-dir 729 | ; extension_dir = "./" 730 | ; On windows: 731 | ; extension_dir = "ext" 732 | 733 | ; Directory where the temporary files should be placed. 734 | ; Defaults to the system default (see sys_get_temp_dir) 735 | ; sys_temp_dir = "/tmp" 736 | 737 | ; Whether or not to enable the dl() function. The dl() function does NOT work 738 | ; properly in multithreaded servers, such as IIS or Zeus, and is automatically 739 | ; disabled on them. 740 | ; http://php.net/enable-dl 741 | enable_dl = Off 742 | 743 | ; cgi.force_redirect is necessary to provide security running PHP as a CGI under 744 | ; most web servers. Left undefined, PHP turns this on by default. You can 745 | ; turn it off here AT YOUR OWN RISK 746 | ; **You CAN safely turn this off for IIS, in fact, you MUST.** 747 | ; http://php.net/cgi.force-redirect 748 | ;cgi.force_redirect = 1 749 | 750 | ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with 751 | ; every request. PHP's default behavior is to disable this feature. 752 | ;cgi.nph = 1 753 | 754 | ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 755 | ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP 756 | ; will look for to know it is OK to continue execution. Setting this variable MAY 757 | ; cause security issues, KNOW WHAT YOU ARE DOING FIRST. 758 | ; http://php.net/cgi.redirect-status-env 759 | ;cgi.redirect_status_env = 760 | 761 | ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's 762 | ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok 763 | ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting 764 | ; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting 765 | ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts 766 | ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED. 767 | ; http://php.net/cgi.fix-pathinfo 768 | ;cgi.fix_pathinfo=1 769 | 770 | ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate 771 | ; security tokens of the calling client. This allows IIS to define the 772 | ; security context that the request runs under. mod_fastcgi under Apache 773 | ; does not currently support this feature (03/17/2002) 774 | ; Set to 1 if running under IIS. Default is zero. 775 | ; http://php.net/fastcgi.impersonate 776 | ;fastcgi.impersonate = 1 777 | 778 | ; Disable logging through FastCGI connection. PHP's default behavior is to enable 779 | ; this feature. 780 | ;fastcgi.logging = 0 781 | 782 | ; cgi.rfc2616_headers configuration option tells PHP what type of headers to 783 | ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that 784 | ; is supported by Apache. When this option is set to 1 PHP will send 785 | ; RFC2616 compliant header. 786 | ; Default is zero. 787 | ; http://php.net/cgi.rfc2616-headers 788 | ;cgi.rfc2616_headers = 0 789 | 790 | ;;;;;;;;;;;;;;;; 791 | ; File Uploads ; 792 | ;;;;;;;;;;;;;;;; 793 | 794 | ; Whether to allow HTTP file uploads. 795 | ; http://php.net/file-uploads 796 | file_uploads = On 797 | 798 | ; Temporary directory for HTTP uploaded files (will use system default if not 799 | ; specified). 800 | ; http://php.net/upload-tmp-dir 801 | ;upload_tmp_dir = 802 | 803 | ; Maximum allowed size for uploaded files. 804 | ; http://php.net/upload-max-filesize 805 | upload_max_filesize = 16G 806 | 807 | ; Maximum number of files that can be uploaded via a single request 808 | max_file_uploads = 20 809 | 810 | ;;;;;;;;;;;;;;;;;; 811 | ; Fopen wrappers ; 812 | ;;;;;;;;;;;;;;;;;; 813 | 814 | ; Whether to allow the treatment of URLs (like http:// or ftp://) as files. 815 | ; http://php.net/allow-url-fopen 816 | allow_url_fopen = On 817 | 818 | ; Whether to allow include/require to open URLs (like http:// or ftp://) as files. 819 | ; http://php.net/allow-url-include 820 | allow_url_include = Off 821 | 822 | ; Define the anonymous ftp password (your email address). PHP's default setting 823 | ; for this is empty. 824 | ; http://php.net/from 825 | ;from="john@doe.com" 826 | 827 | ; Define the User-Agent string. PHP's default setting for this is empty. 828 | ; http://php.net/user-agent 829 | ;user_agent="PHP" 830 | 831 | ; Default timeout for socket based streams (seconds) 832 | ; http://php.net/default-socket-timeout 833 | default_socket_timeout = 60 834 | 835 | ; If your scripts have to deal with files from Macintosh systems, 836 | ; or you are running on a Mac and need to deal with files from 837 | ; unix or win32 systems, setting this flag will cause PHP to 838 | ; automatically detect the EOL character in those files so that 839 | ; fgets() and file() will work regardless of the source of the file. 840 | ; http://php.net/auto-detect-line-endings 841 | ;auto_detect_line_endings = Off 842 | 843 | ;;;;;;;;;;;;;;;;;;;;;; 844 | ; Dynamic Extensions ; 845 | ;;;;;;;;;;;;;;;;;;;;;; 846 | 847 | ; If you wish to have an extension loaded automatically, use the following 848 | ; syntax: 849 | ; 850 | ; extension=modulename.extension 851 | ; 852 | ; For example, on Windows: 853 | ; 854 | ; extension=msql.dll 855 | ; 856 | ; ... or under UNIX: 857 | ; 858 | ; extension=msql.so 859 | ; 860 | ; ... or with a path: 861 | ; 862 | ; extension=/path/to/extension/msql.so 863 | ; 864 | ; If you only provide the name of the extension, PHP will look for it in its 865 | ; default extension directory. 866 | ; 867 | 868 | ;;;;;;;;;;;;;;;;;;; 869 | ; Module Settings ; 870 | ;;;;;;;;;;;;;;;;;;; 871 | 872 | [CLI Server] 873 | ; Whether the CLI web server uses ANSI color coding in its terminal output. 874 | cli_server.color = On 875 | 876 | [Date] 877 | ; Defines the default timezone used by the date functions 878 | ; http://php.net/date.timezone 879 | ;date.timezone = 880 | 881 | ; http://php.net/date.default-latitude 882 | ;date.default_latitude = 31.7667 883 | 884 | ; http://php.net/date.default-longitude 885 | ;date.default_longitude = 35.2333 886 | 887 | ; http://php.net/date.sunrise-zenith 888 | ;date.sunrise_zenith = 90.583333 889 | 890 | ; http://php.net/date.sunset-zenith 891 | ;date.sunset_zenith = 90.583333 892 | 893 | [filter] 894 | ; http://php.net/filter.default 895 | ;filter.default = unsafe_raw 896 | 897 | ; http://php.net/filter.default-flags 898 | ;filter.default_flags = 899 | 900 | [iconv] 901 | ;iconv.input_encoding = ISO-8859-1 902 | ;iconv.internal_encoding = ISO-8859-1 903 | ;iconv.output_encoding = ISO-8859-1 904 | 905 | [intl] 906 | ;intl.default_locale = 907 | ; This directive allows you to produce PHP errors when some error 908 | ; happens within intl functions. The value is the level of the error produced. 909 | ; Default is 0, which does not produce any errors. 910 | ;intl.error_level = E_WARNING 911 | 912 | [sqlite] 913 | ; http://php.net/sqlite.assoc-case 914 | ;sqlite.assoc_case = 0 915 | 916 | [sqlite3] 917 | ;sqlite3.extension_dir = 918 | 919 | [Pcre] 920 | ;PCRE library backtracking limit. 921 | ; http://php.net/pcre.backtrack-limit 922 | ;pcre.backtrack_limit=100000 923 | 924 | ;PCRE library recursion limit. 925 | ;Please note that if you set this value to a high number you may consume all 926 | ;the available process stack and eventually crash PHP (due to reaching the 927 | ;stack size limit imposed by the Operating System). 928 | ; http://php.net/pcre.recursion-limit 929 | ;pcre.recursion_limit=100000 930 | 931 | [Pdo] 932 | ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off" 933 | ; http://php.net/pdo-odbc.connection-pooling 934 | ;pdo_odbc.connection_pooling=strict 935 | 936 | ;pdo_odbc.db2_instance_name 937 | 938 | [Pdo_mysql] 939 | ; If mysqlnd is used: Number of cache slots for the internal result set cache 940 | ; http://php.net/pdo_mysql.cache_size 941 | pdo_mysql.cache_size = 2000 942 | 943 | ; Default socket name for local MySQL connects. If empty, uses the built-in 944 | ; MySQL defaults. 945 | ; http://php.net/pdo_mysql.default-socket 946 | pdo_mysql.default_socket= 947 | 948 | [Phar] 949 | ; http://php.net/phar.readonly 950 | ;phar.readonly = On 951 | 952 | ; http://php.net/phar.require-hash 953 | ;phar.require_hash = On 954 | 955 | ;phar.cache_list = 956 | 957 | [mail function] 958 | ; For Win32 only. 959 | ; http://php.net/smtp 960 | SMTP = localhost 961 | ; http://php.net/smtp-port 962 | smtp_port = 25 963 | 964 | ; For Win32 only. 965 | ; http://php.net/sendmail-from 966 | ;sendmail_from = me@example.com 967 | 968 | ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). 969 | ; http://php.net/sendmail-path 970 | ;sendmail_path = 971 | 972 | ; Force the addition of the specified parameters to be passed as extra parameters 973 | ; to the sendmail binary. These parameters will always replace the value of 974 | ; the 5th parameter to mail(), even in safe mode. 975 | ;mail.force_extra_parameters = 976 | 977 | ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename 978 | mail.add_x_header = On 979 | 980 | ; The path to a log file that will log all mail() calls. Log entries include 981 | ; the full path of the script, line number, To address and headers. 982 | ;mail.log = 983 | ; Log mail to syslog (Event Log on NT, not valid in Windows 95). 984 | ;mail.log = syslog 985 | 986 | [SQL] 987 | ; http://php.net/sql.safe-mode 988 | sql.safe_mode = Off 989 | 990 | [ODBC] 991 | ; http://php.net/odbc.default-db 992 | ;odbc.default_db = Not yet implemented 993 | 994 | ; http://php.net/odbc.default-user 995 | ;odbc.default_user = Not yet implemented 996 | 997 | ; http://php.net/odbc.default-pw 998 | ;odbc.default_pw = Not yet implemented 999 | 1000 | ; Controls the ODBC cursor model. 1001 | ; Default: SQL_CURSOR_STATIC (default). 1002 | ;odbc.default_cursortype 1003 | 1004 | ; Allow or prevent persistent links. 1005 | ; http://php.net/odbc.allow-persistent 1006 | odbc.allow_persistent = On 1007 | 1008 | ; Check that a connection is still valid before reuse. 1009 | ; http://php.net/odbc.check-persistent 1010 | odbc.check_persistent = On 1011 | 1012 | ; Maximum number of persistent links. -1 means no limit. 1013 | ; http://php.net/odbc.max-persistent 1014 | odbc.max_persistent = -1 1015 | 1016 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. 1017 | ; http://php.net/odbc.max-links 1018 | odbc.max_links = -1 1019 | 1020 | ; Handling of LONG fields. Returns number of bytes to variables. 0 means 1021 | ; passthru. 1022 | ; http://php.net/odbc.defaultlrl 1023 | odbc.defaultlrl = 4096 1024 | 1025 | ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char. 1026 | ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation 1027 | ; of odbc.defaultlrl and odbc.defaultbinmode 1028 | ; http://php.net/odbc.defaultbinmode 1029 | odbc.defaultbinmode = 1 1030 | 1031 | ;birdstep.max_links = -1 1032 | 1033 | [Interbase] 1034 | ; Allow or prevent persistent links. 1035 | ibase.allow_persistent = 1 1036 | 1037 | ; Maximum number of persistent links. -1 means no limit. 1038 | ibase.max_persistent = -1 1039 | 1040 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. 1041 | ibase.max_links = -1 1042 | 1043 | ; Default database name for ibase_connect(). 1044 | ;ibase.default_db = 1045 | 1046 | ; Default username for ibase_connect(). 1047 | ;ibase.default_user = 1048 | 1049 | ; Default password for ibase_connect(). 1050 | ;ibase.default_password = 1051 | 1052 | ; Default charset for ibase_connect(). 1053 | ;ibase.default_charset = 1054 | 1055 | ; Default timestamp format. 1056 | ibase.timestampformat = "%Y-%m-%d %H:%M:%S" 1057 | 1058 | ; Default date format. 1059 | ibase.dateformat = "%Y-%m-%d" 1060 | 1061 | ; Default time format. 1062 | ibase.timeformat = "%H:%M:%S" 1063 | 1064 | [MySQL] 1065 | ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements 1066 | ; http://php.net/mysql.allow_local_infile 1067 | mysql.allow_local_infile = On 1068 | 1069 | ; Allow or prevent persistent links. 1070 | ; http://php.net/mysql.allow-persistent 1071 | mysql.allow_persistent = On 1072 | 1073 | ; If mysqlnd is used: Number of cache slots for the internal result set cache 1074 | ; http://php.net/mysql.cache_size 1075 | mysql.cache_size = 2000 1076 | 1077 | ; Maximum number of persistent links. -1 means no limit. 1078 | ; http://php.net/mysql.max-persistent 1079 | mysql.max_persistent = -1 1080 | 1081 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. 1082 | ; http://php.net/mysql.max-links 1083 | mysql.max_links = -1 1084 | 1085 | ; Default port number for mysql_connect(). If unset, mysql_connect() will use 1086 | ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the 1087 | ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look 1088 | ; at MYSQL_PORT. 1089 | ; http://php.net/mysql.default-port 1090 | mysql.default_port = 1091 | 1092 | ; Default socket name for local MySQL connects. If empty, uses the built-in 1093 | ; MySQL defaults. 1094 | ; http://php.net/mysql.default-socket 1095 | mysql.default_socket = 1096 | 1097 | ; Default host for mysql_connect() (doesn't apply in safe mode). 1098 | ; http://php.net/mysql.default-host 1099 | mysql.default_host = 1100 | 1101 | ; Default user for mysql_connect() (doesn't apply in safe mode). 1102 | ; http://php.net/mysql.default-user 1103 | mysql.default_user = 1104 | 1105 | ; Default password for mysql_connect() (doesn't apply in safe mode). 1106 | ; Note that this is generally a *bad* idea to store passwords in this file. 1107 | ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password") 1108 | ; and reveal this password! And of course, any users with read access to this 1109 | ; file will be able to reveal the password as well. 1110 | ; http://php.net/mysql.default-password 1111 | mysql.default_password = 1112 | 1113 | ; Maximum time (in seconds) for connect timeout. -1 means no limit 1114 | ; http://php.net/mysql.connect-timeout 1115 | mysql.connect_timeout = 60 1116 | 1117 | ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and 1118 | ; SQL-Errors will be displayed. 1119 | ; http://php.net/mysql.trace-mode 1120 | mysql.trace_mode = Off 1121 | 1122 | [MySQLi] 1123 | 1124 | ; Maximum number of persistent links. -1 means no limit. 1125 | ; http://php.net/mysqli.max-persistent 1126 | mysqli.max_persistent = -1 1127 | 1128 | ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements 1129 | ; http://php.net/mysqli.allow_local_infile 1130 | ;mysqli.allow_local_infile = On 1131 | 1132 | ; Allow or prevent persistent links. 1133 | ; http://php.net/mysqli.allow-persistent 1134 | mysqli.allow_persistent = On 1135 | 1136 | ; Maximum number of links. -1 means no limit. 1137 | ; http://php.net/mysqli.max-links 1138 | mysqli.max_links = -1 1139 | 1140 | ; If mysqlnd is used: Number of cache slots for the internal result set cache 1141 | ; http://php.net/mysqli.cache_size 1142 | mysqli.cache_size = 2000 1143 | 1144 | ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use 1145 | ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the 1146 | ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look 1147 | ; at MYSQL_PORT. 1148 | ; http://php.net/mysqli.default-port 1149 | mysqli.default_port = 3306 1150 | 1151 | ; Default socket name for local MySQL connects. If empty, uses the built-in 1152 | ; MySQL defaults. 1153 | ; http://php.net/mysqli.default-socket 1154 | mysqli.default_socket = 1155 | 1156 | ; Default host for mysql_connect() (doesn't apply in safe mode). 1157 | ; http://php.net/mysqli.default-host 1158 | mysqli.default_host = 1159 | 1160 | ; Default user for mysql_connect() (doesn't apply in safe mode). 1161 | ; http://php.net/mysqli.default-user 1162 | mysqli.default_user = 1163 | 1164 | ; Default password for mysqli_connect() (doesn't apply in safe mode). 1165 | ; Note that this is generally a *bad* idea to store passwords in this file. 1166 | ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw") 1167 | ; and reveal this password! And of course, any users with read access to this 1168 | ; file will be able to reveal the password as well. 1169 | ; http://php.net/mysqli.default-pw 1170 | mysqli.default_pw = 1171 | 1172 | ; Allow or prevent reconnect 1173 | mysqli.reconnect = Off 1174 | 1175 | [mysqlnd] 1176 | ; Enable / Disable collection of general statistics by mysqlnd which can be 1177 | ; used to tune and monitor MySQL operations. 1178 | ; http://php.net/mysqlnd.collect_statistics 1179 | mysqlnd.collect_statistics = On 1180 | 1181 | ; Enable / Disable collection of memory usage statistics by mysqlnd which can be 1182 | ; used to tune and monitor MySQL operations. 1183 | ; http://php.net/mysqlnd.collect_memory_statistics 1184 | mysqlnd.collect_memory_statistics = Off 1185 | 1186 | ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes. 1187 | ; http://php.net/mysqlnd.net_cmd_buffer_size 1188 | ;mysqlnd.net_cmd_buffer_size = 2048 1189 | 1190 | ; Size of a pre-allocated buffer used for reading data sent by the server in 1191 | ; bytes. 1192 | ; http://php.net/mysqlnd.net_read_buffer_size 1193 | ;mysqlnd.net_read_buffer_size = 32768 1194 | 1195 | [OCI8] 1196 | 1197 | ; Connection: Enables privileged connections using external 1198 | ; credentials (OCI_SYSOPER, OCI_SYSDBA) 1199 | ; http://php.net/oci8.privileged-connect 1200 | ;oci8.privileged_connect = Off 1201 | 1202 | ; Connection: The maximum number of persistent OCI8 connections per 1203 | ; process. Using -1 means no limit. 1204 | ; http://php.net/oci8.max-persistent 1205 | ;oci8.max_persistent = -1 1206 | 1207 | ; Connection: The maximum number of seconds a process is allowed to 1208 | ; maintain an idle persistent connection. Using -1 means idle 1209 | ; persistent connections will be maintained forever. 1210 | ; http://php.net/oci8.persistent-timeout 1211 | ;oci8.persistent_timeout = -1 1212 | 1213 | ; Connection: The number of seconds that must pass before issuing a 1214 | ; ping during oci_pconnect() to check the connection validity. When 1215 | ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables 1216 | ; pings completely. 1217 | ; http://php.net/oci8.ping-interval 1218 | ;oci8.ping_interval = 60 1219 | 1220 | ; Connection: Set this to a user chosen connection class to be used 1221 | ; for all pooled server requests with Oracle 11g Database Resident 1222 | ; Connection Pooling (DRCP). To use DRCP, this value should be set to 1223 | ; the same string for all web servers running the same application, 1224 | ; the database pool must be configured, and the connection string must 1225 | ; specify to use a pooled server. 1226 | ;oci8.connection_class = 1227 | 1228 | ; High Availability: Using On lets PHP receive Fast Application 1229 | ; Notification (FAN) events generated when a database node fails. The 1230 | ; database must also be configured to post FAN events. 1231 | ;oci8.events = Off 1232 | 1233 | ; Tuning: This option enables statement caching, and specifies how 1234 | ; many statements to cache. Using 0 disables statement caching. 1235 | ; http://php.net/oci8.statement-cache-size 1236 | ;oci8.statement_cache_size = 20 1237 | 1238 | ; Tuning: Enables statement prefetching and sets the default number of 1239 | ; rows that will be fetched automatically after statement execution. 1240 | ; http://php.net/oci8.default-prefetch 1241 | ;oci8.default_prefetch = 100 1242 | 1243 | ; Compatibility. Using On means oci_close() will not close 1244 | ; oci_connect() and oci_new_connect() connections. 1245 | ; http://php.net/oci8.old-oci-close-semantics 1246 | ;oci8.old_oci_close_semantics = Off 1247 | 1248 | [PostgreSQL] 1249 | ; Allow or prevent persistent links. 1250 | ; http://php.net/pgsql.allow-persistent 1251 | pgsql.allow_persistent = On 1252 | 1253 | ; Detect broken persistent links always with pg_pconnect(). 1254 | ; Auto reset feature requires a little overheads. 1255 | ; http://php.net/pgsql.auto-reset-persistent 1256 | pgsql.auto_reset_persistent = Off 1257 | 1258 | ; Maximum number of persistent links. -1 means no limit. 1259 | ; http://php.net/pgsql.max-persistent 1260 | pgsql.max_persistent = -1 1261 | 1262 | ; Maximum number of links (persistent+non persistent). -1 means no limit. 1263 | ; http://php.net/pgsql.max-links 1264 | pgsql.max_links = -1 1265 | 1266 | ; Ignore PostgreSQL backends Notice message or not. 1267 | ; Notice message logging require a little overheads. 1268 | ; http://php.net/pgsql.ignore-notice 1269 | pgsql.ignore_notice = 0 1270 | 1271 | ; Log PostgreSQL backends Notice message or not. 1272 | ; Unless pgsql.ignore_notice=0, module cannot log notice message. 1273 | ; http://php.net/pgsql.log-notice 1274 | pgsql.log_notice = 0 1275 | 1276 | [Sybase-CT] 1277 | ; Allow or prevent persistent links. 1278 | ; http://php.net/sybct.allow-persistent 1279 | sybct.allow_persistent = On 1280 | 1281 | ; Maximum number of persistent links. -1 means no limit. 1282 | ; http://php.net/sybct.max-persistent 1283 | sybct.max_persistent = -1 1284 | 1285 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. 1286 | ; http://php.net/sybct.max-links 1287 | sybct.max_links = -1 1288 | 1289 | ; Minimum server message severity to display. 1290 | ; http://php.net/sybct.min-server-severity 1291 | sybct.min_server_severity = 10 1292 | 1293 | ; Minimum client message severity to display. 1294 | ; http://php.net/sybct.min-client-severity 1295 | sybct.min_client_severity = 10 1296 | 1297 | ; Set per-context timeout 1298 | ; http://php.net/sybct.timeout 1299 | ;sybct.timeout= 1300 | 1301 | ;sybct.packet_size 1302 | 1303 | ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure. 1304 | ; Default: one minute 1305 | ;sybct.login_timeout= 1306 | 1307 | ; The name of the host you claim to be connecting from, for display by sp_who. 1308 | ; Default: none 1309 | ;sybct.hostname= 1310 | 1311 | ; Allows you to define how often deadlocks are to be retried. -1 means "forever". 1312 | ; Default: 0 1313 | ;sybct.deadlock_retry_count= 1314 | 1315 | [bcmath] 1316 | ; Number of decimal digits for all bcmath functions. 1317 | ; http://php.net/bcmath.scale 1318 | bcmath.scale = 0 1319 | 1320 | [browscap] 1321 | ; http://php.net/browscap 1322 | ;browscap = extra/browscap.ini 1323 | 1324 | [Session] 1325 | ; Handler used to store/retrieve data. 1326 | ; http://php.net/session.save-handler 1327 | session.save_handler = files 1328 | 1329 | ; Argument passed to save_handler. In the case of files, this is the path 1330 | ; where data files are stored. Note: Windows users have to change this 1331 | ; variable in order to use PHP's session functions. 1332 | ; 1333 | ; The path can be defined as: 1334 | ; 1335 | ; session.save_path = "N;/path" 1336 | ; 1337 | ; where N is an integer. Instead of storing all the session files in 1338 | ; /path, what this will do is use subdirectories N-levels deep, and 1339 | ; store the session data in those directories. This is useful if you 1340 | ; or your OS have problems with lots of files in one directory, and is 1341 | ; a more efficient layout for servers that handle lots of sessions. 1342 | ; 1343 | ; NOTE 1: PHP will not create this directory structure automatically. 1344 | ; You can use the script in the ext/session dir for that purpose. 1345 | ; NOTE 2: See the section on garbage collection below if you choose to 1346 | ; use subdirectories for session storage 1347 | ; 1348 | ; The file storage module creates files using mode 600 by default. 1349 | ; You can change that by using 1350 | ; 1351 | ; session.save_path = "N;MODE;/path" 1352 | ; 1353 | ; where MODE is the octal representation of the mode. Note that this 1354 | ; does not overwrite the process's umask. 1355 | ; http://php.net/session.save-path 1356 | ;session.save_path = "/var/lib/php5" 1357 | 1358 | ; Whether to use strict session mode. 1359 | ; Strict session mode does not accept uninitialized session ID and regenerate 1360 | ; session ID if browser sends uninitialized session ID. Strict mode protects 1361 | ; applications from session fixation via session adoption vulnerability. It is 1362 | ; disabled by default for maximum compatibility, but enabling it is encouraged. 1363 | ; https://wiki.php.net/rfc/strict_sessions 1364 | session.use_strict_mode = 0 1365 | 1366 | ; Whether to use cookies. 1367 | ; http://php.net/session.use-cookies 1368 | session.use_cookies = 1 1369 | 1370 | ; http://php.net/session.cookie-secure 1371 | ;session.cookie_secure = 1372 | 1373 | ; This option forces PHP to fetch and use a cookie for storing and maintaining 1374 | ; the session id. We encourage this operation as it's very helpful in combating 1375 | ; session hijacking when not specifying and managing your own session id. It is 1376 | ; not the end all be all of session hijacking defense, but it's a good start. 1377 | ; http://php.net/session.use-only-cookies 1378 | session.use_only_cookies = 1 1379 | 1380 | ; Name of the session (used as cookie name). 1381 | ; http://php.net/session.name 1382 | session.name = PHPSESSID 1383 | 1384 | ; Initialize session on request startup. 1385 | ; http://php.net/session.auto-start 1386 | session.auto_start = 0 1387 | 1388 | ; Lifetime in seconds of cookie or, if 0, until browser is restarted. 1389 | ; http://php.net/session.cookie-lifetime 1390 | session.cookie_lifetime = 0 1391 | 1392 | ; The path for which the cookie is valid. 1393 | ; http://php.net/session.cookie-path 1394 | session.cookie_path = / 1395 | 1396 | ; The domain for which the cookie is valid. 1397 | ; http://php.net/session.cookie-domain 1398 | session.cookie_domain = 1399 | 1400 | ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript. 1401 | ; http://php.net/session.cookie-httponly 1402 | session.cookie_httponly = 1403 | 1404 | ; Handler used to serialize data. php is the standard serializer of PHP. 1405 | ; http://php.net/session.serialize-handler 1406 | session.serialize_handler = php 1407 | 1408 | ; Defines the probability that the 'garbage collection' process is started 1409 | ; on every session initialization. The probability is calculated by using 1410 | ; gc_probability/gc_divisor. Where session.gc_probability is the numerator 1411 | ; and gc_divisor is the denominator in the equation. Setting this value to 1 1412 | ; when the session.gc_divisor value is 100 will give you approximately a 1% chance 1413 | ; the gc will run on any give request. 1414 | ; Default Value: 1 1415 | ; Development Value: 1 1416 | ; Production Value: 1 1417 | ; http://php.net/session.gc-probability 1418 | session.gc_probability = 0 1419 | 1420 | ; Defines the probability that the 'garbage collection' process is started on every 1421 | ; session initialization. The probability is calculated by using the following equation: 1422 | ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and 1423 | ; session.gc_divisor is the denominator in the equation. Setting this value to 1 1424 | ; when the session.gc_divisor value is 100 will give you approximately a 1% chance 1425 | ; the gc will run on any give request. Increasing this value to 1000 will give you 1426 | ; a 0.1% chance the gc will run on any give request. For high volume production servers, 1427 | ; this is a more efficient approach. 1428 | ; Default Value: 100 1429 | ; Development Value: 1000 1430 | ; Production Value: 1000 1431 | ; http://php.net/session.gc-divisor 1432 | session.gc_divisor = 1000 1433 | 1434 | ; After this number of seconds, stored data will be seen as 'garbage' and 1435 | ; cleaned up by the garbage collection process. 1436 | ; http://php.net/session.gc-maxlifetime 1437 | session.gc_maxlifetime = 1440 1438 | 1439 | ; NOTE: If you are using the subdirectory option for storing session files 1440 | ; (see session.save_path above), then garbage collection does *not* 1441 | ; happen automatically. You will need to do your own garbage 1442 | ; collection through a shell script, cron entry, or some other method. 1443 | ; For example, the following script would is the equivalent of 1444 | ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes): 1445 | ; find /path/to/sessions -cmin +24 -type f | xargs rm 1446 | 1447 | ; PHP 4.2 and less have an undocumented feature/bug that allows you to 1448 | ; to initialize a session variable in the global scope. 1449 | ; PHP 4.3 and later will warn you, if this feature is used. 1450 | ; You can disable the feature and the warning separately. At this time, 1451 | ; the warning is only displayed, if bug_compat_42 is enabled. This feature 1452 | ; introduces some serious security problems if not handled correctly. It's 1453 | ; recommended that you do not use this feature on production servers. But you 1454 | ; should enable this on development servers and enable the warning as well. If you 1455 | ; do not enable the feature on development servers, you won't be warned when it's 1456 | ; used and debugging errors caused by this can be difficult to track down. 1457 | ; Default Value: On 1458 | ; Development Value: On 1459 | ; Production Value: Off 1460 | ; http://php.net/session.bug-compat-42 1461 | session.bug_compat_42 = Off 1462 | 1463 | ; This setting controls whether or not you are warned by PHP when initializing a 1464 | ; session value into the global space. session.bug_compat_42 must be enabled before 1465 | ; these warnings can be issued by PHP. See the directive above for more information. 1466 | ; Default Value: On 1467 | ; Development Value: On 1468 | ; Production Value: Off 1469 | ; http://php.net/session.bug-compat-warn 1470 | session.bug_compat_warn = Off 1471 | 1472 | ; Check HTTP Referer to invalidate externally stored URLs containing ids. 1473 | ; HTTP_REFERER has to contain this substring for the session to be 1474 | ; considered as valid. 1475 | ; http://php.net/session.referer-check 1476 | session.referer_check = 1477 | 1478 | ; How many bytes to read from the file. 1479 | ; http://php.net/session.entropy-length 1480 | ;session.entropy_length = 32 1481 | 1482 | ; Specified here to create the session id. 1483 | ; http://php.net/session.entropy-file 1484 | ; Defaults to /dev/urandom 1485 | ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom 1486 | ; If neither are found at compile time, the default is no entropy file. 1487 | ; On windows, setting the entropy_length setting will activate the 1488 | ; Windows random source (using the CryptoAPI) 1489 | ;session.entropy_file = /dev/urandom 1490 | 1491 | ; Set to {nocache,private,public,} to determine HTTP caching aspects 1492 | ; or leave this empty to avoid sending anti-caching headers. 1493 | ; http://php.net/session.cache-limiter 1494 | session.cache_limiter = nocache 1495 | 1496 | ; Document expires after n minutes. 1497 | ; http://php.net/session.cache-expire 1498 | session.cache_expire = 180 1499 | 1500 | ; trans sid support is disabled by default. 1501 | ; Use of trans sid may risk your users security. 1502 | ; Use this option with caution. 1503 | ; - User may send URL contains active session ID 1504 | ; to other person via. email/irc/etc. 1505 | ; - URL that contains active session ID may be stored 1506 | ; in publicly accessible computer. 1507 | ; - User may access your site with the same session ID 1508 | ; always using URL stored in browser's history or bookmarks. 1509 | ; http://php.net/session.use-trans-sid 1510 | session.use_trans_sid = 0 1511 | 1512 | ; Select a hash function for use in generating session ids. 1513 | ; Possible Values 1514 | ; 0 (MD5 128 bits) 1515 | ; 1 (SHA-1 160 bits) 1516 | ; This option may also be set to the name of any hash function supported by 1517 | ; the hash extension. A list of available hashes is returned by the hash_algos() 1518 | ; function. 1519 | ; http://php.net/session.hash-function 1520 | session.hash_function = 0 1521 | 1522 | ; Define how many bits are stored in each character when converting 1523 | ; the binary hash data to something readable. 1524 | ; Possible values: 1525 | ; 4 (4 bits: 0-9, a-f) 1526 | ; 5 (5 bits: 0-9, a-v) 1527 | ; 6 (6 bits: 0-9, a-z, A-Z, "-", ",") 1528 | ; Default Value: 4 1529 | ; Development Value: 5 1530 | ; Production Value: 5 1531 | ; http://php.net/session.hash-bits-per-character 1532 | session.hash_bits_per_character = 5 1533 | 1534 | ; The URL rewriter will look for URLs in a defined set of HTML tags. 1535 | ; form/fieldset are special; if you include them here, the rewriter will 1536 | ; add a hidden field with the info which is otherwise appended 1537 | ; to URLs. If you want XHTML conformity, remove the form entry. 1538 | ; Note that all valid entries require a "=", even if no value follows. 1539 | ; Default Value: "a=href,area=href,frame=src,form=,fieldset=" 1540 | ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry" 1541 | ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry" 1542 | ; http://php.net/url-rewriter.tags 1543 | url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" 1544 | 1545 | ; Enable upload progress tracking in $_SESSION 1546 | ; Default Value: On 1547 | ; Development Value: On 1548 | ; Production Value: On 1549 | ; http://php.net/session.upload-progress.enabled 1550 | ;session.upload_progress.enabled = On 1551 | 1552 | ; Cleanup the progress information as soon as all POST data has been read 1553 | ; (i.e. upload completed). 1554 | ; Default Value: On 1555 | ; Development Value: On 1556 | ; Production Value: On 1557 | ; http://php.net/session.upload-progress.cleanup 1558 | ;session.upload_progress.cleanup = On 1559 | 1560 | ; A prefix used for the upload progress key in $_SESSION 1561 | ; Default Value: "upload_progress_" 1562 | ; Development Value: "upload_progress_" 1563 | ; Production Value: "upload_progress_" 1564 | ; http://php.net/session.upload-progress.prefix 1565 | ;session.upload_progress.prefix = "upload_progress_" 1566 | 1567 | ; The index name (concatenated with the prefix) in $_SESSION 1568 | ; containing the upload progress information 1569 | ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS" 1570 | ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS" 1571 | ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS" 1572 | ; http://php.net/session.upload-progress.name 1573 | ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS" 1574 | 1575 | ; How frequently the upload progress should be updated. 1576 | ; Given either in percentages (per-file), or in bytes 1577 | ; Default Value: "1%" 1578 | ; Development Value: "1%" 1579 | ; Production Value: "1%" 1580 | ; http://php.net/session.upload-progress.freq 1581 | ;session.upload_progress.freq = "1%" 1582 | 1583 | ; The minimum delay between updates, in seconds 1584 | ; Default Value: 1 1585 | ; Development Value: 1 1586 | ; Production Value: 1 1587 | ; http://php.net/session.upload-progress.min-freq 1588 | ;session.upload_progress.min_freq = "1" 1589 | 1590 | [MSSQL] 1591 | ; Allow or prevent persistent links. 1592 | mssql.allow_persistent = On 1593 | 1594 | ; Maximum number of persistent links. -1 means no limit. 1595 | mssql.max_persistent = -1 1596 | 1597 | ; Maximum number of links (persistent+non persistent). -1 means no limit. 1598 | mssql.max_links = -1 1599 | 1600 | ; Minimum error severity to display. 1601 | mssql.min_error_severity = 10 1602 | 1603 | ; Minimum message severity to display. 1604 | mssql.min_message_severity = 10 1605 | 1606 | ; Compatibility mode with old versions of PHP 3.0. 1607 | mssql.compatibility_mode = Off 1608 | 1609 | ; Connect timeout 1610 | ;mssql.connect_timeout = 5 1611 | 1612 | ; Query timeout 1613 | ;mssql.timeout = 60 1614 | 1615 | ; Valid range 0 - 2147483647. Default = 4096. 1616 | ;mssql.textlimit = 4096 1617 | 1618 | ; Valid range 0 - 2147483647. Default = 4096. 1619 | ;mssql.textsize = 4096 1620 | 1621 | ; Limits the number of records in each batch. 0 = all records in one batch. 1622 | ;mssql.batchsize = 0 1623 | 1624 | ; Specify how datetime and datetim4 columns are returned 1625 | ; On => Returns data converted to SQL server settings 1626 | ; Off => Returns values as YYYY-MM-DD hh:mm:ss 1627 | ;mssql.datetimeconvert = On 1628 | 1629 | ; Use NT authentication when connecting to the server 1630 | mssql.secure_connection = Off 1631 | 1632 | ; Specify max number of processes. -1 = library default 1633 | ; msdlib defaults to 25 1634 | ; FreeTDS defaults to 4096 1635 | ;mssql.max_procs = -1 1636 | 1637 | ; Specify client character set. 1638 | ; If empty or not set the client charset from freetds.conf is used 1639 | ; This is only used when compiled with FreeTDS 1640 | ;mssql.charset = "ISO-8859-1" 1641 | 1642 | [Assertion] 1643 | ; Assert(expr); active by default. 1644 | ; http://php.net/assert.active 1645 | ;assert.active = On 1646 | 1647 | ; Issue a PHP warning for each failed assertion. 1648 | ; http://php.net/assert.warning 1649 | ;assert.warning = On 1650 | 1651 | ; Don't bail out by default. 1652 | ; http://php.net/assert.bail 1653 | ;assert.bail = Off 1654 | 1655 | ; User-function to be called if an assertion fails. 1656 | ; http://php.net/assert.callback 1657 | ;assert.callback = 0 1658 | 1659 | ; Eval the expression with current error_reporting(). Set to true if you want 1660 | ; error_reporting(0) around the eval(). 1661 | ; http://php.net/assert.quiet-eval 1662 | ;assert.quiet_eval = 0 1663 | 1664 | [COM] 1665 | ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs 1666 | ; http://php.net/com.typelib-file 1667 | ;com.typelib_file = 1668 | 1669 | ; allow Distributed-COM calls 1670 | ; http://php.net/com.allow-dcom 1671 | ;com.allow_dcom = true 1672 | 1673 | ; autoregister constants of a components typlib on com_load() 1674 | ; http://php.net/com.autoregister-typelib 1675 | ;com.autoregister_typelib = true 1676 | 1677 | ; register constants casesensitive 1678 | ; http://php.net/com.autoregister-casesensitive 1679 | ;com.autoregister_casesensitive = false 1680 | 1681 | ; show warnings on duplicate constant registrations 1682 | ; http://php.net/com.autoregister-verbose 1683 | ;com.autoregister_verbose = true 1684 | 1685 | ; The default character set code-page to use when passing strings to and from COM objects. 1686 | ; Default: system ANSI code page 1687 | ;com.code_page= 1688 | 1689 | [mbstring] 1690 | ; language for internal character representation. 1691 | ; http://php.net/mbstring.language 1692 | ;mbstring.language = Japanese 1693 | 1694 | ; internal/script encoding. 1695 | ; Some encoding cannot work as internal encoding. 1696 | ; (e.g. SJIS, BIG5, ISO-2022-*) 1697 | ; http://php.net/mbstring.internal-encoding 1698 | ;mbstring.internal_encoding = UTF-8 1699 | 1700 | ; http input encoding. 1701 | ; http://php.net/mbstring.http-input 1702 | ;mbstring.http_input = UTF-8 1703 | 1704 | ; http output encoding. mb_output_handler must be 1705 | ; registered as output buffer to function 1706 | ; http://php.net/mbstring.http-output 1707 | ;mbstring.http_output = pass 1708 | 1709 | ; enable automatic encoding translation according to 1710 | ; mbstring.internal_encoding setting. Input chars are 1711 | ; converted to internal encoding by setting this to On. 1712 | ; Note: Do _not_ use automatic encoding translation for 1713 | ; portable libs/applications. 1714 | ; http://php.net/mbstring.encoding-translation 1715 | ;mbstring.encoding_translation = Off 1716 | 1717 | ; automatic encoding detection order. 1718 | ; auto means 1719 | ; http://php.net/mbstring.detect-order 1720 | ;mbstring.detect_order = auto 1721 | 1722 | ; substitute_character used when character cannot be converted 1723 | ; one from another 1724 | ; http://php.net/mbstring.substitute-character 1725 | ;mbstring.substitute_character = none 1726 | 1727 | ; overload(replace) single byte functions by mbstring functions. 1728 | ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(), 1729 | ; etc. Possible values are 0,1,2,4 or combination of them. 1730 | ; For example, 7 for overload everything. 1731 | ; 0: No overload 1732 | ; 1: Overload mail() function 1733 | ; 2: Overload str*() functions 1734 | ; 4: Overload ereg*() functions 1735 | ; http://php.net/mbstring.func-overload 1736 | ;mbstring.func_overload = 0 1737 | 1738 | ; enable strict encoding detection. 1739 | ;mbstring.strict_detection = On 1740 | 1741 | ; This directive specifies the regex pattern of content types for which mb_output_handler() 1742 | ; is activated. 1743 | ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml) 1744 | ;mbstring.http_output_conv_mimetype= 1745 | 1746 | [gd] 1747 | ; Tell the jpeg decode to ignore warnings and try to create 1748 | ; a gd image. The warning will then be displayed as notices 1749 | ; disabled by default 1750 | ; http://php.net/gd.jpeg-ignore-warning 1751 | ;gd.jpeg_ignore_warning = 0 1752 | 1753 | [exif] 1754 | ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. 1755 | ; With mbstring support this will automatically be converted into the encoding 1756 | ; given by corresponding encode setting. When empty mbstring.internal_encoding 1757 | ; is used. For the decode settings you can distinguish between motorola and 1758 | ; intel byte order. A decode setting cannot be empty. 1759 | ; http://php.net/exif.encode-unicode 1760 | ;exif.encode_unicode = ISO-8859-15 1761 | 1762 | ; http://php.net/exif.decode-unicode-motorola 1763 | ;exif.decode_unicode_motorola = UCS-2BE 1764 | 1765 | ; http://php.net/exif.decode-unicode-intel 1766 | ;exif.decode_unicode_intel = UCS-2LE 1767 | 1768 | ; http://php.net/exif.encode-jis 1769 | ;exif.encode_jis = 1770 | 1771 | ; http://php.net/exif.decode-jis-motorola 1772 | ;exif.decode_jis_motorola = JIS 1773 | 1774 | ; http://php.net/exif.decode-jis-intel 1775 | ;exif.decode_jis_intel = JIS 1776 | 1777 | [Tidy] 1778 | ; The path to a default tidy configuration file to use when using tidy 1779 | ; http://php.net/tidy.default-config 1780 | ;tidy.default_config = /usr/local/lib/php/default.tcfg 1781 | 1782 | ; Should tidy clean and repair output automatically? 1783 | ; WARNING: Do not use this option if you are generating non-html content 1784 | ; such as dynamic images 1785 | ; http://php.net/tidy.clean-output 1786 | tidy.clean_output = Off 1787 | 1788 | [soap] 1789 | ; Enables or disables WSDL caching feature. 1790 | ; http://php.net/soap.wsdl-cache-enabled 1791 | soap.wsdl_cache_enabled=1 1792 | 1793 | ; Sets the directory name where SOAP extension will put cache files. 1794 | ; http://php.net/soap.wsdl-cache-dir 1795 | soap.wsdl_cache_dir="/tmp" 1796 | 1797 | ; (time to live) Sets the number of second while cached file will be used 1798 | ; instead of original one. 1799 | ; http://php.net/soap.wsdl-cache-ttl 1800 | soap.wsdl_cache_ttl=86400 1801 | 1802 | ; Sets the size of the cache limit. (Max. number of WSDL files to cache) 1803 | soap.wsdl_cache_limit = 5 1804 | 1805 | [sysvshm] 1806 | ; A default size of the shared memory segment 1807 | ;sysvshm.init_mem = 10000 1808 | 1809 | [ldap] 1810 | ; Sets the maximum number of open links or -1 for unlimited. 1811 | ldap.max_links = -1 1812 | 1813 | [mcrypt] 1814 | ; For more information about mcrypt settings see http://php.net/mcrypt-module-open 1815 | 1816 | ; Directory where to load mcrypt algorithms 1817 | ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt) 1818 | ;mcrypt.algorithms_dir= 1819 | 1820 | ; Directory where to load mcrypt modes 1821 | ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt) 1822 | ;mcrypt.modes_dir= 1823 | 1824 | [dba] 1825 | ;dba.default_handler= 1826 | 1827 | [opcache] 1828 | ; Determines if Zend OPCache is enabled 1829 | ;opcache.enable=0 1830 | 1831 | ; Determines if Zend OPCache is enabled for the CLI version of PHP 1832 | ;opcache.enable_cli=0 1833 | 1834 | ; The OPcache shared memory storage size. 1835 | ;opcache.memory_consumption=64 1836 | 1837 | ; The amount of memory for interned strings in Mbytes. 1838 | ;opcache.interned_strings_buffer=4 1839 | 1840 | ; The maximum number of keys (scripts) in the OPcache hash table. 1841 | ; Only numbers between 200 and 100000 are allowed. 1842 | ;opcache.max_accelerated_files=2000 1843 | 1844 | ; The maximum percentage of "wasted" memory until a restart is scheduled. 1845 | ;opcache.max_wasted_percentage=5 1846 | 1847 | ; When this directive is enabled, the OPcache appends the current working 1848 | ; directory to the script key, thus eliminating possible collisions between 1849 | ; files with the same name (basename). Disabling the directive improves 1850 | ; performance, but may break existing applications. 1851 | ;opcache.use_cwd=1 1852 | 1853 | ; When disabled, you must reset the OPcache manually or restart the 1854 | ; webserver for changes to the filesystem to take effect. 1855 | ;opcache.validate_timestamps=1 1856 | 1857 | ; How often (in seconds) to check file timestamps for changes to the shared 1858 | ; memory storage allocation. ("1" means validate once per second, but only 1859 | ; once per request. "0" means always validate) 1860 | ;opcache.revalidate_freq=2 1861 | 1862 | ; Enables or disables file search in include_path optimization 1863 | ;opcache.revalidate_path=0 1864 | 1865 | ; If disabled, all PHPDoc comments are dropped from the code to reduce the 1866 | ; size of the optimized code. 1867 | ;opcache.save_comments=1 1868 | 1869 | ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments" 1870 | ; may be always stored (save_comments=1), but not loaded by applications 1871 | ; that don't need them anyway. 1872 | ;opcache.load_comments=1 1873 | 1874 | ; If enabled, a fast shutdown sequence is used for the accelerated code 1875 | ;opcache.fast_shutdown=0 1876 | 1877 | ; Allow file existence override (file_exists, etc.) performance feature. 1878 | ;opcache.enable_file_override=0 1879 | 1880 | ; A bitmask, where each bit enables or disables the appropriate OPcache 1881 | ; passes 1882 | ;opcache.optimization_level=0xffffffff 1883 | 1884 | ;opcache.inherited_hack=1 1885 | ;opcache.dups_fix=0 1886 | 1887 | ; The location of the OPcache blacklist file (wildcards allowed). 1888 | ; Each OPcache blacklist file is a text file that holds the names of files 1889 | ; that should not be accelerated. The file format is to add each filename 1890 | ; to a new line. The filename may be a full path or just a file prefix 1891 | ; (i.e., /var/www/x blacklists all the files and directories in /var/www 1892 | ; that start with 'x'). Line starting with a ; are ignored (comments). 1893 | ;opcache.blacklist_filename= 1894 | 1895 | ; Allows exclusion of large files from being cached. By default all files 1896 | ; are cached. 1897 | ;opcache.max_file_size=0 1898 | 1899 | ; Check the cache checksum each N requests. 1900 | ; The default value of "0" means that the checks are disabled. 1901 | ;opcache.consistency_checks=0 1902 | 1903 | ; How long to wait (in seconds) for a scheduled restart to begin if the cache 1904 | ; is not being accessed. 1905 | ;opcache.force_restart_timeout=180 1906 | 1907 | ; OPcache error_log file name. Empty string assumes "stderr". 1908 | ;opcache.error_log= 1909 | 1910 | ; All OPcache errors go to the Web server log. 1911 | ; By default, only fatal errors (level 0) or errors (level 1) are logged. 1912 | ; You can also enable warnings (level 2), info messages (level 3) or 1913 | ; debug messages (level 4). 1914 | ;opcache.log_verbosity_level=1 1915 | 1916 | ; Preferred Shared Memory back-end. Leave empty and let the system decide. 1917 | ;opcache.preferred_memory_model= 1918 | 1919 | ; Protect the shared memory from unexpected writing during script execution. 1920 | ; Useful for internal debugging only. 1921 | ;opcache.protect_memory=0 1922 | 1923 | [curl] 1924 | ; A default value for the CURLOPT_CAINFO option. This is required to be an 1925 | ; absolute path. 1926 | ;curl.cainfo = 1927 | 1928 | ; Local Variables: 1929 | ; tab-width: 4 1930 | ; End: 1931 | -------------------------------------------------------------------------------- /php-cli.ini: -------------------------------------------------------------------------------- 1 | [PHP] 2 | 3 | ;;;;;;;;;;;;;;;;;;; 4 | ; About php.ini ; 5 | ;;;;;;;;;;;;;;;;;;; 6 | ; PHP's initialization file, generally called php.ini, is responsible for 7 | ; configuring many of the aspects of PHP's behavior. 8 | 9 | ; PHP attempts to find and load this configuration from a number of locations. 10 | ; The following is a summary of its search order: 11 | ; 1. SAPI module specific location. 12 | ; 2. The PHPRC environment variable. (As of PHP 5.2.0) 13 | ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0) 14 | ; 4. Current working directory (except CLI) 15 | ; 5. The web server's directory (for SAPI modules), or directory of PHP 16 | ; (otherwise in Windows) 17 | ; 6. The directory from the --with-config-file-path compile time option, or the 18 | ; Windows directory (C:\windows or C:\winnt) 19 | ; See the PHP docs for more specific information. 20 | ; http://php.net/configuration.file 21 | 22 | ; The syntax of the file is extremely simple. Whitespace and lines 23 | ; beginning with a semicolon are silently ignored (as you probably guessed). 24 | ; Section headers (e.g. [Foo]) are also silently ignored, even though 25 | ; they might mean something in the future. 26 | 27 | ; Directives following the section heading [PATH=/www/mysite] only 28 | ; apply to PHP files in the /www/mysite directory. Directives 29 | ; following the section heading [HOST=www.example.com] only apply to 30 | ; PHP files served from www.example.com. Directives set in these 31 | ; special sections cannot be overridden by user-defined INI files or 32 | ; at runtime. Currently, [PATH=] and [HOST=] sections only work under 33 | ; CGI/FastCGI. 34 | ; http://php.net/ini.sections 35 | 36 | ; Directives are specified using the following syntax: 37 | ; directive = value 38 | ; Directive names are *case sensitive* - foo=bar is different from FOO=bar. 39 | ; Directives are variables used to configure PHP or PHP extensions. 40 | ; There is no name validation. If PHP can't find an expected 41 | ; directive because it is not set or is mistyped, a default value will be used. 42 | 43 | ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one 44 | ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression 45 | ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a 46 | ; previously set variable or directive (e.g. ${foo}) 47 | 48 | ; Expressions in the INI file are limited to bitwise operators and parentheses: 49 | ; | bitwise OR 50 | ; ^ bitwise XOR 51 | ; & bitwise AND 52 | ; ~ bitwise NOT 53 | ; ! boolean NOT 54 | 55 | ; Boolean flags can be turned on using the values 1, On, True or Yes. 56 | ; They can be turned off using the values 0, Off, False or No. 57 | 58 | ; An empty string can be denoted by simply not writing anything after the equal 59 | ; sign, or by using the None keyword: 60 | 61 | ; foo = ; sets foo to an empty string 62 | ; foo = None ; sets foo to an empty string 63 | ; foo = "None" ; sets foo to the string 'None' 64 | 65 | ; If you use constants in your value, and these constants belong to a 66 | ; dynamically loaded extension (either a PHP extension or a Zend extension), 67 | ; you may only use these constants *after* the line that loads the extension. 68 | 69 | ;;;;;;;;;;;;;;;;;;; 70 | ; About this file ; 71 | ;;;;;;;;;;;;;;;;;;; 72 | ; PHP comes packaged with two INI files. One that is recommended to be used 73 | ; in production environments and one that is recommended to be used in 74 | ; development environments. 75 | 76 | ; php.ini-production contains settings which hold security, performance and 77 | ; best practices at its core. But please be aware, these settings may break 78 | ; compatibility with older or less security conscience applications. We 79 | ; recommending using the production ini in production and testing environments. 80 | 81 | ; php.ini-development is very similar to its production variant, except it is 82 | ; much more verbose when it comes to errors. We recommend using the 83 | ; development version only in development environments, as errors shown to 84 | ; application users can inadvertently leak otherwise secure information. 85 | 86 | ; This is php.ini-production INI file. 87 | 88 | ;;;;;;;;;;;;;;;;;;; 89 | ; Quick Reference ; 90 | ;;;;;;;;;;;;;;;;;;; 91 | ; The following are all the settings which are different in either the production 92 | ; or development versions of the INIs with respect to PHP's default behavior. 93 | ; Please see the actual settings later in the document for more details as to why 94 | ; we recommend these changes in PHP's behavior. 95 | 96 | ; display_errors 97 | ; Default Value: On 98 | ; Development Value: On 99 | ; Production Value: Off 100 | 101 | ; display_startup_errors 102 | ; Default Value: Off 103 | ; Development Value: On 104 | ; Production Value: Off 105 | 106 | ; error_reporting 107 | ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED 108 | ; Development Value: E_ALL 109 | ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT 110 | 111 | ; html_errors 112 | ; Default Value: On 113 | ; Development Value: On 114 | ; Production value: On 115 | 116 | ; log_errors 117 | ; Default Value: Off 118 | ; Development Value: On 119 | ; Production Value: On 120 | 121 | ; max_input_time 122 | ; Default Value: -1 (Unlimited) 123 | ; Development Value: 60 (60 seconds) 124 | ; Production Value: 60 (60 seconds) 125 | 126 | ; output_buffering 127 | ; Default Value: Off 128 | ; Development Value: 4096 129 | ; Production Value: 4096 130 | 131 | ; register_argc_argv 132 | ; Default Value: On 133 | ; Development Value: Off 134 | ; Production Value: Off 135 | 136 | ; request_order 137 | ; Default Value: None 138 | ; Development Value: "GP" 139 | ; Production Value: "GP" 140 | 141 | ; session.gc_divisor 142 | ; Default Value: 100 143 | ; Development Value: 1000 144 | ; Production Value: 1000 145 | 146 | ; session.hash_bits_per_character 147 | ; Default Value: 4 148 | ; Development Value: 5 149 | ; Production Value: 5 150 | 151 | ; short_open_tag 152 | ; Default Value: On 153 | ; Development Value: Off 154 | ; Production Value: Off 155 | 156 | ; track_errors 157 | ; Default Value: Off 158 | ; Development Value: On 159 | ; Production Value: Off 160 | 161 | ; url_rewriter.tags 162 | ; Default Value: "a=href,area=href,frame=src,form=,fieldset=" 163 | ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry" 164 | ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry" 165 | 166 | ; variables_order 167 | ; Default Value: "EGPCS" 168 | ; Development Value: "GPCS" 169 | ; Production Value: "GPCS" 170 | 171 | ;;;;;;;;;;;;;;;;;;;; 172 | ; php.ini Options ; 173 | ;;;;;;;;;;;;;;;;;;;; 174 | ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini" 175 | ;user_ini.filename = ".user.ini" 176 | 177 | ; To disable this feature set this option to empty value 178 | ;user_ini.filename = 179 | 180 | ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes) 181 | ;user_ini.cache_ttl = 300 182 | 183 | ;;;;;;;;;;;;;;;;;;;; 184 | ; Language Options ; 185 | ;;;;;;;;;;;;;;;;;;;; 186 | 187 | ; Enable the PHP scripting language engine under Apache. 188 | ; http://php.net/engine 189 | engine = On 190 | 191 | ; This directive determines whether or not PHP will recognize code between 192 | ; tags as PHP source which should be processed as such. It is 193 | ; generally recommended that should be used and that this feature 194 | ; should be disabled, as enabling it may result in issues when generating XML 195 | ; documents, however this remains supported for backward compatibility reasons. 196 | ; Note that this directive does not control the tags. 205 | ; http://php.net/asp-tags 206 | asp_tags = Off 207 | 208 | ; The number of significant digits displayed in floating point numbers. 209 | ; http://php.net/precision 210 | precision = 14 211 | 212 | ; Output buffering is a mechanism for controlling how much output data 213 | ; (excluding headers and cookies) PHP should keep internally before pushing that 214 | ; data to the client. If your application's output exceeds this setting, PHP 215 | ; will send that data in chunks of roughly the size you specify. 216 | ; Turning on this setting and managing its maximum buffer size can yield some 217 | ; interesting side-effects depending on your application and web server. 218 | ; You may be able to send headers and cookies after you've already sent output 219 | ; through print or echo. You also may see performance benefits if your server is 220 | ; emitting less packets due to buffered output versus PHP streaming the output 221 | ; as it gets it. On production servers, 4096 bytes is a good setting for performance 222 | ; reasons. 223 | ; Note: Output buffering can also be controlled via Output Buffering Control 224 | ; functions. 225 | ; Possible Values: 226 | ; On = Enabled and buffer is unlimited. (Use with caution) 227 | ; Off = Disabled 228 | ; Integer = Enables the buffer and sets its maximum size in bytes. 229 | ; Note: This directive is hardcoded to Off for the CLI SAPI 230 | ; Default Value: Off 231 | ; Development Value: 4096 232 | ; Production Value: 4096 233 | ; http://php.net/output-buffering 234 | output_buffering = 4096 235 | 236 | ; You can redirect all of the output of your scripts to a function. For 237 | ; example, if you set output_handler to "mb_output_handler", character 238 | ; encoding will be transparently converted to the specified encoding. 239 | ; Setting any output handler automatically turns on output buffering. 240 | ; Note: People who wrote portable scripts should not depend on this ini 241 | ; directive. Instead, explicitly set the output handler using ob_start(). 242 | ; Using this ini directive may cause problems unless you know what script 243 | ; is doing. 244 | ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler" 245 | ; and you cannot use both "ob_gzhandler" and "zlib.output_compression". 246 | ; Note: output_handler must be empty if this is set 'On' !!!! 247 | ; Instead you must use zlib.output_handler. 248 | ; http://php.net/output-handler 249 | ;output_handler = 250 | 251 | ; Transparent output compression using the zlib library 252 | ; Valid values for this option are 'off', 'on', or a specific buffer size 253 | ; to be used for compression (default is 4KB) 254 | ; Note: Resulting chunk size may vary due to nature of compression. PHP 255 | ; outputs chunks that are few hundreds bytes each as a result of 256 | ; compression. If you prefer a larger chunk size for better 257 | ; performance, enable output_buffering in addition. 258 | ; Note: You need to use zlib.output_handler instead of the standard 259 | ; output_handler, or otherwise the output will be corrupted. 260 | ; http://php.net/zlib.output-compression 261 | zlib.output_compression = Off 262 | 263 | ; http://php.net/zlib.output-compression-level 264 | ;zlib.output_compression_level = -1 265 | 266 | ; You cannot specify additional output handlers if zlib.output_compression 267 | ; is activated here. This setting does the same as output_handler but in 268 | ; a different order. 269 | ; http://php.net/zlib.output-handler 270 | ;zlib.output_handler = 271 | 272 | ; Implicit flush tells PHP to tell the output layer to flush itself 273 | ; automatically after every output block. This is equivalent to calling the 274 | ; PHP function flush() after each and every call to print() or echo() and each 275 | ; and every HTML block. Turning this option on has serious performance 276 | ; implications and is generally recommended for debugging purposes only. 277 | ; http://php.net/implicit-flush 278 | ; Note: This directive is hardcoded to On for the CLI SAPI 279 | implicit_flush = Off 280 | 281 | ; The unserialize callback function will be called (with the undefined class' 282 | ; name as parameter), if the unserializer finds an undefined class 283 | ; which should be instantiated. A warning appears if the specified function is 284 | ; not defined, or if the function doesn't include/implement the missing class. 285 | ; So only set this entry, if you really want to implement such a 286 | ; callback-function. 287 | unserialize_callback_func = 288 | 289 | ; When floats & doubles are serialized store serialize_precision significant 290 | ; digits after the floating point. The default value ensures that when floats 291 | ; are decoded with unserialize, the data will remain the same. 292 | serialize_precision = 17 293 | 294 | ; open_basedir, if set, limits all file operations to the defined directory 295 | ; and below. This directive makes most sense if used in a per-directory 296 | ; or per-virtualhost web server configuration file. 297 | ; http://php.net/open-basedir 298 | ;open_basedir = 299 | 300 | ; This directive allows you to disable certain functions for security reasons. 301 | ; It receives a comma-delimited list of function names. 302 | ; http://php.net/disable-functions 303 | disable_functions = 304 | 305 | ; This directive allows you to disable certain classes for security reasons. 306 | ; It receives a comma-delimited list of class names. 307 | ; http://php.net/disable-classes 308 | disable_classes = 309 | 310 | ; Colors for Syntax Highlighting mode. Anything that's acceptable in 311 | ; would work. 312 | ; http://php.net/syntax-highlighting 313 | ;highlight.string = #DD0000 314 | ;highlight.comment = #FF9900 315 | ;highlight.keyword = #007700 316 | ;highlight.default = #0000BB 317 | ;highlight.html = #000000 318 | 319 | ; If enabled, the request will be allowed to complete even if the user aborts 320 | ; the request. Consider enabling it if executing long requests, which may end up 321 | ; being interrupted by the user or a browser timing out. PHP's default behavior 322 | ; is to disable this feature. 323 | ; http://php.net/ignore-user-abort 324 | ;ignore_user_abort = On 325 | 326 | ; Determines the size of the realpath cache to be used by PHP. This value should 327 | ; be increased on systems where PHP opens many files to reflect the quantity of 328 | ; the file operations performed. 329 | ; http://php.net/realpath-cache-size 330 | ;realpath_cache_size = 16k 331 | 332 | ; Duration of time, in seconds for which to cache realpath information for a given 333 | ; file or directory. For systems with rarely changing files, consider increasing this 334 | ; value. 335 | ; http://php.net/realpath-cache-ttl 336 | ;realpath_cache_ttl = 120 337 | 338 | ; Enables or disables the circular reference collector. 339 | ; http://php.net/zend.enable-gc 340 | zend.enable_gc = On 341 | 342 | ; If enabled, scripts may be written in encodings that are incompatible with 343 | ; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such 344 | ; encodings. To use this feature, mbstring extension must be enabled. 345 | ; Default: Off 346 | ;zend.multibyte = Off 347 | 348 | ; Allows to set the default encoding for the scripts. This value will be used 349 | ; unless "declare(encoding=...)" directive appears at the top of the script. 350 | ; Only affects if zend.multibyte is set. 351 | ; Default: "" 352 | ;zend.script_encoding = 353 | 354 | ;;;;;;;;;;;;;;;;; 355 | ; Miscellaneous ; 356 | ;;;;;;;;;;;;;;;;; 357 | 358 | ; Decides whether PHP may expose the fact that it is installed on the server 359 | ; (e.g. by adding its signature to the Web server header). It is no security 360 | ; threat in any way, but it makes it possible to determine whether you use PHP 361 | ; on your server or not. 362 | ; http://php.net/expose-php 363 | expose_php = On 364 | 365 | ;;;;;;;;;;;;;;;;;;; 366 | ; Resource Limits ; 367 | ;;;;;;;;;;;;;;;;;;; 368 | 369 | ; Maximum execution time of each script, in seconds 370 | ; http://php.net/max-execution-time 371 | ; Note: This directive is hardcoded to 0 for the CLI SAPI 372 | max_execution_time = 30 373 | 374 | ; Maximum amount of time each script may spend parsing request data. It's a good 375 | ; idea to limit this time on productions servers in order to eliminate unexpectedly 376 | ; long running scripts. 377 | ; Note: This directive is hardcoded to -1 for the CLI SAPI 378 | ; Default Value: -1 (Unlimited) 379 | ; Development Value: 60 (60 seconds) 380 | ; Production Value: 60 (60 seconds) 381 | ; http://php.net/max-input-time 382 | max_input_time = 60 383 | 384 | ; Maximum input variable nesting level 385 | ; http://php.net/max-input-nesting-level 386 | ;max_input_nesting_level = 64 387 | 388 | ; How many GET/POST/COOKIE input variables may be accepted 389 | ; max_input_vars = 1000 390 | 391 | ; Maximum amount of memory a script may consume (128MB) 392 | ; http://php.net/memory-limit 393 | memory_limit = -1 394 | 395 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 396 | ; Error handling and logging ; 397 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 398 | 399 | ; This directive informs PHP of which errors, warnings and notices you would like 400 | ; it to take action for. The recommended way of setting values for this 401 | ; directive is through the use of the error level constants and bitwise 402 | ; operators. The error level constants are below here for convenience as well as 403 | ; some common settings and their meanings. 404 | ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT 405 | ; those related to E_NOTICE and E_STRICT, which together cover best practices and 406 | ; recommended coding standards in PHP. For performance reasons, this is the 407 | ; recommend error reporting setting. Your production server shouldn't be wasting 408 | ; resources complaining about best practices and coding standards. That's what 409 | ; development servers and development settings are for. 410 | ; Note: The php.ini-development file has this setting as E_ALL. This 411 | ; means it pretty much reports everything which is exactly what you want during 412 | ; development and early testing. 413 | ; 414 | ; Error Level Constants: 415 | ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.0) 416 | ; E_ERROR - fatal run-time errors 417 | ; E_RECOVERABLE_ERROR - almost fatal run-time errors 418 | ; E_WARNING - run-time warnings (non-fatal errors) 419 | ; E_PARSE - compile-time parse errors 420 | ; E_NOTICE - run-time notices (these are warnings which often result 421 | ; from a bug in your code, but it's possible that it was 422 | ; intentional (e.g., using an uninitialized variable and 423 | ; relying on the fact it is automatically initialized to an 424 | ; empty string) 425 | ; E_STRICT - run-time notices, enable to have PHP suggest changes 426 | ; to your code which will ensure the best interoperability 427 | ; and forward compatibility of your code 428 | ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup 429 | ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's 430 | ; initial startup 431 | ; E_COMPILE_ERROR - fatal compile-time errors 432 | ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors) 433 | ; E_USER_ERROR - user-generated error message 434 | ; E_USER_WARNING - user-generated warning message 435 | ; E_USER_NOTICE - user-generated notice message 436 | ; E_DEPRECATED - warn about code that will not work in future versions 437 | ; of PHP 438 | ; E_USER_DEPRECATED - user-generated deprecation warnings 439 | ; 440 | ; Common Values: 441 | ; E_ALL (Show all errors, warnings and notices including coding standards.) 442 | ; E_ALL & ~E_NOTICE (Show all errors, except for notices) 443 | ; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.) 444 | ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors) 445 | ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED 446 | ; Development Value: E_ALL 447 | ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT 448 | ; http://php.net/error-reporting 449 | error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT 450 | 451 | ; This directive controls whether or not and where PHP will output errors, 452 | ; notices and warnings too. Error output is very useful during development, but 453 | ; it could be very dangerous in production environments. Depending on the code 454 | ; which is triggering the error, sensitive information could potentially leak 455 | ; out of your application such as database usernames and passwords or worse. 456 | ; For production environments, we recommend logging errors rather than 457 | ; sending them to STDOUT. 458 | ; Possible Values: 459 | ; Off = Do not display any errors 460 | ; stderr = Display errors to STDERR (affects only CGI/CLI binaries!) 461 | ; On or stdout = Display errors to STDOUT 462 | ; Default Value: On 463 | ; Development Value: On 464 | ; Production Value: Off 465 | ; http://php.net/display-errors 466 | display_errors = Off 467 | 468 | ; The display of errors which occur during PHP's startup sequence are handled 469 | ; separately from display_errors. PHP's default behavior is to suppress those 470 | ; errors from clients. Turning the display of startup errors on can be useful in 471 | ; debugging configuration problems. We strongly recommend you 472 | ; set this to 'off' for production servers. 473 | ; Default Value: Off 474 | ; Development Value: On 475 | ; Production Value: Off 476 | ; http://php.net/display-startup-errors 477 | display_startup_errors = Off 478 | 479 | ; Besides displaying errors, PHP can also log errors to locations such as a 480 | ; server-specific log, STDERR, or a location specified by the error_log 481 | ; directive found below. While errors should not be displayed on productions 482 | ; servers they should still be monitored and logging is a great way to do that. 483 | ; Default Value: Off 484 | ; Development Value: On 485 | ; Production Value: On 486 | ; http://php.net/log-errors 487 | log_errors = On 488 | 489 | ; Set maximum length of log_errors. In error_log information about the source is 490 | ; added. The default is 1024 and 0 allows to not apply any maximum length at all. 491 | ; http://php.net/log-errors-max-len 492 | log_errors_max_len = 1024 493 | 494 | ; Do not log repeated messages. Repeated errors must occur in same file on same 495 | ; line unless ignore_repeated_source is set true. 496 | ; http://php.net/ignore-repeated-errors 497 | ignore_repeated_errors = Off 498 | 499 | ; Ignore source of message when ignoring repeated messages. When this setting 500 | ; is On you will not log errors with repeated messages from different files or 501 | ; source lines. 502 | ; http://php.net/ignore-repeated-source 503 | ignore_repeated_source = Off 504 | 505 | ; If this parameter is set to Off, then memory leaks will not be shown (on 506 | ; stdout or in the log). This has only effect in a debug compile, and if 507 | ; error reporting includes E_WARNING in the allowed list 508 | ; http://php.net/report-memleaks 509 | report_memleaks = On 510 | 511 | ; This setting is on by default. 512 | ;report_zend_debug = 0 513 | 514 | ; Store the last error/warning message in $php_errormsg (boolean). Setting this value 515 | ; to On can assist in debugging and is appropriate for development servers. It should 516 | ; however be disabled on production servers. 517 | ; Default Value: Off 518 | ; Development Value: On 519 | ; Production Value: Off 520 | ; http://php.net/track-errors 521 | track_errors = Off 522 | 523 | ; Turn off normal error reporting and emit XML-RPC error XML 524 | ; http://php.net/xmlrpc-errors 525 | ;xmlrpc_errors = 0 526 | 527 | ; An XML-RPC faultCode 528 | ;xmlrpc_error_number = 0 529 | 530 | ; When PHP displays or logs an error, it has the capability of formatting the 531 | ; error message as HTML for easier reading. This directive controls whether 532 | ; the error message is formatted as HTML or not. 533 | ; Note: This directive is hardcoded to Off for the CLI SAPI 534 | ; Default Value: On 535 | ; Development Value: On 536 | ; Production value: On 537 | ; http://php.net/html-errors 538 | html_errors = On 539 | 540 | ; If html_errors is set to On *and* docref_root is not empty, then PHP 541 | ; produces clickable error messages that direct to a page describing the error 542 | ; or function causing the error in detail. 543 | ; You can download a copy of the PHP manual from http://php.net/docs 544 | ; and change docref_root to the base URL of your local copy including the 545 | ; leading '/'. You must also specify the file extension being used including 546 | ; the dot. PHP's default behavior is to leave these settings empty, in which 547 | ; case no links to documentation are generated. 548 | ; Note: Never use this feature for production boxes. 549 | ; http://php.net/docref-root 550 | ; Examples 551 | ;docref_root = "/phpmanual/" 552 | 553 | ; http://php.net/docref-ext 554 | ;docref_ext = .html 555 | 556 | ; String to output before an error message. PHP's default behavior is to leave 557 | ; this setting blank. 558 | ; http://php.net/error-prepend-string 559 | ; Example: 560 | ;error_prepend_string = "" 561 | 562 | ; String to output after an error message. PHP's default behavior is to leave 563 | ; this setting blank. 564 | ; http://php.net/error-append-string 565 | ; Example: 566 | ;error_append_string = "" 567 | 568 | ; Log errors to specified file. PHP's default behavior is to leave this value 569 | ; empty. 570 | ; http://php.net/error-log 571 | ; Example: 572 | ;error_log = php_errors.log 573 | ; Log errors to syslog (Event Log on Windows). 574 | ;error_log = syslog 575 | 576 | ;windows.show_crt_warning 577 | ; Default value: 0 578 | ; Development value: 0 579 | ; Production value: 0 580 | 581 | ;;;;;;;;;;;;;;;;; 582 | ; Data Handling ; 583 | ;;;;;;;;;;;;;;;;; 584 | 585 | ; The separator used in PHP generated URLs to separate arguments. 586 | ; PHP's default setting is "&". 587 | ; http://php.net/arg-separator.output 588 | ; Example: 589 | ;arg_separator.output = "&" 590 | 591 | ; List of separator(s) used by PHP to parse input URLs into variables. 592 | ; PHP's default setting is "&". 593 | ; NOTE: Every character in this directive is considered as separator! 594 | ; http://php.net/arg-separator.input 595 | ; Example: 596 | ;arg_separator.input = ";&" 597 | 598 | ; This directive determines which super global arrays are registered when PHP 599 | ; starts up. G,P,C,E & S are abbreviations for the following respective super 600 | ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty 601 | ; paid for the registration of these arrays and because ENV is not as commonly 602 | ; used as the others, ENV is not recommended on productions servers. You 603 | ; can still get access to the environment variables through getenv() should you 604 | ; need to. 605 | ; Default Value: "EGPCS" 606 | ; Development Value: "GPCS" 607 | ; Production Value: "GPCS"; 608 | ; http://php.net/variables-order 609 | variables_order = "GPCS" 610 | 611 | ; This directive determines which super global data (G,P & C) should be 612 | ; registered into the super global array REQUEST. If so, it also determines 613 | ; the order in which that data is registered. The values for this directive 614 | ; are specified in the same manner as the variables_order directive, 615 | ; EXCEPT one. Leaving this value empty will cause PHP to use the value set 616 | ; in the variables_order directive. It does not mean it will leave the super 617 | ; globals array REQUEST empty. 618 | ; Default Value: None 619 | ; Development Value: "GP" 620 | ; Production Value: "GP" 621 | ; http://php.net/request-order 622 | request_order = "GP" 623 | 624 | ; This directive determines whether PHP registers $argv & $argc each time it 625 | ; runs. $argv contains an array of all the arguments passed to PHP when a script 626 | ; is invoked. $argc contains an integer representing the number of arguments 627 | ; that were passed when the script was invoked. These arrays are extremely 628 | ; useful when running scripts from the command line. When this directive is 629 | ; enabled, registering these variables consumes CPU cycles and memory each time 630 | ; a script is executed. For performance reasons, this feature should be disabled 631 | ; on production servers. 632 | ; Note: This directive is hardcoded to On for the CLI SAPI 633 | ; Default Value: On 634 | ; Development Value: Off 635 | ; Production Value: Off 636 | ; http://php.net/register-argc-argv 637 | register_argc_argv = Off 638 | 639 | ; When enabled, the ENV, REQUEST and SERVER variables are created when they're 640 | ; first used (Just In Time) instead of when the script starts. If these 641 | ; variables are not used within a script, having this directive on will result 642 | ; in a performance gain. The PHP directive register_argc_argv must be disabled 643 | ; for this directive to have any affect. 644 | ; http://php.net/auto-globals-jit 645 | auto_globals_jit = On 646 | 647 | ; Whether PHP will read the POST data. 648 | ; This option is enabled by default. 649 | ; Most likely, you won't want to disable this option globally. It causes $_POST 650 | ; and $_FILES to always be empty; the only way you will be able to read the 651 | ; POST data will be through the php://input stream wrapper. This can be useful 652 | ; to proxy requests or to process the POST data in a memory efficient fashion. 653 | ; http://php.net/enable-post-data-reading 654 | ;enable_post_data_reading = Off 655 | 656 | ; Maximum size of POST data that PHP will accept. 657 | ; Its value may be 0 to disable the limit. It is ignored if POST data reading 658 | ; is disabled through enable_post_data_reading. 659 | ; http://php.net/post-max-size 660 | post_max_size = 8M 661 | 662 | ; Automatically add files before PHP document. 663 | ; http://php.net/auto-prepend-file 664 | auto_prepend_file = 665 | 666 | ; Automatically add files after PHP document. 667 | ; http://php.net/auto-append-file 668 | auto_append_file = 669 | 670 | ; By default, PHP will output a character encoding using 671 | ; the Content-type: header. To disable sending of the charset, simply 672 | ; set it to be empty. 673 | ; 674 | ; PHP's built-in default is text/html 675 | ; http://php.net/default-mimetype 676 | default_mimetype = "text/html" 677 | 678 | ; PHP's default character set is set to UTF-8. 679 | ; http://php.net/default-charset 680 | default_charset = "UTF-8" 681 | 682 | ; PHP internal character encoding is set to empty. 683 | ; If empty, default_charset is used. 684 | ; http://php.net/internal-encoding 685 | ;internal_encoding = 686 | 687 | ; PHP input character encoding is set to empty. 688 | ; If empty, default_charset is used. 689 | ; http://php.net/input-encoding 690 | ;input_encoding = 691 | 692 | ; PHP output character encoding is set to empty. 693 | ; If empty, default_charset is used. 694 | ; mbstring or iconv output handler is used. 695 | ; See also output_buffer. 696 | ; http://php.net/output-encoding 697 | ;output_encoding = 698 | 699 | ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is 700 | ; to disable this feature and it will be removed in a future version. 701 | ; If post reading is disabled through enable_post_data_reading, 702 | ; $HTTP_RAW_POST_DATA is *NOT* populated. 703 | ; http://php.net/always-populate-raw-post-data 704 | always_populate_raw_post_data = -1 705 | 706 | ;;;;;;;;;;;;;;;;;;;;;;;;; 707 | ; Paths and Directories ; 708 | ;;;;;;;;;;;;;;;;;;;;;;;;; 709 | 710 | ; UNIX: "/path1:/path2" 711 | ;include_path = ".:/usr/share/php" 712 | ; 713 | ; Windows: "\path1;\path2" 714 | ;include_path = ".;c:\php\includes" 715 | ; 716 | ; PHP's default setting for include_path is ".;/path/to/php/pear" 717 | ; http://php.net/include-path 718 | 719 | ; The root of the PHP pages, used only if nonempty. 720 | ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root 721 | ; if you are running php as a CGI under any web server (other than IIS) 722 | ; see documentation for security issues. The alternate is to use the 723 | ; cgi.force_redirect configuration below 724 | ; http://php.net/doc-root 725 | doc_root = 726 | 727 | ; The directory under which PHP opens the script using /~username used only 728 | ; if nonempty. 729 | ; http://php.net/user-dir 730 | user_dir = 731 | 732 | ; Directory in which the loadable extensions (modules) reside. 733 | ; http://php.net/extension-dir 734 | ; extension_dir = "./" 735 | ; On windows: 736 | ; extension_dir = "ext" 737 | 738 | ; Directory where the temporary files should be placed. 739 | ; Defaults to the system default (see sys_get_temp_dir) 740 | ; sys_temp_dir = "/tmp" 741 | 742 | ; Whether or not to enable the dl() function. The dl() function does NOT work 743 | ; properly in multithreaded servers, such as IIS or Zeus, and is automatically 744 | ; disabled on them. 745 | ; http://php.net/enable-dl 746 | enable_dl = Off 747 | 748 | ; cgi.force_redirect is necessary to provide security running PHP as a CGI under 749 | ; most web servers. Left undefined, PHP turns this on by default. You can 750 | ; turn it off here AT YOUR OWN RISK 751 | ; **You CAN safely turn this off for IIS, in fact, you MUST.** 752 | ; http://php.net/cgi.force-redirect 753 | ;cgi.force_redirect = 1 754 | 755 | ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with 756 | ; every request. PHP's default behavior is to disable this feature. 757 | ;cgi.nph = 1 758 | 759 | ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 760 | ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP 761 | ; will look for to know it is OK to continue execution. Setting this variable MAY 762 | ; cause security issues, KNOW WHAT YOU ARE DOING FIRST. 763 | ; http://php.net/cgi.redirect-status-env 764 | ;cgi.redirect_status_env = 765 | 766 | ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's 767 | ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok 768 | ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting 769 | ; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting 770 | ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts 771 | ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED. 772 | ; http://php.net/cgi.fix-pathinfo 773 | ;cgi.fix_pathinfo=1 774 | 775 | ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate 776 | ; security tokens of the calling client. This allows IIS to define the 777 | ; security context that the request runs under. mod_fastcgi under Apache 778 | ; does not currently support this feature (03/17/2002) 779 | ; Set to 1 if running under IIS. Default is zero. 780 | ; http://php.net/fastcgi.impersonate 781 | ;fastcgi.impersonate = 1 782 | 783 | ; Disable logging through FastCGI connection. PHP's default behavior is to enable 784 | ; this feature. 785 | ;fastcgi.logging = 0 786 | 787 | ; cgi.rfc2616_headers configuration option tells PHP what type of headers to 788 | ; use when sending HTTP response code. If set to 0, PHP sends Status: header that 789 | ; is supported by Apache. When this option is set to 1, PHP will send 790 | ; RFC2616 compliant header. 791 | ; Default is zero. 792 | ; http://php.net/cgi.rfc2616-headers 793 | ;cgi.rfc2616_headers = 0 794 | 795 | ;;;;;;;;;;;;;;;; 796 | ; File Uploads ; 797 | ;;;;;;;;;;;;;;;; 798 | 799 | ; Whether to allow HTTP file uploads. 800 | ; http://php.net/file-uploads 801 | file_uploads = On 802 | 803 | ; Temporary directory for HTTP uploaded files (will use system default if not 804 | ; specified). 805 | ; http://php.net/upload-tmp-dir 806 | ;upload_tmp_dir = 807 | 808 | ; Maximum allowed size for uploaded files. 809 | ; http://php.net/upload-max-filesize 810 | upload_max_filesize = 2M 811 | 812 | ; Maximum number of files that can be uploaded via a single request 813 | max_file_uploads = 20 814 | 815 | ;;;;;;;;;;;;;;;;;; 816 | ; Fopen wrappers ; 817 | ;;;;;;;;;;;;;;;;;; 818 | 819 | ; Whether to allow the treatment of URLs (like http:// or ftp://) as files. 820 | ; http://php.net/allow-url-fopen 821 | allow_url_fopen = On 822 | 823 | ; Whether to allow include/require to open URLs (like http:// or ftp://) as files. 824 | ; http://php.net/allow-url-include 825 | allow_url_include = Off 826 | 827 | ; Define the anonymous ftp password (your email address). PHP's default setting 828 | ; for this is empty. 829 | ; http://php.net/from 830 | ;from="john@doe.com" 831 | 832 | ; Define the User-Agent string. PHP's default setting for this is empty. 833 | ; http://php.net/user-agent 834 | ;user_agent="PHP" 835 | 836 | ; Default timeout for socket based streams (seconds) 837 | ; http://php.net/default-socket-timeout 838 | default_socket_timeout = 60 839 | 840 | ; If your scripts have to deal with files from Macintosh systems, 841 | ; or you are running on a Mac and need to deal with files from 842 | ; unix or win32 systems, setting this flag will cause PHP to 843 | ; automatically detect the EOL character in those files so that 844 | ; fgets() and file() will work regardless of the source of the file. 845 | ; http://php.net/auto-detect-line-endings 846 | ;auto_detect_line_endings = Off 847 | 848 | ;;;;;;;;;;;;;;;;;;;;;; 849 | ; Dynamic Extensions ; 850 | ;;;;;;;;;;;;;;;;;;;;;; 851 | 852 | ; If you wish to have an extension loaded automatically, use the following 853 | ; syntax: 854 | ; 855 | ; extension=modulename.extension 856 | ; 857 | ; For example, on Windows: 858 | ; 859 | ; extension=msql.dll 860 | ; 861 | ; ... or under UNIX: 862 | ; 863 | ; extension=msql.so 864 | ; 865 | ; ... or with a path: 866 | ; 867 | ; extension=/path/to/extension/msql.so 868 | ; 869 | ; If you only provide the name of the extension, PHP will look for it in its 870 | ; default extension directory. 871 | ; 872 | 873 | ;;;;;;;;;;;;;;;;;;; 874 | ; Module Settings ; 875 | ;;;;;;;;;;;;;;;;;;; 876 | 877 | [CLI Server] 878 | ; Whether the CLI web server uses ANSI color coding in its terminal output. 879 | cli_server.color = On 880 | 881 | [Date] 882 | ; Defines the default timezone used by the date functions 883 | ; http://php.net/date.timezone 884 | ;date.timezone = 885 | 886 | ; http://php.net/date.default-latitude 887 | ;date.default_latitude = 31.7667 888 | 889 | ; http://php.net/date.default-longitude 890 | ;date.default_longitude = 35.2333 891 | 892 | ; http://php.net/date.sunrise-zenith 893 | ;date.sunrise_zenith = 90.583333 894 | 895 | ; http://php.net/date.sunset-zenith 896 | ;date.sunset_zenith = 90.583333 897 | 898 | [filter] 899 | ; http://php.net/filter.default 900 | ;filter.default = unsafe_raw 901 | 902 | ; http://php.net/filter.default-flags 903 | ;filter.default_flags = 904 | 905 | [iconv] 906 | ; Use of this INI entry is deprecated, use global input_encoding instead. 907 | ; If empty, default_charset or input_encoding or iconv.input_encoding is used. 908 | ; The precedence is: default_charset < intput_encoding < iconv.input_encoding 909 | ;iconv.input_encoding = 910 | 911 | ; Use of this INI entry is deprecated, use global internal_encoding instead. 912 | ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used. 913 | ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding 914 | ;iconv.internal_encoding = 915 | 916 | ; Use of this INI entry is deprecated, use global output_encoding instead. 917 | ; If empty, default_charset or output_encoding or iconv.output_encoding is used. 918 | ; The precedence is: default_charset < output_encoding < iconv.output_encoding 919 | ; To use an output encoding conversion, iconv's output handler must be set 920 | ; otherwise output encoding conversion cannot be performed. 921 | ;iconv.output_encoding = 922 | 923 | [intl] 924 | ;intl.default_locale = 925 | ; This directive allows you to produce PHP errors when some error 926 | ; happens within intl functions. The value is the level of the error produced. 927 | ; Default is 0, which does not produce any errors. 928 | ;intl.error_level = E_WARNING 929 | 930 | [sqlite] 931 | ; http://php.net/sqlite.assoc-case 932 | ;sqlite.assoc_case = 0 933 | 934 | [sqlite3] 935 | ;sqlite3.extension_dir = 936 | 937 | [Pcre] 938 | ;PCRE library backtracking limit. 939 | ; http://php.net/pcre.backtrack-limit 940 | ;pcre.backtrack_limit=100000 941 | 942 | ;PCRE library recursion limit. 943 | ;Please note that if you set this value to a high number you may consume all 944 | ;the available process stack and eventually crash PHP (due to reaching the 945 | ;stack size limit imposed by the Operating System). 946 | ; http://php.net/pcre.recursion-limit 947 | ;pcre.recursion_limit=100000 948 | 949 | [Pdo] 950 | ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off" 951 | ; http://php.net/pdo-odbc.connection-pooling 952 | ;pdo_odbc.connection_pooling=strict 953 | 954 | ;pdo_odbc.db2_instance_name 955 | 956 | [Pdo_mysql] 957 | ; If mysqlnd is used: Number of cache slots for the internal result set cache 958 | ; http://php.net/pdo_mysql.cache_size 959 | pdo_mysql.cache_size = 2000 960 | 961 | ; Default socket name for local MySQL connects. If empty, uses the built-in 962 | ; MySQL defaults. 963 | ; http://php.net/pdo_mysql.default-socket 964 | pdo_mysql.default_socket= 965 | 966 | [Phar] 967 | ; http://php.net/phar.readonly 968 | ;phar.readonly = On 969 | 970 | ; http://php.net/phar.require-hash 971 | ;phar.require_hash = On 972 | 973 | ;phar.cache_list = 974 | 975 | [mail function] 976 | ; For Win32 only. 977 | ; http://php.net/smtp 978 | SMTP = localhost 979 | ; http://php.net/smtp-port 980 | smtp_port = 25 981 | 982 | ; For Win32 only. 983 | ; http://php.net/sendmail-from 984 | ;sendmail_from = me@example.com 985 | 986 | ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). 987 | ; http://php.net/sendmail-path 988 | ;sendmail_path = 989 | 990 | ; Force the addition of the specified parameters to be passed as extra parameters 991 | ; to the sendmail binary. These parameters will always replace the value of 992 | ; the 5th parameter to mail(). 993 | ;mail.force_extra_parameters = 994 | 995 | ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename 996 | mail.add_x_header = On 997 | 998 | ; The path to a log file that will log all mail() calls. Log entries include 999 | ; the full path of the script, line number, To address and headers. 1000 | ;mail.log = 1001 | ; Log mail to syslog (Event Log on Windows). 1002 | ;mail.log = syslog 1003 | 1004 | [SQL] 1005 | ; http://php.net/sql.safe-mode 1006 | sql.safe_mode = Off 1007 | 1008 | [ODBC] 1009 | ; http://php.net/odbc.default-db 1010 | ;odbc.default_db = Not yet implemented 1011 | 1012 | ; http://php.net/odbc.default-user 1013 | ;odbc.default_user = Not yet implemented 1014 | 1015 | ; http://php.net/odbc.default-pw 1016 | ;odbc.default_pw = Not yet implemented 1017 | 1018 | ; Controls the ODBC cursor model. 1019 | ; Default: SQL_CURSOR_STATIC (default). 1020 | ;odbc.default_cursortype 1021 | 1022 | ; Allow or prevent persistent links. 1023 | ; http://php.net/odbc.allow-persistent 1024 | odbc.allow_persistent = On 1025 | 1026 | ; Check that a connection is still valid before reuse. 1027 | ; http://php.net/odbc.check-persistent 1028 | odbc.check_persistent = On 1029 | 1030 | ; Maximum number of persistent links. -1 means no limit. 1031 | ; http://php.net/odbc.max-persistent 1032 | odbc.max_persistent = -1 1033 | 1034 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. 1035 | ; http://php.net/odbc.max-links 1036 | odbc.max_links = -1 1037 | 1038 | ; Handling of LONG fields. Returns number of bytes to variables. 0 means 1039 | ; passthru. 1040 | ; http://php.net/odbc.defaultlrl 1041 | odbc.defaultlrl = 4096 1042 | 1043 | ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char. 1044 | ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation 1045 | ; of odbc.defaultlrl and odbc.defaultbinmode 1046 | ; http://php.net/odbc.defaultbinmode 1047 | odbc.defaultbinmode = 1 1048 | 1049 | ;birdstep.max_links = -1 1050 | 1051 | [Interbase] 1052 | ; Allow or prevent persistent links. 1053 | ibase.allow_persistent = 1 1054 | 1055 | ; Maximum number of persistent links. -1 means no limit. 1056 | ibase.max_persistent = -1 1057 | 1058 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. 1059 | ibase.max_links = -1 1060 | 1061 | ; Default database name for ibase_connect(). 1062 | ;ibase.default_db = 1063 | 1064 | ; Default username for ibase_connect(). 1065 | ;ibase.default_user = 1066 | 1067 | ; Default password for ibase_connect(). 1068 | ;ibase.default_password = 1069 | 1070 | ; Default charset for ibase_connect(). 1071 | ;ibase.default_charset = 1072 | 1073 | ; Default timestamp format. 1074 | ibase.timestampformat = "%Y-%m-%d %H:%M:%S" 1075 | 1076 | ; Default date format. 1077 | ibase.dateformat = "%Y-%m-%d" 1078 | 1079 | ; Default time format. 1080 | ibase.timeformat = "%H:%M:%S" 1081 | 1082 | [MySQL] 1083 | ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements 1084 | ; http://php.net/mysql.allow_local_infile 1085 | mysql.allow_local_infile = On 1086 | 1087 | ; Allow or prevent persistent links. 1088 | ; http://php.net/mysql.allow-persistent 1089 | mysql.allow_persistent = On 1090 | 1091 | ; If mysqlnd is used: Number of cache slots for the internal result set cache 1092 | ; http://php.net/mysql.cache_size 1093 | mysql.cache_size = 2000 1094 | 1095 | ; Maximum number of persistent links. -1 means no limit. 1096 | ; http://php.net/mysql.max-persistent 1097 | mysql.max_persistent = -1 1098 | 1099 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. 1100 | ; http://php.net/mysql.max-links 1101 | mysql.max_links = -1 1102 | 1103 | ; Default port number for mysql_connect(). If unset, mysql_connect() will use 1104 | ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the 1105 | ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look 1106 | ; at MYSQL_PORT. 1107 | ; http://php.net/mysql.default-port 1108 | mysql.default_port = 1109 | 1110 | ; Default socket name for local MySQL connects. If empty, uses the built-in 1111 | ; MySQL defaults. 1112 | ; http://php.net/mysql.default-socket 1113 | mysql.default_socket = 1114 | 1115 | ; Default host for mysql_connect() (doesn't apply in safe mode). 1116 | ; http://php.net/mysql.default-host 1117 | mysql.default_host = 1118 | 1119 | ; Default user for mysql_connect() (doesn't apply in safe mode). 1120 | ; http://php.net/mysql.default-user 1121 | mysql.default_user = 1122 | 1123 | ; Default password for mysql_connect() (doesn't apply in safe mode). 1124 | ; Note that this is generally a *bad* idea to store passwords in this file. 1125 | ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password") 1126 | ; and reveal this password! And of course, any users with read access to this 1127 | ; file will be able to reveal the password as well. 1128 | ; http://php.net/mysql.default-password 1129 | mysql.default_password = 1130 | 1131 | ; Maximum time (in seconds) for connect timeout. -1 means no limit 1132 | ; http://php.net/mysql.connect-timeout 1133 | mysql.connect_timeout = 60 1134 | 1135 | ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and 1136 | ; SQL-Errors will be displayed. 1137 | ; http://php.net/mysql.trace-mode 1138 | mysql.trace_mode = Off 1139 | 1140 | [MySQLi] 1141 | 1142 | ; Maximum number of persistent links. -1 means no limit. 1143 | ; http://php.net/mysqli.max-persistent 1144 | mysqli.max_persistent = -1 1145 | 1146 | ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements 1147 | ; http://php.net/mysqli.allow_local_infile 1148 | ;mysqli.allow_local_infile = On 1149 | 1150 | ; Allow or prevent persistent links. 1151 | ; http://php.net/mysqli.allow-persistent 1152 | mysqli.allow_persistent = On 1153 | 1154 | ; Maximum number of links. -1 means no limit. 1155 | ; http://php.net/mysqli.max-links 1156 | mysqli.max_links = -1 1157 | 1158 | ; If mysqlnd is used: Number of cache slots for the internal result set cache 1159 | ; http://php.net/mysqli.cache_size 1160 | mysqli.cache_size = 2000 1161 | 1162 | ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use 1163 | ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the 1164 | ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look 1165 | ; at MYSQL_PORT. 1166 | ; http://php.net/mysqli.default-port 1167 | mysqli.default_port = 3306 1168 | 1169 | ; Default socket name for local MySQL connects. If empty, uses the built-in 1170 | ; MySQL defaults. 1171 | ; http://php.net/mysqli.default-socket 1172 | mysqli.default_socket = 1173 | 1174 | ; Default host for mysql_connect() (doesn't apply in safe mode). 1175 | ; http://php.net/mysqli.default-host 1176 | mysqli.default_host = 1177 | 1178 | ; Default user for mysql_connect() (doesn't apply in safe mode). 1179 | ; http://php.net/mysqli.default-user 1180 | mysqli.default_user = 1181 | 1182 | ; Default password for mysqli_connect() (doesn't apply in safe mode). 1183 | ; Note that this is generally a *bad* idea to store passwords in this file. 1184 | ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw") 1185 | ; and reveal this password! And of course, any users with read access to this 1186 | ; file will be able to reveal the password as well. 1187 | ; http://php.net/mysqli.default-pw 1188 | mysqli.default_pw = 1189 | 1190 | ; Allow or prevent reconnect 1191 | mysqli.reconnect = Off 1192 | 1193 | [mysqlnd] 1194 | ; Enable / Disable collection of general statistics by mysqlnd which can be 1195 | ; used to tune and monitor MySQL operations. 1196 | ; http://php.net/mysqlnd.collect_statistics 1197 | mysqlnd.collect_statistics = On 1198 | 1199 | ; Enable / Disable collection of memory usage statistics by mysqlnd which can be 1200 | ; used to tune and monitor MySQL operations. 1201 | ; http://php.net/mysqlnd.collect_memory_statistics 1202 | mysqlnd.collect_memory_statistics = Off 1203 | 1204 | ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes. 1205 | ; http://php.net/mysqlnd.net_cmd_buffer_size 1206 | ;mysqlnd.net_cmd_buffer_size = 2048 1207 | 1208 | ; Size of a pre-allocated buffer used for reading data sent by the server in 1209 | ; bytes. 1210 | ; http://php.net/mysqlnd.net_read_buffer_size 1211 | ;mysqlnd.net_read_buffer_size = 32768 1212 | 1213 | [OCI8] 1214 | 1215 | ; Connection: Enables privileged connections using external 1216 | ; credentials (OCI_SYSOPER, OCI_SYSDBA) 1217 | ; http://php.net/oci8.privileged-connect 1218 | ;oci8.privileged_connect = Off 1219 | 1220 | ; Connection: The maximum number of persistent OCI8 connections per 1221 | ; process. Using -1 means no limit. 1222 | ; http://php.net/oci8.max-persistent 1223 | ;oci8.max_persistent = -1 1224 | 1225 | ; Connection: The maximum number of seconds a process is allowed to 1226 | ; maintain an idle persistent connection. Using -1 means idle 1227 | ; persistent connections will be maintained forever. 1228 | ; http://php.net/oci8.persistent-timeout 1229 | ;oci8.persistent_timeout = -1 1230 | 1231 | ; Connection: The number of seconds that must pass before issuing a 1232 | ; ping during oci_pconnect() to check the connection validity. When 1233 | ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables 1234 | ; pings completely. 1235 | ; http://php.net/oci8.ping-interval 1236 | ;oci8.ping_interval = 60 1237 | 1238 | ; Connection: Set this to a user chosen connection class to be used 1239 | ; for all pooled server requests with Oracle 11g Database Resident 1240 | ; Connection Pooling (DRCP). To use DRCP, this value should be set to 1241 | ; the same string for all web servers running the same application, 1242 | ; the database pool must be configured, and the connection string must 1243 | ; specify to use a pooled server. 1244 | ;oci8.connection_class = 1245 | 1246 | ; High Availability: Using On lets PHP receive Fast Application 1247 | ; Notification (FAN) events generated when a database node fails. The 1248 | ; database must also be configured to post FAN events. 1249 | ;oci8.events = Off 1250 | 1251 | ; Tuning: This option enables statement caching, and specifies how 1252 | ; many statements to cache. Using 0 disables statement caching. 1253 | ; http://php.net/oci8.statement-cache-size 1254 | ;oci8.statement_cache_size = 20 1255 | 1256 | ; Tuning: Enables statement prefetching and sets the default number of 1257 | ; rows that will be fetched automatically after statement execution. 1258 | ; http://php.net/oci8.default-prefetch 1259 | ;oci8.default_prefetch = 100 1260 | 1261 | ; Compatibility. Using On means oci_close() will not close 1262 | ; oci_connect() and oci_new_connect() connections. 1263 | ; http://php.net/oci8.old-oci-close-semantics 1264 | ;oci8.old_oci_close_semantics = Off 1265 | 1266 | [PostgreSQL] 1267 | ; Allow or prevent persistent links. 1268 | ; http://php.net/pgsql.allow-persistent 1269 | pgsql.allow_persistent = On 1270 | 1271 | ; Detect broken persistent links always with pg_pconnect(). 1272 | ; Auto reset feature requires a little overheads. 1273 | ; http://php.net/pgsql.auto-reset-persistent 1274 | pgsql.auto_reset_persistent = Off 1275 | 1276 | ; Maximum number of persistent links. -1 means no limit. 1277 | ; http://php.net/pgsql.max-persistent 1278 | pgsql.max_persistent = -1 1279 | 1280 | ; Maximum number of links (persistent+non persistent). -1 means no limit. 1281 | ; http://php.net/pgsql.max-links 1282 | pgsql.max_links = -1 1283 | 1284 | ; Ignore PostgreSQL backends Notice message or not. 1285 | ; Notice message logging require a little overheads. 1286 | ; http://php.net/pgsql.ignore-notice 1287 | pgsql.ignore_notice = 0 1288 | 1289 | ; Log PostgreSQL backends Notice message or not. 1290 | ; Unless pgsql.ignore_notice=0, module cannot log notice message. 1291 | ; http://php.net/pgsql.log-notice 1292 | pgsql.log_notice = 0 1293 | 1294 | [Sybase-CT] 1295 | ; Allow or prevent persistent links. 1296 | ; http://php.net/sybct.allow-persistent 1297 | sybct.allow_persistent = On 1298 | 1299 | ; Maximum number of persistent links. -1 means no limit. 1300 | ; http://php.net/sybct.max-persistent 1301 | sybct.max_persistent = -1 1302 | 1303 | ; Maximum number of links (persistent + non-persistent). -1 means no limit. 1304 | ; http://php.net/sybct.max-links 1305 | sybct.max_links = -1 1306 | 1307 | ; Minimum server message severity to display. 1308 | ; http://php.net/sybct.min-server-severity 1309 | sybct.min_server_severity = 10 1310 | 1311 | ; Minimum client message severity to display. 1312 | ; http://php.net/sybct.min-client-severity 1313 | sybct.min_client_severity = 10 1314 | 1315 | ; Set per-context timeout 1316 | ; http://php.net/sybct.timeout 1317 | ;sybct.timeout= 1318 | 1319 | ;sybct.packet_size 1320 | 1321 | ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure. 1322 | ; Default: one minute 1323 | ;sybct.login_timeout= 1324 | 1325 | ; The name of the host you claim to be connecting from, for display by sp_who. 1326 | ; Default: none 1327 | ;sybct.hostname= 1328 | 1329 | ; Allows you to define how often deadlocks are to be retried. -1 means "forever". 1330 | ; Default: 0 1331 | ;sybct.deadlock_retry_count= 1332 | 1333 | [bcmath] 1334 | ; Number of decimal digits for all bcmath functions. 1335 | ; http://php.net/bcmath.scale 1336 | bcmath.scale = 0 1337 | 1338 | [browscap] 1339 | ; http://php.net/browscap 1340 | ;browscap = extra/browscap.ini 1341 | 1342 | [Session] 1343 | ; Handler used to store/retrieve data. 1344 | ; http://php.net/session.save-handler 1345 | session.save_handler = files 1346 | 1347 | ; Argument passed to save_handler. In the case of files, this is the path 1348 | ; where data files are stored. Note: Windows users have to change this 1349 | ; variable in order to use PHP's session functions. 1350 | ; 1351 | ; The path can be defined as: 1352 | ; 1353 | ; session.save_path = "N;/path" 1354 | ; 1355 | ; where N is an integer. Instead of storing all the session files in 1356 | ; /path, what this will do is use subdirectories N-levels deep, and 1357 | ; store the session data in those directories. This is useful if 1358 | ; your OS has problems with many files in one directory, and is 1359 | ; a more efficient layout for servers that handle many sessions. 1360 | ; 1361 | ; NOTE 1: PHP will not create this directory structure automatically. 1362 | ; You can use the script in the ext/session dir for that purpose. 1363 | ; NOTE 2: See the section on garbage collection below if you choose to 1364 | ; use subdirectories for session storage 1365 | ; 1366 | ; The file storage module creates files using mode 600 by default. 1367 | ; You can change that by using 1368 | ; 1369 | ; session.save_path = "N;MODE;/path" 1370 | ; 1371 | ; where MODE is the octal representation of the mode. Note that this 1372 | ; does not overwrite the process's umask. 1373 | ; http://php.net/session.save-path 1374 | ;session.save_path = "/var/lib/php5/sessions" 1375 | 1376 | ; Whether to use strict session mode. 1377 | ; Strict session mode does not accept uninitialized session ID and regenerate 1378 | ; session ID if browser sends uninitialized session ID. Strict mode protects 1379 | ; applications from session fixation via session adoption vulnerability. It is 1380 | ; disabled by default for maximum compatibility, but enabling it is encouraged. 1381 | ; https://wiki.php.net/rfc/strict_sessions 1382 | session.use_strict_mode = 0 1383 | 1384 | ; Whether to use cookies. 1385 | ; http://php.net/session.use-cookies 1386 | session.use_cookies = 1 1387 | 1388 | ; http://php.net/session.cookie-secure 1389 | ;session.cookie_secure = 1390 | 1391 | ; This option forces PHP to fetch and use a cookie for storing and maintaining 1392 | ; the session id. We encourage this operation as it's very helpful in combating 1393 | ; session hijacking when not specifying and managing your own session id. It is 1394 | ; not the be-all and end-all of session hijacking defense, but it's a good start. 1395 | ; http://php.net/session.use-only-cookies 1396 | session.use_only_cookies = 1 1397 | 1398 | ; Name of the session (used as cookie name). 1399 | ; http://php.net/session.name 1400 | session.name = PHPSESSID 1401 | 1402 | ; Initialize session on request startup. 1403 | ; http://php.net/session.auto-start 1404 | session.auto_start = 0 1405 | 1406 | ; Lifetime in seconds of cookie or, if 0, until browser is restarted. 1407 | ; http://php.net/session.cookie-lifetime 1408 | session.cookie_lifetime = 0 1409 | 1410 | ; The path for which the cookie is valid. 1411 | ; http://php.net/session.cookie-path 1412 | session.cookie_path = / 1413 | 1414 | ; The domain for which the cookie is valid. 1415 | ; http://php.net/session.cookie-domain 1416 | session.cookie_domain = 1417 | 1418 | ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript. 1419 | ; http://php.net/session.cookie-httponly 1420 | session.cookie_httponly = 1421 | 1422 | ; Handler used to serialize data. php is the standard serializer of PHP. 1423 | ; http://php.net/session.serialize-handler 1424 | session.serialize_handler = php 1425 | 1426 | ; Defines the probability that the 'garbage collection' process is started 1427 | ; on every session initialization. The probability is calculated by using 1428 | ; gc_probability/gc_divisor. Where session.gc_probability is the numerator 1429 | ; and gc_divisor is the denominator in the equation. Setting this value to 1 1430 | ; when the session.gc_divisor value is 100 will give you approximately a 1% chance 1431 | ; the gc will run on any give request. 1432 | ; Default Value: 1 1433 | ; Development Value: 1 1434 | ; Production Value: 1 1435 | ; http://php.net/session.gc-probability 1436 | session.gc_probability = 0 1437 | 1438 | ; Defines the probability that the 'garbage collection' process is started on every 1439 | ; session initialization. The probability is calculated by using the following equation: 1440 | ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and 1441 | ; session.gc_divisor is the denominator in the equation. Setting this value to 1 1442 | ; when the session.gc_divisor value is 100 will give you approximately a 1% chance 1443 | ; the gc will run on any give request. Increasing this value to 1000 will give you 1444 | ; a 0.1% chance the gc will run on any give request. For high volume production servers, 1445 | ; this is a more efficient approach. 1446 | ; Default Value: 100 1447 | ; Development Value: 1000 1448 | ; Production Value: 1000 1449 | ; http://php.net/session.gc-divisor 1450 | session.gc_divisor = 1000 1451 | 1452 | ; After this number of seconds, stored data will be seen as 'garbage' and 1453 | ; cleaned up by the garbage collection process. 1454 | ; http://php.net/session.gc-maxlifetime 1455 | session.gc_maxlifetime = 1440 1456 | 1457 | ; NOTE: If you are using the subdirectory option for storing session files 1458 | ; (see session.save_path above), then garbage collection does *not* 1459 | ; happen automatically. You will need to do your own garbage 1460 | ; collection through a shell script, cron entry, or some other method. 1461 | ; For example, the following script would is the equivalent of 1462 | ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes): 1463 | ; find /path/to/sessions -cmin +24 -type f | xargs rm 1464 | 1465 | ; Check HTTP Referer to invalidate externally stored URLs containing ids. 1466 | ; HTTP_REFERER has to contain this substring for the session to be 1467 | ; considered as valid. 1468 | ; http://php.net/session.referer-check 1469 | session.referer_check = 1470 | 1471 | ; How many bytes to read from the file. 1472 | ; http://php.net/session.entropy-length 1473 | ;session.entropy_length = 32 1474 | 1475 | ; Specified here to create the session id. 1476 | ; http://php.net/session.entropy-file 1477 | ; Defaults to /dev/urandom 1478 | ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom 1479 | ; If neither are found at compile time, the default is no entropy file. 1480 | ; On windows, setting the entropy_length setting will activate the 1481 | ; Windows random source (using the CryptoAPI) 1482 | ;session.entropy_file = /dev/urandom 1483 | 1484 | ; Set to {nocache,private,public,} to determine HTTP caching aspects 1485 | ; or leave this empty to avoid sending anti-caching headers. 1486 | ; http://php.net/session.cache-limiter 1487 | session.cache_limiter = nocache 1488 | 1489 | ; Document expires after n minutes. 1490 | ; http://php.net/session.cache-expire 1491 | session.cache_expire = 180 1492 | 1493 | ; trans sid support is disabled by default. 1494 | ; Use of trans sid may risk your users' security. 1495 | ; Use this option with caution. 1496 | ; - User may send URL contains active session ID 1497 | ; to other person via. email/irc/etc. 1498 | ; - URL that contains active session ID may be stored 1499 | ; in publicly accessible computer. 1500 | ; - User may access your site with the same session ID 1501 | ; always using URL stored in browser's history or bookmarks. 1502 | ; http://php.net/session.use-trans-sid 1503 | session.use_trans_sid = 0 1504 | 1505 | ; Select a hash function for use in generating session ids. 1506 | ; Possible Values 1507 | ; 0 (MD5 128 bits) 1508 | ; 1 (SHA-1 160 bits) 1509 | ; This option may also be set to the name of any hash function supported by 1510 | ; the hash extension. A list of available hashes is returned by the hash_algos() 1511 | ; function. 1512 | ; http://php.net/session.hash-function 1513 | session.hash_function = 0 1514 | 1515 | ; Define how many bits are stored in each character when converting 1516 | ; the binary hash data to something readable. 1517 | ; Possible values: 1518 | ; 4 (4 bits: 0-9, a-f) 1519 | ; 5 (5 bits: 0-9, a-v) 1520 | ; 6 (6 bits: 0-9, a-z, A-Z, "-", ",") 1521 | ; Default Value: 4 1522 | ; Development Value: 5 1523 | ; Production Value: 5 1524 | ; http://php.net/session.hash-bits-per-character 1525 | session.hash_bits_per_character = 5 1526 | 1527 | ; The URL rewriter will look for URLs in a defined set of HTML tags. 1528 | ; form/fieldset are special; if you include them here, the rewriter will 1529 | ; add a hidden field with the info which is otherwise appended 1530 | ; to URLs. If you want XHTML conformity, remove the form entry. 1531 | ; Note that all valid entries require a "=", even if no value follows. 1532 | ; Default Value: "a=href,area=href,frame=src,form=,fieldset=" 1533 | ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry" 1534 | ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry" 1535 | ; http://php.net/url-rewriter.tags 1536 | url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" 1537 | 1538 | ; Enable upload progress tracking in $_SESSION 1539 | ; Default Value: On 1540 | ; Development Value: On 1541 | ; Production Value: On 1542 | ; http://php.net/session.upload-progress.enabled 1543 | ;session.upload_progress.enabled = On 1544 | 1545 | ; Cleanup the progress information as soon as all POST data has been read 1546 | ; (i.e. upload completed). 1547 | ; Default Value: On 1548 | ; Development Value: On 1549 | ; Production Value: On 1550 | ; http://php.net/session.upload-progress.cleanup 1551 | ;session.upload_progress.cleanup = On 1552 | 1553 | ; A prefix used for the upload progress key in $_SESSION 1554 | ; Default Value: "upload_progress_" 1555 | ; Development Value: "upload_progress_" 1556 | ; Production Value: "upload_progress_" 1557 | ; http://php.net/session.upload-progress.prefix 1558 | ;session.upload_progress.prefix = "upload_progress_" 1559 | 1560 | ; The index name (concatenated with the prefix) in $_SESSION 1561 | ; containing the upload progress information 1562 | ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS" 1563 | ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS" 1564 | ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS" 1565 | ; http://php.net/session.upload-progress.name 1566 | ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS" 1567 | 1568 | ; How frequently the upload progress should be updated. 1569 | ; Given either in percentages (per-file), or in bytes 1570 | ; Default Value: "1%" 1571 | ; Development Value: "1%" 1572 | ; Production Value: "1%" 1573 | ; http://php.net/session.upload-progress.freq 1574 | ;session.upload_progress.freq = "1%" 1575 | 1576 | ; The minimum delay between updates, in seconds 1577 | ; Default Value: 1 1578 | ; Development Value: 1 1579 | ; Production Value: 1 1580 | ; http://php.net/session.upload-progress.min-freq 1581 | ;session.upload_progress.min_freq = "1" 1582 | 1583 | [MSSQL] 1584 | ; Allow or prevent persistent links. 1585 | mssql.allow_persistent = On 1586 | 1587 | ; Maximum number of persistent links. -1 means no limit. 1588 | mssql.max_persistent = -1 1589 | 1590 | ; Maximum number of links (persistent+non persistent). -1 means no limit. 1591 | mssql.max_links = -1 1592 | 1593 | ; Minimum error severity to display. 1594 | mssql.min_error_severity = 10 1595 | 1596 | ; Minimum message severity to display. 1597 | mssql.min_message_severity = 10 1598 | 1599 | ; Compatibility mode with old versions of PHP 3.0. 1600 | mssql.compatibility_mode = Off 1601 | 1602 | ; Connect timeout 1603 | ;mssql.connect_timeout = 5 1604 | 1605 | ; Query timeout 1606 | ;mssql.timeout = 60 1607 | 1608 | ; Valid range 0 - 2147483647. Default = 4096. 1609 | ;mssql.textlimit = 4096 1610 | 1611 | ; Valid range 0 - 2147483647. Default = 4096. 1612 | ;mssql.textsize = 4096 1613 | 1614 | ; Limits the number of records in each batch. 0 = all records in one batch. 1615 | ;mssql.batchsize = 0 1616 | 1617 | ; Specify how datetime and datetim4 columns are returned 1618 | ; On => Returns data converted to SQL server settings 1619 | ; Off => Returns values as YYYY-MM-DD hh:mm:ss 1620 | ;mssql.datetimeconvert = On 1621 | 1622 | ; Use NT authentication when connecting to the server 1623 | mssql.secure_connection = Off 1624 | 1625 | ; Specify max number of processes. -1 = library default 1626 | ; msdlib defaults to 25 1627 | ; FreeTDS defaults to 4096 1628 | ;mssql.max_procs = -1 1629 | 1630 | ; Specify client character set. 1631 | ; If empty or not set the client charset from freetds.conf is used 1632 | ; This is only used when compiled with FreeTDS 1633 | ;mssql.charset = "ISO-8859-1" 1634 | 1635 | [Assertion] 1636 | ; Assert(expr); active by default. 1637 | ; http://php.net/assert.active 1638 | ;assert.active = On 1639 | 1640 | ; Issue a PHP warning for each failed assertion. 1641 | ; http://php.net/assert.warning 1642 | ;assert.warning = On 1643 | 1644 | ; Don't bail out by default. 1645 | ; http://php.net/assert.bail 1646 | ;assert.bail = Off 1647 | 1648 | ; User-function to be called if an assertion fails. 1649 | ; http://php.net/assert.callback 1650 | ;assert.callback = 0 1651 | 1652 | ; Eval the expression with current error_reporting(). Set to true if you want 1653 | ; error_reporting(0) around the eval(). 1654 | ; http://php.net/assert.quiet-eval 1655 | ;assert.quiet_eval = 0 1656 | 1657 | [COM] 1658 | ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs 1659 | ; http://php.net/com.typelib-file 1660 | ;com.typelib_file = 1661 | 1662 | ; allow Distributed-COM calls 1663 | ; http://php.net/com.allow-dcom 1664 | ;com.allow_dcom = true 1665 | 1666 | ; autoregister constants of a components typlib on com_load() 1667 | ; http://php.net/com.autoregister-typelib 1668 | ;com.autoregister_typelib = true 1669 | 1670 | ; register constants casesensitive 1671 | ; http://php.net/com.autoregister-casesensitive 1672 | ;com.autoregister_casesensitive = false 1673 | 1674 | ; show warnings on duplicate constant registrations 1675 | ; http://php.net/com.autoregister-verbose 1676 | ;com.autoregister_verbose = true 1677 | 1678 | ; The default character set code-page to use when passing strings to and from COM objects. 1679 | ; Default: system ANSI code page 1680 | ;com.code_page= 1681 | 1682 | [mbstring] 1683 | ; language for internal character representation. 1684 | ; This affects mb_send_mail() and mbstrig.detect_order. 1685 | ; http://php.net/mbstring.language 1686 | ;mbstring.language = Japanese 1687 | 1688 | ; Use of this INI entry is deprecated, use global internal_encoding instead. 1689 | ; internal/script encoding. 1690 | ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*) 1691 | ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used. 1692 | ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding 1693 | ;mbstring.internal_encoding = 1694 | 1695 | ; Use of this INI entry is deprecated, use global input_encoding instead. 1696 | ; http input encoding. 1697 | ; mbstring.encoding_traslation = On is needed to use this setting. 1698 | ; If empty, default_charset or input_encoding or mbstring.input is used. 1699 | ; The precedence is: default_charset < intput_encoding < mbsting.http_input 1700 | ; http://php.net/mbstring.http-input 1701 | ;mbstring.http_input = 1702 | 1703 | ; Use of this INI entry is deprecated, use global output_encoding instead. 1704 | ; http output encoding. 1705 | ; mb_output_handler must be registered as output buffer to function. 1706 | ; If empty, default_charset or output_encoding or mbstring.http_output is used. 1707 | ; The precedence is: default_charset < output_encoding < mbstring.http_output 1708 | ; To use an output encoding conversion, mbstring's output handler must be set 1709 | ; otherwise output encoding conversion cannot be performed. 1710 | ; http://php.net/mbstring.http-output 1711 | ;mbstring.http_output = 1712 | 1713 | ; enable automatic encoding translation according to 1714 | ; mbstring.internal_encoding setting. Input chars are 1715 | ; converted to internal encoding by setting this to On. 1716 | ; Note: Do _not_ use automatic encoding translation for 1717 | ; portable libs/applications. 1718 | ; http://php.net/mbstring.encoding-translation 1719 | ;mbstring.encoding_translation = Off 1720 | 1721 | ; automatic encoding detection order. 1722 | ; "auto" detect order is changed according to mbstring.language 1723 | ; http://php.net/mbstring.detect-order 1724 | ;mbstring.detect_order = auto 1725 | 1726 | ; substitute_character used when character cannot be converted 1727 | ; one from another 1728 | ; http://php.net/mbstring.substitute-character 1729 | ;mbstring.substitute_character = none 1730 | 1731 | ; overload(replace) single byte functions by mbstring functions. 1732 | ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(), 1733 | ; etc. Possible values are 0,1,2,4 or combination of them. 1734 | ; For example, 7 for overload everything. 1735 | ; 0: No overload 1736 | ; 1: Overload mail() function 1737 | ; 2: Overload str*() functions 1738 | ; 4: Overload ereg*() functions 1739 | ; http://php.net/mbstring.func-overload 1740 | ;mbstring.func_overload = 0 1741 | 1742 | ; enable strict encoding detection. 1743 | ; Default: Off 1744 | ;mbstring.strict_detection = On 1745 | 1746 | ; This directive specifies the regex pattern of content types for which mb_output_handler() 1747 | ; is activated. 1748 | ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml) 1749 | ;mbstring.http_output_conv_mimetype= 1750 | 1751 | [gd] 1752 | ; Tell the jpeg decode to ignore warnings and try to create 1753 | ; a gd image. The warning will then be displayed as notices 1754 | ; disabled by default 1755 | ; http://php.net/gd.jpeg-ignore-warning 1756 | ;gd.jpeg_ignore_warning = 0 1757 | 1758 | [exif] 1759 | ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. 1760 | ; With mbstring support this will automatically be converted into the encoding 1761 | ; given by corresponding encode setting. When empty mbstring.internal_encoding 1762 | ; is used. For the decode settings you can distinguish between motorola and 1763 | ; intel byte order. A decode setting cannot be empty. 1764 | ; http://php.net/exif.encode-unicode 1765 | ;exif.encode_unicode = ISO-8859-15 1766 | 1767 | ; http://php.net/exif.decode-unicode-motorola 1768 | ;exif.decode_unicode_motorola = UCS-2BE 1769 | 1770 | ; http://php.net/exif.decode-unicode-intel 1771 | ;exif.decode_unicode_intel = UCS-2LE 1772 | 1773 | ; http://php.net/exif.encode-jis 1774 | ;exif.encode_jis = 1775 | 1776 | ; http://php.net/exif.decode-jis-motorola 1777 | ;exif.decode_jis_motorola = JIS 1778 | 1779 | ; http://php.net/exif.decode-jis-intel 1780 | ;exif.decode_jis_intel = JIS 1781 | 1782 | [Tidy] 1783 | ; The path to a default tidy configuration file to use when using tidy 1784 | ; http://php.net/tidy.default-config 1785 | ;tidy.default_config = /usr/local/lib/php/default.tcfg 1786 | 1787 | ; Should tidy clean and repair output automatically? 1788 | ; WARNING: Do not use this option if you are generating non-html content 1789 | ; such as dynamic images 1790 | ; http://php.net/tidy.clean-output 1791 | tidy.clean_output = Off 1792 | 1793 | [soap] 1794 | ; Enables or disables WSDL caching feature. 1795 | ; http://php.net/soap.wsdl-cache-enabled 1796 | soap.wsdl_cache_enabled=1 1797 | 1798 | ; Sets the directory name where SOAP extension will put cache files. 1799 | ; http://php.net/soap.wsdl-cache-dir 1800 | soap.wsdl_cache_dir="/tmp" 1801 | 1802 | ; (time to live) Sets the number of second while cached file will be used 1803 | ; instead of original one. 1804 | ; http://php.net/soap.wsdl-cache-ttl 1805 | soap.wsdl_cache_ttl=86400 1806 | 1807 | ; Sets the size of the cache limit. (Max. number of WSDL files to cache) 1808 | soap.wsdl_cache_limit = 5 1809 | 1810 | [sysvshm] 1811 | ; A default size of the shared memory segment 1812 | ;sysvshm.init_mem = 10000 1813 | 1814 | [ldap] 1815 | ; Sets the maximum number of open links or -1 for unlimited. 1816 | ldap.max_links = -1 1817 | 1818 | [mcrypt] 1819 | ; For more information about mcrypt settings see http://php.net/mcrypt-module-open 1820 | 1821 | ; Directory where to load mcrypt algorithms 1822 | ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt) 1823 | ;mcrypt.algorithms_dir= 1824 | 1825 | ; Directory where to load mcrypt modes 1826 | ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt) 1827 | ;mcrypt.modes_dir= 1828 | 1829 | [dba] 1830 | ;dba.default_handler= 1831 | 1832 | [opcache] 1833 | ; Determines if Zend OPCache is enabled 1834 | ;opcache.enable=0 1835 | 1836 | ; Determines if Zend OPCache is enabled for the CLI version of PHP 1837 | ;opcache.enable_cli=0 1838 | 1839 | ; The OPcache shared memory storage size. 1840 | ;opcache.memory_consumption=64 1841 | 1842 | ; The amount of memory for interned strings in Mbytes. 1843 | ;opcache.interned_strings_buffer=4 1844 | 1845 | ; The maximum number of keys (scripts) in the OPcache hash table. 1846 | ; Only numbers between 200 and 100000 are allowed. 1847 | ;opcache.max_accelerated_files=2000 1848 | 1849 | ; The maximum percentage of "wasted" memory until a restart is scheduled. 1850 | ;opcache.max_wasted_percentage=5 1851 | 1852 | ; When this directive is enabled, the OPcache appends the current working 1853 | ; directory to the script key, thus eliminating possible collisions between 1854 | ; files with the same name (basename). Disabling the directive improves 1855 | ; performance, but may break existing applications. 1856 | ;opcache.use_cwd=1 1857 | 1858 | ; When disabled, you must reset the OPcache manually or restart the 1859 | ; webserver for changes to the filesystem to take effect. 1860 | ;opcache.validate_timestamps=1 1861 | 1862 | ; How often (in seconds) to check file timestamps for changes to the shared 1863 | ; memory storage allocation. ("1" means validate once per second, but only 1864 | ; once per request. "0" means always validate) 1865 | ;opcache.revalidate_freq=2 1866 | 1867 | ; Enables or disables file search in include_path optimization 1868 | ;opcache.revalidate_path=0 1869 | 1870 | ; If disabled, all PHPDoc comments are dropped from the code to reduce the 1871 | ; size of the optimized code. 1872 | ;opcache.save_comments=1 1873 | 1874 | ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments" 1875 | ; may be always stored (save_comments=1), but not loaded by applications 1876 | ; that don't need them anyway. 1877 | ;opcache.load_comments=1 1878 | 1879 | ; If enabled, a fast shutdown sequence is used for the accelerated code 1880 | ;opcache.fast_shutdown=0 1881 | 1882 | ; Allow file existence override (file_exists, etc.) performance feature. 1883 | ;opcache.enable_file_override=0 1884 | 1885 | ; A bitmask, where each bit enables or disables the appropriate OPcache 1886 | ; passes 1887 | ;opcache.optimization_level=0xffffffff 1888 | 1889 | ;opcache.inherited_hack=1 1890 | ;opcache.dups_fix=0 1891 | 1892 | ; The location of the OPcache blacklist file (wildcards allowed). 1893 | ; Each OPcache blacklist file is a text file that holds the names of files 1894 | ; that should not be accelerated. The file format is to add each filename 1895 | ; to a new line. The filename may be a full path or just a file prefix 1896 | ; (i.e., /var/www/x blacklists all the files and directories in /var/www 1897 | ; that start with 'x'). Line starting with a ; are ignored (comments). 1898 | ;opcache.blacklist_filename= 1899 | 1900 | ; Allows exclusion of large files from being cached. By default all files 1901 | ; are cached. 1902 | ;opcache.max_file_size=0 1903 | 1904 | ; Check the cache checksum each N requests. 1905 | ; The default value of "0" means that the checks are disabled. 1906 | ;opcache.consistency_checks=0 1907 | 1908 | ; How long to wait (in seconds) for a scheduled restart to begin if the cache 1909 | ; is not being accessed. 1910 | ;opcache.force_restart_timeout=180 1911 | 1912 | ; OPcache error_log file name. Empty string assumes "stderr". 1913 | ;opcache.error_log= 1914 | 1915 | ; All OPcache errors go to the Web server log. 1916 | ; By default, only fatal errors (level 0) or errors (level 1) are logged. 1917 | ; You can also enable warnings (level 2), info messages (level 3) or 1918 | ; debug messages (level 4). 1919 | ;opcache.log_verbosity_level=1 1920 | 1921 | ; Preferred Shared Memory back-end. Leave empty and let the system decide. 1922 | ;opcache.preferred_memory_model= 1923 | 1924 | ; Protect the shared memory from unexpected writing during script execution. 1925 | ; Useful for internal debugging only. 1926 | ;opcache.protect_memory=0 1927 | 1928 | [curl] 1929 | ; A default value for the CURLOPT_CAINFO option. This is required to be an 1930 | ; absolute path. 1931 | ;curl.cainfo = 1932 | 1933 | [openssl] 1934 | ; The location of a Certificate Authority (CA) file on the local filesystem 1935 | ; to use when verifying the identity of SSL/TLS peers. Most users should 1936 | ; not specify a value for this directive as PHP will attempt to use the 1937 | ; OS-managed cert stores in its absence. If specified, this value may still 1938 | ; be overridden on a per-stream basis via the "cafile" SSL stream context 1939 | ; option. 1940 | ;openssl.cafile= 1941 | 1942 | ; If openssl.cafile is not specified or if the CA file is not found, the 1943 | ; directory pointed to by openssl.capath is searched for a suitable 1944 | ; certificate. This value must be a correctly hashed certificate directory. 1945 | ; Most users should not specify a value for this directive as PHP will 1946 | ; attempt to use the OS-managed cert stores in its absence. If specified, 1947 | ; this value may still be overridden on a per-stream basis via the "capath" 1948 | ; SSL stream context option. 1949 | ;openssl.capath= 1950 | 1951 | ; Local Variables: 1952 | ; tab-width: 4 1953 | ; End: 1954 | --------------------------------------------------------------------------------