title: PHP 7.1.14 APCu not working in Mac OSX High Sierra
body: <p>I am not able to make apc work with High Sierra and PHP 7.1.14. I have done everything.</p>
  
  <p>Below is the output for php -i | grep apc</p>
  
  <pre><code>PHP Warning:  Method apc_store() cannot be a NULL function in Unknown 
  on line 0
  PHP Warning:  apc: Unable to register functions, unable to load in 
  Unknown on line 0
  Warning: Method apc_store() cannot be a NULL function in Unknown on 
  line 0
  Warning: apc: Unable to register functions, unable to load in Unknown 
  on line 0
  apcu
  apc.coredump_unmap =&gt; Off =&gt; Off
  apc.enable_cli =&gt; On =&gt; On
  apc.enabled =&gt; On =&gt; On
  apc.entries_hint =&gt; 4096 =&gt; 4096
  apc.gc_ttl =&gt; 3600 =&gt; 3600
  apc.mmap_file_mask =&gt; no value =&gt; no value
  apc.preload_path =&gt; no value =&gt; no value
  apc.serializer =&gt; php =&gt; php
  apc.shm_segments =&gt; 1 =&gt; 1
  apc.shm_size =&gt; 64M =&gt; 64M
  apc.slam_defense =&gt; On =&gt; On
  apc.smart =&gt; 0 =&gt; 0
  apc.ttl =&gt; 7200 =&gt; 7200
  apc.use_request_time =&gt; On =&gt; On
  apc.writable =&gt; /tmp =&gt; /tmp
  </code></pre>
  
  <p>And output of phpinfo() also shows apcu is enabled.</p>
  
  <p>But when I run my application, below error gets printed:</p>
  
  <pre><code>[Fri May 25 18:43:30.523133 2018] [php7:error] [pid 1693] [client 
  10.146.5.127:54542] PHP Fatal error:  Uncaught Error: Call to undefined 
  function apc_store()
  </code></pre>
  
  <p>This is the code snippet which adds data into the apc_store:</p>
  
  <pre><code>public static function add(LoggedInUser $loggedInUser) {
          if (!is_null($loggedInUser) &amp;&amp; !is_null($loggedInUser-&gt;getUserData()) &amp;&amp;
              !is_null($loggedInUser-&gt;getUserData()-&gt;userId)) {
          apc_store($loggedInUser-&gt;getUserData()-&gt;userId, $loggedInUser, 60);
      }
  }
  </code></pre>