hiawatha-php.ayarlari
This commit is contained in:
parent
b37906f7f4
commit
0807edbaff
|
@ -49,7 +49,7 @@ ExecuteCGI = yes
|
|||
# These settings can be used to run CGI applications.
|
||||
#
|
||||
#CGIhandler = /usr/bin/perl:pl
|
||||
CGIhandler = /usr/bin/php-cgi:php5,php
|
||||
#CGIhandler = /usr/bin/php-cgi:php
|
||||
#CGIhandler = /usr/bin/python:py
|
||||
#CGIhandler = /usr/bin/ruby:rb
|
||||
#CGIhandler = /usr/bin/ssi-cgi:shtml
|
||||
|
@ -59,7 +59,7 @@ CGIhandler = /usr/bin/php-cgi:php5,php
|
|||
#ConnectTo = /var/lib/hiawatha/php-fcgi.sock
|
||||
FastCGIserver {
|
||||
FastCGIid = PHP5
|
||||
ConnectTo = /var/lib/hiawatha/php-fcgi.sock
|
||||
ConnectTo = 127.0.0.1:9099
|
||||
Extension = php
|
||||
SessionTimeout = 30
|
||||
}
|
||||
|
|
|
@ -130,7 +130,8 @@
|
|||
[www]
|
||||
user = www-data
|
||||
group = www-data
|
||||
listen = /var/lib/hiawatha/php-fcgi.sock
|
||||
#listen = /var/run/php-fcgi.sock
|
||||
listen = 127.0.0.1:9099
|
||||
pm = static
|
||||
pm.max_children = 3
|
||||
chdir = /
|
||||
|
|
|
@ -201,6 +201,8 @@ engine = On
|
|||
; http://php.net/short-open-tag
|
||||
short_open_tag = Off
|
||||
|
||||
|
||||
|
||||
; Allow ASP-style <% %> tags.
|
||||
; http://php.net/asp-tags
|
||||
asp_tags = Off
|
||||
|
@ -258,10 +260,10 @@ output_buffering = 4096
|
|||
; Note: You need to use zlib.output_handler instead of the standard
|
||||
; output_handler, or otherwise the output will be corrupted.
|
||||
; http://php.net/zlib.output-compression
|
||||
zlib.output_compression = On
|
||||
zlib.output_compression = Off
|
||||
|
||||
; http://php.net/zlib.output-compression-level
|
||||
zlib.output_compression_level = 6
|
||||
;zlib.output_compression_level = -1
|
||||
|
||||
; You cannot specify additional output handlers if zlib.output_compression
|
||||
; is activated here. This setting does the same as output_handler but in
|
||||
|
@ -360,7 +362,7 @@ zend.enable_gc = On
|
|||
; threat in any way, but it makes it possible to determine whether you use PHP
|
||||
; on your server or not.
|
||||
; http://php.net/expose-php
|
||||
expose_php = Off
|
||||
expose_php = On
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
; Resource Limits ;
|
||||
|
@ -771,7 +773,7 @@ enable_dl = Off
|
|||
; 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=0
|
||||
;cgi.fix_pathinfo=1
|
||||
|
||||
; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
|
||||
; security tokens of the calling client. This allows IIS to define the
|
||||
|
@ -791,7 +793,7 @@ cgi.fix_pathinfo=0
|
|||
; RFC2616 compliant header.
|
||||
; Default is zero.
|
||||
; http://php.net/cgi.rfc2616-headers
|
||||
cgi.rfc2616_headers = 0
|
||||
;cgi.rfc2616_headers = 0
|
||||
|
||||
;;;;;;;;;;;;;;;;
|
||||
; File Uploads ;
|
||||
|
@ -900,9 +902,6 @@ default_socket_timeout = 60
|
|||
;extension=php_pdo_sqlite.dll
|
||||
;extension=php_pgsql.dll
|
||||
;extension=php_shmop.dll
|
||||
extension=pdo.so
|
||||
extension=pdo_mysql.so
|
||||
extension=mysql.so
|
||||
|
||||
; The MIBS data available in the PHP distribution must be installed.
|
||||
; See http://www.php.net/manual/en/snmp.installation.php
|
||||
|
@ -1191,7 +1190,7 @@ mysqli.max_persistent = -1
|
|||
|
||||
; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
|
||||
; http://php.net/mysqli.allow_local_infile
|
||||
mysqli.allow_local_infile = On
|
||||
;mysqli.allow_local_infile = On
|
||||
|
||||
; Allow or prevent persistent links.
|
||||
; http://php.net/mysqli.allow-persistent
|
||||
|
|
Loading…
Reference in New Issue