title: How to determine where are the differences in the settings for two sites on same server?
body: <p>I got VPS with </p>
  
  <ul>
  <li>NGINX 1.15.2 </li>
  <li>PHP-FPM 7.3.5 </li>
  <li>Maria DB 10.0.36 </li>
  <li>WordPress 5.2 </li>
  </ul>
  
  <p>There are two sites with same content and settings (second one is backup with no access from internet). Differences are the access restrictions in nginx config (allow/disallow IPs in server-location section). </p>
  
  <p><strong>The problem</strong>: sometimes same code generates an error on production site and won't it on backup site. Today it is</p>
  
  <pre><code>$_tmp-&gt;$key = $this-&gt;recursive_unserialize_replace( $value, false, $parent_serialized, $successive_filter );
  </code></pre>
  
  <p><strong>Help needed</strong>: I'm trying to determine where are real differences in the settings for these two servers to fix that error.</p>
  
  <p>I've compared already settings in:</p>
  
  <ul>
  <li>WP wp-config.php</li>
  <li>Nginx /etc/nginx/sites-enabled</li>
  <li>PHP /etc/php/7.3/fpm/conf.d</li>
  </ul>
  
  <p>but they are the same except the pools, socks, owners/groups and ssl. Please guide me where are the differences can be?</p>