Initial commit of the Asset Management System, including project structure, Docker configuration, database migrations, and core application files. Added user authentication, asset management features, and basic UI components.
This commit is contained in:
53
php.ini
Normal file
53
php.ini
Normal file
@@ -0,0 +1,53 @@
|
||||
[PHP]
|
||||
; Basic settings
|
||||
memory_limit = 256M
|
||||
max_execution_time = 300
|
||||
max_input_time = 300
|
||||
post_max_size = 50M
|
||||
upload_max_filesize = 50M
|
||||
max_file_uploads = 20
|
||||
|
||||
; Error handling
|
||||
display_errors = Off
|
||||
display_startup_errors = Off
|
||||
log_errors = On
|
||||
error_log = /var/www/html/storage/logs/php_errors.log
|
||||
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
|
||||
|
||||
; Session settings
|
||||
session.cookie_httponly = 1
|
||||
session.cookie_secure = 0
|
||||
session.cookie_samesite = "Strict"
|
||||
session.use_strict_mode = 1
|
||||
session.gc_maxlifetime = 3600
|
||||
session.gc_probability = 1
|
||||
session.gc_divisor = 100
|
||||
|
||||
; Security
|
||||
expose_php = Off
|
||||
allow_url_fopen = Off
|
||||
allow_url_include = Off
|
||||
|
||||
; OPcache settings
|
||||
opcache.enable = 1
|
||||
opcache.enable_cli = 1
|
||||
opcache.memory_consumption = 128
|
||||
opcache.interned_strings_buffer = 8
|
||||
opcache.max_accelerated_files = 4000
|
||||
opcache.revalidate_freq = 2
|
||||
opcache.fast_shutdown = 1
|
||||
opcache.enable_file_override = 1
|
||||
opcache.validate_timestamps = 0
|
||||
|
||||
; Date settings
|
||||
date.timezone = Europe/Berlin
|
||||
|
||||
; File uploads
|
||||
file_uploads = On
|
||||
upload_tmp_dir = /tmp
|
||||
|
||||
; Database
|
||||
pdo_mysql.default_socket = /var/run/mysqld/mysqld.sock
|
||||
|
||||
; GD settings
|
||||
gd.jpeg_ignore_warning = 1
|
||||
Reference in New Issue
Block a user