Browse Source

Change in Opcache for use less memory (#3669)

* Change in Opcache for use less memory

* Only symfony can't disable comments
Joan Miquel 7 years ago
parent
commit
3a1a4eaf76

+ 1 - 1
frameworks/PHP/cakephp/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/clancats/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/codeigniter/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/cygnite/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/fat-free/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/fuel/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/kohana/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/kumbiaphp/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/laravel/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/limonade/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/lithium/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/lumen/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/phalcon/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/php/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/phpixie/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/phreeze/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/silex/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/slim/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/workerman/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/yii2/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/zend/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1

+ 1 - 1
frameworks/PHP/zend1/deploy/conf/php.ini

@@ -1802,7 +1802,7 @@ opcache.validate_timestamps=0
 
 ; If disabled, all PHPDoc comments are dropped from the code to reduce the
 ; size of the optimized code.
-;opcache.save_comments=1
+opcache.save_comments=0
 
 ; Allow file existence override (file_exists, etc.) performance feature.
 opcache.enable_file_override=1