Initial commit: Cloud Control Panel

This commit is contained in:
2026-01-10 01:24:08 +07:00
commit 01d99c5054
69 changed files with 12697 additions and 0 deletions

50
php/php.ini Normal file
View File

@@ -0,0 +1,50 @@
; ---------------------------------------------------------------------
; PHP Configuration for File Uploads (< 512M)
; ---------------------------------------------------------------------
; Error Reporting (for development only!)
display_errors = 0
error_reporting = E_ALL
log_errors = On
error_log = /var/log/php_errors.log
; File Upload Settings
upload_max_filesize = 512M
post_max_size = 565M
max_file_uploads = 10
max_execution_time = 300
max_input_time = 300
memory_limit = 256M
file_uploads = On
fastcgi_request_buffering off;
; Session Settings
session.gc_maxlifetime = 14400
session.cookie_lifetime = 14400
session.use_strict_mode = 1
session.cookie_httponly = 1
session.cookie_secure = 1
session.cookie_samesite = Strict
; Security Settings
expose_php = Off
allow_url_include = Off
allow_url_fopen = Off
; Character Encoding
default_charset = UTF-8
internal_encoding = UTF-8
output_encoding = UTF-8
; Output Buffering
output_buffering = 4096
; Realpath Cache
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