summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-system/lh_php.ini
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2023-01-12 18:45:23 (GMT)
committerBritney Fransen <brfransen@gmail.com>2023-01-12 18:45:23 (GMT)
commit7e4d5c7659e2cc4b842f77eb27192883eb0062a8 (patch)
tree900b77a042c8397c5564ec1089e9aa1f5b021bba /linhes/linhes-system/lh_php.ini
parentbefe18b4ab2e1f681324b2922aa9ada4864e0d3f (diff)
downloadlinhes_pkgbuild-7e4d5c7659e2cc4b842f77eb27192883eb0062a8.zip
linhes_pkgbuild-7e4d5c7659e2cc4b842f77eb27192883eb0062a8.tar.gz
linhes_pkgbuild-7e4d5c7659e2cc4b842f77eb27192883eb0062a8.tar.bz2
linhes-system: update defaults for lighttpd, sqlserver and php
Diffstat (limited to 'linhes/linhes-system/lh_php.ini')
-rw-r--r--linhes/linhes-system/lh_php.ini45
1 files changed, 45 insertions, 0 deletions
diff --git a/linhes/linhes-system/lh_php.ini b/linhes/linhes-system/lh_php.ini
new file mode 100644
index 0000000..521f2f3
--- /dev/null
+++ b/linhes/linhes-system/lh_php.ini
@@ -0,0 +1,45 @@
+[PHP]
+
+; Log errors to specified file. PHP's default behavior is to leave this value
+; empty.
+; http://php.net/error-log
+; Example:
+;error_log = php_errors.log
+; Log errors to syslog (Event Log on Windows).
+;error_log = syslog
+
+; How many GET/POST/COOKIE input variables may be accepted
+max_input_vars = 6000
+
+; This directive determines whether or not PHP will recognize code between
+; <? and ?> tags as PHP source which should be processed as such. It is
+; generally recommended that <?php and ?> should be used and that this feature
+; should be disabled, as enabling it may result in issues when generating XML
+; documents, however this remains supported for backward compatibility reasons.
+; Note that this directive does not control the <?= shorthand tag, which can be
+; used regardless of this directive.
+; Default Value: On
+; Development Value: Off
+; Production Value: Off
+; http://php.net/short-open-tag
+short_open_tag = On
+
+; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
+; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
+; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
+; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
+; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
+; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
+; http://php.net/cgi.fix-pathinfo
+cgi.fix_pathinfo=1
+
+extension=ftp.so
+extension=gd.so
+extension=gettext.so
+extension=mcrypt.so
+extension=mysql.so
+extension=mysqli.so
+extension=openssl.so
+extension=pdo_mysql.so
+extension=sockets.so
+extension=zip.so