How do I disable OPcache in PHP 7.4?  [SOLVED]

General discussions around KeyHelp.
Post Reply
User avatar
rogernet
KeyHelp Translator
Posts: 26
Joined: Tue 3. Nov 2020, 20:56
Location: Brazil
Contact:

How do I disable OPcache in PHP 7.4?

Post 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.
User avatar
rogernet
KeyHelp Translator
Posts: 26
Joined: Tue 3. Nov 2020, 20:56
Location: Brazil
Contact:

Re: How do I disable OPcache in PHP 7.4?  [SOLVED]

Post by rogernet »

I managed to solve it.
User avatar
24unix
Posts: 2037
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: How do I disable OPcache in PHP 7.4?

Post 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.
Cheers Micha
--
A Windows user reinstalls software every few weeks.
A Linux user reinstalls software every few weeks.
The difference is with Linux the version numbers change.
User avatar
rogernet
KeyHelp Translator
Posts: 26
Joined: Tue 3. Nov 2020, 20:56
Location: Brazil
Contact:

Re: How do I disable OPcache in PHP 7.4?

Post 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.
User avatar
24unix
Posts: 2037
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: How do I disable OPcache in PHP 7.4?

Post by 24unix »

Thx 👍

Now the thread is helpful for users which find it via Google :-)
Cheers Micha
--
A Windows user reinstalls software every few weeks.
A Linux user reinstalls software every few weeks.
The difference is with Linux the version numbers change.
Post Reply