How to turn off caching opcache in php

藏色散人
Release: 2023-03-02 06:40:01
Original
5080 people have browsed it

How to turn off the cache in php: first log in to the centos server; then enter the php configuration directory and use vim to open the configuration file; then view the configuration items and change all values ​​​​from 1 to 0; finally restart php That’s it.

How to turn off caching opcache in php

php method to close cache opcache

First we log in to the centos server

Then we Go to the php configuration directory and cd /usr/local/php/etc/php.d

How to turn off caching opcache in php

Use vim to open the configuration file. vim 02-opcache.ini

How to turn off caching opcache in php

goes in and we can see that the configuration item

How to turn off caching opcache in php

changes all the values ​​to 1 Just change them all to 0

How to turn off caching opcache in php

# and then restart php. /bin/systemctl restart php-fpm.service

How to turn off caching opcache in php

For more related knowledge, please visit PHP Chinese website!

The above is the detailed content of How to turn off caching opcache in php. 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