Skip to content
Snippets Groups Projects
02_osuwebhosting.ini 2.63 KiB
Newer Older
; Custom settings for OSU Web Hosting
safe_mode = off
register_globals = off
memory_limit = 512M
date.timezone = "America/New_York"
include_path = ".:/var/www/privatedata"
sys_temp_dir = "/var/www/sharedtmp"
upload_tmp_dir = "/var/www/privatedata"
log_errors = on
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
error_log = "/var/log/httpd/php_error_log"
variables_order = "EGPCS"
sendmail_from = webmaster@osu.edu
[soap]
soap.wsdl_cache_dir = "/var/www/sharedtmp"

[Session]
session.save_path = "/var/www/sharedtmp"
session.cookie_lifetime = 600
session.gc_maxlifetime = 28800
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"

[MySQL]
mysql.max_persistent = 5
mysql.max_links = 250
mysql.default_host = webdb1.service.ohio-state.edu

[MySQLi]
mysqli.max_persistent = 5
mysqli.max_links = 250
mysqli.default_host = webdb1.service.ohio-state.edu

[PostgreSQL]
pgsql.max_persistent = 5
pgsql.max_links = 250

[MSSQL]
mssql.max_persistent = 5
mssql.max_links = 250

apc.enabled=1
apc.enable_cli=1
apc.shm_segments=1
apc.shm_size=256M
apc.entries_hint=4096
apc.max_file_size=10M
apc.ttl=7200
apc.use_request_time=1
apc.user_ttl=7200
apc.gc_ttl=3600
apc.smart=0
apc.mmap_file_mask=/tmp/apc.XXXXXX
apc.file_update_protection=2
apc.slam_defense=0
apc.write_lock=1
apc.filters="-/apc\.php"
apc.serializer='igbinary'
apc.rfc1867=0
apc.rfc1867_prefix =upload_
apc.rfc1867_name=APC_UPLOAD_PROGRESS
apc.rfc1867_freq=0
apc.rfc1867_ttl=3600
apc.coredump_unmap=0

; Memcached integration
[memcached]
memcached.sess_locking = on
memcached.sess_lock_wait_min = 1000
memcached.sess_lock_wait_max = 2000
memcached.sess_lock_retries = 5
memcached.sess_lock_expire = 0
memcached.sess_prefix = "memc.sess.key."
memcached.sess_consistent_hash = Off
memcached.sess_remove_failed = 1
memcached.sess_number_of_replicas = 0
memcached.sess_binary = off
memcached.sess_randomize_replica_read = off
memcached.sess_connect_timeout = 1000
memcached.use_sasl = off
memcached.sess_sasl_username = NULL
memcached.sess_sasl_password = NULL
memcached.compression_type = "fastlz"
memcached.compression_factor = "1.3"
memcached.compression_threshold = 2000
memcached.serializer = "igbinary"
memcached.store_retry_count = 2

; Zend OpCache
[opcache]
opcache.enable=1
opcache.enable_cli=0
opcache.memory_consumption=256
opcache.interned_strings_buffer=32
opcache.max_accelerated_files=20000
opcache.max_file_size=10485760
opcache.revalidate_freq=10
opcache.blacklist_filename="/var/www/privatedata/opcache*.blacklist"

; Default XHProf logging directory
[xhprof]
xhprof.output_dir="/var/log/httpd/"

; XDebug
[xdebug]
xdebug.output_dir="/var/log/httpd/"