Page 1 of 1
How do I disable OPcache in PHP 7.4?
Posted: Thu 6. Mar 2025, 18:11
by rogernet
How do I disable PHP OPcache? I installed an application and a message says I need to disable OPcache.
Details: My KyHelp is running on Debian 12 and the application is running on PHP 7.4.
Thanks.
Re: How do I disable OPcache in PHP 7.4? [SOLVED]
Posted: Fri 7. Mar 2025, 00:06
by rogernet
I managed to solve it.
Re: How do I disable OPcache in PHP 7.4?
Posted: Fri 7. Mar 2025, 01:06
by 24unix
rogernet wrote: ↑Fri 7. Mar 2025, 00:06
I managed to solve it.
You know how forums work?
People search for a solution to their problem.
So, they'd like to know HOW you solved the problem.
Re: How do I disable OPcache in PHP 7.4?
Posted: Fri 7. Mar 2025, 21:01
by rogernet
24unix wrote: ↑Fri 7. Mar 2025, 01:06
rogernet wrote: ↑Fri 7. Mar 2025, 00:06
I managed to solve it.
You know how forums work?
People search for a solution to their problem.
So, they'd like to know HOW you solved the problem.
I know how forums work and I ended up forgetting, it wasn't out of malice. That day I was doing a lot of activities at the same time and I forgot.
Access via SSH to the folder: opt/keyhelp/php and access the folder of the php version used, open the etc folder and open the php.ini file, look for: "opcache.enable" "opcache.enable_cli" and set the value to 0 in both. Then restart.
Re: How do I disable OPcache in PHP 7.4?
Posted: Fri 7. Mar 2025, 21:07
by 24unix
Thx
Now the thread is helpful for users which find it via Google
