Browse Source

[Ubiquity] Update php config (#6109)

* add huge pages + cli opcache

* activate multi_accept

* remove multi_accept

* Update nginx.conf

* revert nginx.conf
J-C HERON 4 years ago
parent
commit
b74301b0ac
1 changed files with 2 additions and 2 deletions
  1. 2 2
      frameworks/PHP/ubiquity/deploy/conf/php.ini

+ 2 - 2
frameworks/PHP/ubiquity/deploy/conf/php.ini

@@ -1767,7 +1767,7 @@ ldap.max_links = -1
 opcache.enable=1
 
 ; Determines if Zend OPCache is enabled for the CLI version of PHP
-;opcache.enable_cli=0
+opcache.enable_cli=1
 
 ; The OPcache shared memory storage size.
 opcache.memory_consumption=256
@@ -1878,7 +1878,7 @@ opcache.enable_file_override=1
 
 ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
 ; This should improve performance, but requires appropriate OS configuration.
-;opcache.huge_code_pages=1
+opcache.huge_code_pages=1
 
 ; Validate cached file permissions.
 ;opcache.validate_permission=0