search
HomeBackend DevelopmentPHP ProblemHow to turn off cache in php.ini

How to turn off cache in php.ini

Mar 15, 2021 am 09:35 AM
php.ini

How to turn off the cache in php.ini: 1. Find and open the php.ini configuration file; 2. Find the "opcache.enable" and "opcache.enable_cli" options and modify them to "opcache.enable= 0" and "opcache.enable_cli=0"; 3. Save the modified file.

How to turn off cache in php.ini

The operating environment of this article: windows7 system, PHP8 version, DELL G3 computer

php cache is turned off

Cache opcode instead of recompiling every time, thereby reducing CPU and memory overhead

php.ini configuration file

opcache cached results Unable to return in real time

zend_extension=opcache
opcache.enable=0              //关闭缓存
opcache.enable_cli=0        //关闭缓存
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.max_wasted_percentage=5
opcache.revalidate_freq=60
opcache.use_cwd=1
opcache.validate_timestamps=1
opcache.save_comments=1
opcache.enable_file_override=Off
opcache.fast_shutdown=1
opcache.mmap_base=0x20000000

[Recommended learning: "PHP Video Tutorial"]

The above is the detailed content of How to turn off cache in php.ini. For more information, please follow other related articles on the PHP Chinese website!

Statement
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)