Title: PHP.ini Issue
Last modified: October 19, 2021

---

# PHP.ini Issue

 *  Resolved [Tom](https://wordpress.org/support/users/tomwenk/)
 * (@tomwenk)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/php-ini-issue/)
 * Hey, I was just about to install and activate WP OPcache to check out where we
   can still get something out of it server-side.
    Unfortunately, the OPcache plugin
   tells me to set opcache.enable=1.
 * but in php.ini this value is already enabled. How should I proceed now? Something
   is very wrong here 😀
 * [url=https://ibb.co/mGyPSy8][img]https://i.ibb.co/jTwjHwR/Bildschirmfoto-2021-
   10-19-um-16-35-41.png[/img][/url]
 * [url=https://ibb.co/LgLH5vQ][img]https://i.ibb.co/HPW3dXN/Bildschirmfoto-2021-
   10-19-um-16-36-32.png[/img][/url]
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-ini-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [nierdz](https://wordpress.org/support/users/mnttech/)
 * (@mnttech)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/php-ini-issue/#post-14985799)
 * Hey,
 * Thanks for the report !
 * This means the function [opcache_get_status](https://www.php.net/manual/en/function.opcache-get-status.php)
   returns `false`. This means there is an error during information retrieval from
   OPcache.
 * Maybe you can find useful information in your php logs or ask your hosting company
   if you’re using one.
 *  Anonymous User
 * (@anonymized-20115841)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-ini-issue/#post-15070641)
 * Same Problem:
 * IF OPCache Module is not present, you must catch function!!!
 * if ( function_exists( ‘opcache_get_status’ ) ) {
    if ( ! opcache_get_status()){}}
 * But my System also is not running, although Zend OPcache is enabled!!!
 *  Anonymous User
 * (@anonymized-20115841)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-ini-issue/#post-15070646)
 * Zend OPcache
    Opcode Caching Up and Running Optimization Enabled SHM Cache Disabled
   File Cache Enabled Startup OK Directive Local Value Master Value opcache.blacklist_filename
   no value no value opcache.consistency_checks 0 0 opcache.dups_fix Off Off opcache.
   enable On On opcache.enable_cli On On opcache.enable_file_override Off Off opcache.
   error_log no value no value opcache.file_cache /kunden/homepages/20/d34869179/
   htdocs/AM/.opcache /kunden/homepages/20/d34869179/htdocs/AM/.opcache opcache.
   file_cache_consistency_checks On On opcache.file_cache_only On On opcache.file_update_protection
   2 2 opcache.force_restart_timeout 180 180 opcache.huge_code_pages Off Off opcache.
   interned_strings_buffer 8 8 opcache.lockfile_path /tmp /tmp opcache.log_verbosity_level
   1 1 opcache.max_accelerated_files 4000 4000 opcache.max_file_size 0 0 opcache.
   max_wasted_percentage 5 5 opcache.memory_consumption 128 128 opcache.opt_debug_level
   0 0 opcache.optimization_level 0x7FFEBFFF 0x7FFEBFFF opcache.preferred_memory_model
   no value no value opcache.preload no value no value opcache.preload_user no value
   no value opcache.protect_memory Off Off opcache.restrict_api no value no value
   opcache.revalidate_freq 60 60 opcache.revalidate_path Off Off opcache.save_comments
   On On opcache.use_cwd On On opcache.validate_permission Off Off opcache.validate_root
   Off Off opcache.validate_timestamps On On
 *  Plugin Author [nierdz](https://wordpress.org/support/users/mnttech/)
 * (@mnttech)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-ini-issue/#post-15077518)
 * Maybe this function is disabled on your host ?
    Could you test a php file like
   this one please :
 *     ```
       <?php
         echo ini_get('disable_functions');
       ?>
       ```
   
    -  This reply was modified 4 years, 6 months ago by [nierdz](https://wordpress.org/support/users/mnttech/).
 *  Anonymous User
 * (@anonymized-20115841)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-ini-issue/#post-15081908)
 * no echo output!
 *  Anonymous User
 * (@anonymized-20115841)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-ini-issue/#post-15081966)
 * But i tried to configure:
    php.ini disable_functions = popen,exec,system,passthru,
   proc_open,shell_exec,show_source,phpinfo
 * phpinfo is off
 * Warning: phpinfo() has been disabled for security reasons in /homepages/20/d34869179/
   htdocs/AM/phpinfo.php on line 2
 * so
    <?php echo ini_get(‘disable_functions’); ?> why no output?
 *  Plugin Author [nierdz](https://wordpress.org/support/users/mnttech/)
 * (@mnttech)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-ini-issue/#post-15084086)
 * what’s your hosting solution ?
 *  Anonymous User
 * (@anonymized-20115841)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-ini-issue/#post-15098398)
 * ionos.de, dedicated Server
 *  Plugin Author [nierdz](https://wordpress.org/support/users/mnttech/)
 * (@mnttech)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-ini-issue/#post-15098425)
 * I think I found it, this is when you set `opcache.file_cache_only` to `true`.
   This partially disable `opcache_get_status()`.
 * Could you try to put this parameter to false, this is the [default](https://www.php.net/manual/en/opcache.configuration.php#ini.opcache.file-cache-only)
 *  Plugin Author [nierdz](https://wordpress.org/support/users/mnttech/)
 * (@mnttech)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/php-ini-issue/#post-15128298)
 * Any news about this @dbase66 ?

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘PHP.ini Issue’ is closed to new replies.

 * ![](https://ps.w.org/flush-opcache/assets/icon-256x256.jpg?rev=1716642)
 * [WP OPcache](https://wordpress.org/plugins/flush-opcache/)
 * [Support Threads](https://wordpress.org/support/plugin/flush-opcache/)
 * [Active Topics](https://wordpress.org/support/plugin/flush-opcache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flush-opcache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flush-opcache/reviews/)

## Tags

 * [php.ini](https://wordpress.org/support/topic-tag/php-ini/)

 * 10 replies
 * 3 participants
 * Last reply from: [nierdz](https://wordpress.org/support/users/mnttech/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/php-ini-issue/#post-15128298)
 * Status: resolved