Home > Article > Backend Development > php modified the content unchanged
Sometimes when we modify the PHP code, it cannot take effect. Modifying the PHP code does not take effect immediately. It will take effect after restarting the php-fpm service!
Recommended: php server
We can solve the problem by modifying the PHP configuration file:
[Zend Opcache] zend_extension=opcache.so opcache.memory_consumption=128 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000 opcache.revalidate_freq=60 opcache.fast_shutdown=1 opcache.enable_cli=1 ;opcache end ;xcache ;xcache end
Modify the following code to solve the problem:
opcache.revalidate_freq=1
The above is the detailed content of php modified the content unchanged. For more information, please follow other related articles on the PHP Chinese website!