From 6bc7f8503a996c17bce851b951d4d42dec8c1ead Mon Sep 17 00:00:00 2001 From: din9xtr Date: Sat, 17 Jan 2026 03:38:57 +0700 Subject: [PATCH] php ini --- php/php.ini | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/php/php.ini b/php/php.ini index 1f8173c..df279d9 100644 --- a/php/php.ini +++ b/php/php.ini @@ -6,7 +6,7 @@ display_errors = 0 error_reporting = E_ALL log_errors = On -error_log = /var/log/php_errors.log +error_log = php://stderr ; File Upload Settings upload_max_filesize = 512M @@ -14,9 +14,8 @@ post_max_size = 565M max_file_uploads = 10 max_execution_time = 300 max_input_time = 300 -memory_limit = 256M +memory_limit = 768M file_uploads = On -fastcgi_request_buffering off; ; Session Settings session.gc_maxlifetime = 14400 @@ -43,8 +42,15 @@ output_buffering = 4096 realpath_cache_size = 4096K realpath_cache_ttl = 120 -; OpCache (for production) -; opcache.enable=1 -; opcache.memory_consumption=128 -; opcache.max_accelerated_files=10000 -; opcache.revalidate_freq=2 \ No newline at end of file +; opcache +opcache.enable = 1 +opcache.enable_cli = 1 +opcache.memory_consumption = 256 +opcache.max_accelerated_files = 20000 +opcache.interned_strings_buffer = 16 +opcache.validate_timestamps = 0 +opcache.revalidate_freq = 2 +opcache.max_wasted_percentage = 50 +; JIT +opcache.jit = tracing +opcache.jit_buffer_size = 64M \ No newline at end of file