* update config files.
This commit is contained in:
@@ -88,19 +88,18 @@ DirectoryIndex index.html index.htm index.php
|
||||
ErrorLog "/var/log/httpd/error.log"
|
||||
LogLevel warn
|
||||
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
|
||||
CustomLog "/var/log/httpd/access_log" combined
|
||||
CustomLog "/var/log/httpd/access.log" combined
|
||||
|
||||
# If you want visit zentao like http://localhost/, uncomment these lines.
|
||||
#<VirtualHost *:80>
|
||||
# ServerAdmin zentao@local.net
|
||||
# DocumentRoot "/srv/zentao/www"
|
||||
# ServerName localhost
|
||||
# AccessFileName .htaccess
|
||||
# <Directory />
|
||||
# AllowOverride none
|
||||
# Require all granted
|
||||
# </Directory>
|
||||
# ErrorLog "/var/log/httpd/error_log"
|
||||
# CustomLog "/var/log/httpd/access_log" combind
|
||||
#</VirtualHost>
|
||||
|
||||
# setting for zentao.
|
||||
|
||||
145
build/mos/php.ini
Normal file
145
build/mos/php.ini
Normal file
@@ -0,0 +1,145 @@
|
||||
zend_extension=/usr/lib/php/extensions/no-debug-zts-20100525/ioncube_loader_lin_5.4_ts.so
|
||||
|
||||
[PHP]
|
||||
engine = On
|
||||
short_open_tag = Off
|
||||
asp_tags = Off
|
||||
precision = 14
|
||||
output_buffering = 4096
|
||||
zlib.output_compression = Off
|
||||
implicit_flush = Off
|
||||
|
||||
unserialize_callback_func =
|
||||
serialize_precision = 17
|
||||
|
||||
disable_functions =
|
||||
disable_classes =
|
||||
|
||||
zend.enable_gc = On
|
||||
expose_php = Off
|
||||
|
||||
max_execution_time = 30
|
||||
max_input_time = 60
|
||||
memory_limit = 128M
|
||||
|
||||
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
|
||||
|
||||
display_errors = On
|
||||
display_startup_errors = Off
|
||||
log_errors = On
|
||||
log_errors_max_len = 1024
|
||||
ignore_repeated_errors = Off
|
||||
ignore_repeated_source = Off
|
||||
report_memleaks = On
|
||||
track_errors = Off
|
||||
html_errors = On
|
||||
|
||||
variables_order = "GPCS"
|
||||
request_order = "GP"
|
||||
register_argc_argv = Off
|
||||
auto_globals_jit = On
|
||||
post_max_size = 50M
|
||||
|
||||
auto_prepend_file =
|
||||
auto_append_file =
|
||||
|
||||
default_mimetype = "text/html"
|
||||
|
||||
doc_root =
|
||||
user_dir =
|
||||
|
||||
enable_dl = Off
|
||||
|
||||
file_uploads = On
|
||||
upload_max_filesize = 50M
|
||||
max_file_uploads = 20
|
||||
|
||||
allow_url_fopen = On
|
||||
allow_url_include = Off
|
||||
default_socket_timeout = 60
|
||||
|
||||
[CLI Server]
|
||||
cli_server.color = On
|
||||
|
||||
[Pdo_mysql]
|
||||
pdo_mysql.cache_size = 2000
|
||||
pdo_mysql.default_socket=
|
||||
|
||||
[mail function]
|
||||
SMTP = localhost
|
||||
smtp_port = 25
|
||||
mail.add_x_header = On
|
||||
|
||||
[SQL]
|
||||
sql.safe_mode = Off
|
||||
|
||||
[MySQL]
|
||||
mysql.allow_local_infile = On
|
||||
mysql.allow_persistent = On
|
||||
mysql.cache_size = 2000
|
||||
mysql.max_persistent = -1
|
||||
mysql.max_links = -1
|
||||
mysql.default_port =
|
||||
mysql.default_socket =
|
||||
mysql.default_host =
|
||||
mysql.default_user =
|
||||
mysql.default_password =
|
||||
mysql.connect_timeout = 60
|
||||
mysql.trace_mode = Off
|
||||
|
||||
[MySQLi]
|
||||
mysqli.max_persistent = -1
|
||||
mysqli.allow_persistent = On
|
||||
mysqli.max_links = -1
|
||||
mysqli.cache_size = 2000
|
||||
mysqli.default_port = 3306
|
||||
mysqli.default_socket =
|
||||
mysqli.default_host =
|
||||
mysqli.default_user =
|
||||
mysqli.default_pw =
|
||||
mysqli.reconnect = Off
|
||||
|
||||
[mysqlnd]
|
||||
mysqlnd.collect_statistics = On
|
||||
mysqlnd.collect_memory_statistics = Off
|
||||
|
||||
[bcmath]
|
||||
bcmath.scale = 0
|
||||
|
||||
[Session]
|
||||
session.save_handler = files
|
||||
session.use_cookies = 1
|
||||
session.use_only_cookies = 1
|
||||
session.name = PHPSESSID
|
||||
session.auto_start = 0
|
||||
session.cookie_lifetime = 0
|
||||
session.cookie_path = /
|
||||
session.cookie_domain =
|
||||
session.cookie_httponly =
|
||||
session.serialize_handler = php
|
||||
session.gc_probability = 1
|
||||
session.gc_divisor = 1000
|
||||
session.gc_maxlifetime = 1440
|
||||
session.bug_compat_42 = Off
|
||||
session.bug_compat_warn = Off
|
||||
session.referer_check =
|
||||
session.cache_limiter = nocache
|
||||
session.cache_expire = 180
|
||||
session.use_trans_sid = 0
|
||||
session.hash_function = 0
|
||||
session.hash_bits_per_character = 5
|
||||
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
|
||||
|
||||
[Tidy]
|
||||
tidy.clean_output = Off
|
||||
|
||||
[ldap]
|
||||
ldap.max_links = -1
|
||||
|
||||
zend_extension=/usr/lib/php/extensions/no-debug-zts-20100525/opcache.so
|
||||
opcache.memory_consumption=128
|
||||
opcache.interned_strings_buffer=8
|
||||
opcache.max_accelerated_files=4000
|
||||
opcache.revalidate_freq=60
|
||||
opcache.fast_shutdown=1
|
||||
opcache.enable_cli=1
|
||||
@@ -6,5 +6,5 @@ $cfg['Servers'][1]['password'] = '';
|
||||
$cfg['Servers'][1]['port'] = '3306';
|
||||
$cfg['Servers'][1]['host'] = 'localhost';
|
||||
$cfg['Servers'][1]['connect_type'] = 'tcp';
|
||||
$cfg['Servers'][1]['extension'] = 'mysql';
|
||||
$cfg['Servers'][1]['extension'] = 'mysqli';
|
||||
$cfg['Servers'][1]['AllowNoPassword'] = true;
|
||||
|
||||
Reference in New Issue
Block a user