File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ mkdir %PHP_BUILD_DIR%\test_file_cache
128128rem generate php.ini
129129echo extension_dir=%PHP_BUILD_DIR% > %PHP_BUILD_DIR% \php.ini
130130echo opcache.file_cache=%PHP_BUILD_DIR% \test_file_cache >> %PHP_BUILD_DIR% \php.ini
131+ echo opcache.record_warnings=1 >> %PHP_BUILD_DIR% \php.ini
131132if " %OPCACHE% " equ " 1" echo zend_extension=php_opcache.dll >> %PHP_BUILD_DIR% \php.ini
132133rem work-around for some spawned PHP processes requiring OpenSSL and sockets
133134echo extension=php_openssl.dll >> %PHP_BUILD_DIR% \php.ini
Original file line number Diff line number Diff line change @@ -2054,6 +2054,7 @@ function generate_tmp_php_ini()
20542054
20552055 /* Fallback is implied, if filecache is enabled. */
20562056 INI . WriteLine ( "opcache.file_cache=" + dir ) ;
2057+ INI . WriteLine ( "opcache.record_warnings=1" ) ;
20572058 INI . WriteLine ( "opcache.enable=1" ) ;
20582059 INI . WriteLine ( "opcache.enable_cli=1" ) ;
20592060 }
You can’t perform that action at this time.
0 commit comments