title: How to automatically refresh page with Laravel PJAX?
body: <p>I have a written script in Laravel, and used PJAX plugin for a Navigation. Everything is working fine in my local environment. I have deployed that larvael project on a shared hosting and I am facing a problem with AJAX navigation. Sometimes PJAX works as expected, but something it reloads the entire page and then redirects to home.</p>
  
  <p>The only thing I come up with error_logs is</p>
  
  <pre><code>[23-Aug-2017 17:31:07 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/apc.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
  </code></pre>
  
  <p>But I don't think so this has concern with laravel PJAX navigation for demo link of the project website is mentioned below
  <a href="http://shiamp3.com/beta" rel="nofollow noreferrer">http://shiamp3.com/beta</a></p>
  
  <p>Just click on any image below "Top Charts" Rest Navigation will not work.</p>