Solve PHP-OPcode-Caching-Not-Enabled-warning

Resolving Drupal Installation PHP OPcode Caching Not Enabled Warning

While installing Drupal, you may face the following warning, under Verify Requirements section i.e.

Here’s the screenshot showing the same,

PHP OPcode Caching Not Enabled warning

Let’s see how to resolve this issue,

We need to reach the php.ini file for resolving the issues.

For that, go to XAMPP Control Panel > Config > PHP (php.ini)

XAMPP php configuration

Now, enable OPcode caching by adding the following code in php.ini,

Save the above file and restart the Apache server by clicking stop and then start on Apache.

Reload the page where you saw error under Drupal Installation Verify Requirements section. It will redirect to the Set up database page, i.e. error fixed.

If you found another fix for the error, and you’re facing another issue, then please mention in the comments section.

Resolving Joomla Local Installation freezes and hangs up error
Resolving Page Not Found Error on every Drupal page except homepage
Studyopedia Editorial Staff
[email protected]

We work to create programming tutorials for all.

1 Comment
  • Kanyinsola Akanbi
    Posted at 18:57h, 18 October Reply

    i had the same error and inputed the code which you said and it shut down my apache in xampp. whenever i start, it stops itself.
    below is the error it displays
    2:22:25 PM [Apache] Attempting to start Apache app…
    2:22:25 PM [Apache] Status change detected: running
    2:22:29 PM [Apache] Status change detected: stopped
    2:22:29 PM [Apache] Error: Apache shutdown unexpectedly.
    2:22:29 PM [Apache] This may be due to a blocked port, missing dependencies,
    2:22:29 PM [Apache] improper privileges, a crash, or a shutdown by another method.
    2:22:29 PM [Apache] Press the Logs button to view error logs and check
    2:22:29 PM [Apache] the Windows Event Viewer for more clues
    2:22:29 PM [Apache] If you need more help, copy and post this
    2:22:29 PM [Apache] entire log window on the forums

Post A Comment

Discover more from Studyopedia

Subscribe now to keep reading and get access to the full archive.

Continue reading