diff --git a/config/php/php-cli.ini b/config/php/php-cli.ini new file mode 100644 index 0000000..c66bcfb --- /dev/null +++ b/config/php/php-cli.ini @@ -0,0 +1,18 @@ +session.auto_start = Off +short_open_tag = Off + +error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED + +; opcache.enable_cli=1 +; opcache.fast_shutdown=1 +; opcache.memory_consumption=256 +; opcache.interned_strings_buffer=8 +; opcache.max_accelerated_files=4000 +; opcache.revalidate_freq=60 +; # http://symfony.com/doc/current/performance.html +; realpath_cache_size = 4096K +; realpath_cache_ttl = 600 + +memory_limit = 2G +post_max_size = 60M +upload_max_filesize = 50M \ No newline at end of file diff --git a/config/php/php.ini b/config/php/php.ini new file mode 100644 index 0000000..4d0ad04 --- /dev/null +++ b/config/php/php.ini @@ -0,0 +1,21 @@ +session.auto_start = Off +short_open_tag = Off + +error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED + +; opcache.enable=1 +; opcache.preload=/srv/www/invoiceninja/current/preload.php +; opcache.preload_user=www-data + +; ; The OPcache shared memory storage size. +; opcache.max_accelerated_files=300000 +; opcache.validate_timestamps=1 +; opcache.revalidate_freq=30 +; opcache.jit_buffer_size=256M +; opcache.jit=1205 +; opcache.memory_consumption=1024M + + +post_max_size = 60M +upload_max_filesize = 50M +memory_limit=512M \ No newline at end of file