Skip to content
Snippets Groups Projects
Commit ef4fbaf1 authored by Edward Hicks's avatar Edward Hicks :8ball:
Browse files

replace php.ini with prod default & move customizations to an ini file

parent 590aeba6
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ RUN tar Jxf php-8.3.*.tar.xz && \
CORECOUNT=$(cat /proc/cpuinfo|egrep '^processor'|wc -l) \
nice make -j$(( $CORECOUNT + 1 )) && make install && \
cp -v php.ini-* /usr/local/etc/php/
RUN cp -v /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini
RUN ln -s /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini
COPY usr/local/etc/php/conf.d/01_base_modules.ini /usr/local/etc/php/conf.d/
# Build & install PECL modules
......
......@@ -13,6 +13,7 @@ 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"
......@@ -23,10 +24,24 @@ 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 compatibility support
[apc]
apc.enabled=1
......@@ -78,6 +93,8 @@ 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
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment