Home > Backend Development > PHP Problem > php modified the content unchanged

php modified the content unchanged

Release: 2023-02-27 22:12:01
Original
4074 people have browsed it

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
Copy after login

Modify the following code to solve the problem:

opcache.revalidate_freq=1
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template