cancel
Showing results for 
Search instead for 
Did you mean: 

To reflect changes to the website, I have to restart php-fpm

To reflect changes to the website, I have to restart php-fpm

To reflect changes to the website, I have to restart php-fpm every time. That's not typical. Is that bad? Is there a way to fix this? 

sudo service php-fpm restart
6 REPLIES 6

Re: To reflect changes to the website, I have to restart php-fpm

@kanchi777k3aa3 

Such an issue is not possible in default Magento.
Is there Cloudflare, varnish, or opache set up in your store?

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: To reflect changes to the website, I have to restart php-fpm

Hi @Sanjay Jethva 

Yes, I believe we are using OPcache. Is there a way to fix this? 

Re: To reflect changes to the website, I have to restart php-fpm

But somtimes, it fails, telling you restart: Unknown instance

Now, if you do not like to reboot your server, just kill the processes and have a fresh start 

https://cucotv.net/

Re: To reflect changes to the website, I have to restart php-fpm

Thank you so much for the information i also looking for this.

 

Upsers

Re: To reflect changes to the website, I have to restart php-fpm

When an application requires vcruntime140_1.dll, Windows will check the application and system folders for this .dll file. If the file is missing you may receive an error and the application may not function properly.

Re: To reflect changes to the website, I have to restart php-fpm

  • What version of php on which version of ubuntu ?
  • Do you have any reference of opcache.enable=1, somewhere in your php config maybe (/etc/php5/fpm/conf.d/) ?

In a temporary php file, put something like this (don't forget to remove it afterward):

   <?php
   phpinfo();

On recent PHP version (5.5+), search for Zend OPcache section and see if it's active or not It might be enabled in . If so, take a look to opcache doc to configure it properly