AbanteCart Community

Shopping Cart Operations => Support => Topic started by: consumatica on September 07, 2015, 03:49:09 PM

Title: installation
Post by: consumatica on September 07, 2015, 03:49:09 PM
Please I need to disable opcache in php module.

Can someone help me.

Very thanks
Title: Re: installation
Post by: Basara on September 08, 2015, 07:20:05 AM
Sorry your question is not AbanteCart related.
Title: Re: installation
Post by: abolabo on September 08, 2015, 08:16:36 AM
please, ask about it your hosting provider techsupport
Title: Re: installation
Post by: eCommerce Core on September 08, 2015, 11:52:39 AM
Please I need to disable opcache in php module.

Can someone help me.

Very thanks
You can try one of the following:

1. If PHP runs as Apache module, use an .htaccess file:
Code: [Select]
php_flag opcache.enable Off
2.If PHP runs as CGI/FastCGI, use a .user.ini file:
Code: [Select]
opcache.enable=0
Title: Re: installation
Post by: consumatica on September 08, 2015, 12:58:56 PM
The error is in the installation of abantecart
Title: Re: installation
Post by: webdevmerc on September 08, 2015, 03:24:14 PM
I suggest try what eCommerce Core wrote...
Also, most errors can be solved by doing a plain web search or google search or whatever search engine you prefer to use:

https://www.google.com/search?q=how+to+disable+opcache

1st link that popped up is:
http://stackoverflow.com/questions/21556437/disable-opcache-temporally

Same answer as posted above.


I honestly solve nearly all my cart problems or any coding, excel, you name it...problem by doing a search.  Almost in all cases, someone has had the same problem as you before so you can fix it and move on quickly afterwards...

If there are NO matches, then either no one else has the problem (and more likely, your config or setup is wrong) or it's too new.  Most things we do aren't new/leading/bleeding edge...so I lean towards if an error is only affecting me and I can't find another instance of it, then it's only in my site.

Good luck.  This should be straight forward to fix.
Title: Re: installation
Post by: consumatica on September 09, 2015, 10:06:38 AM
Thank you for the information
Title: Re: installation
Post by: Thunder_Beaver on August 24, 2020, 04:11:08 PM
I'm running into this same issue and found that same link posted above.

Ubuntu 18.04 server
php 7.2
nginx 1.14
AbanteCart 1.2.16 regular install (after unconfigured docker)

Used nano to change two opcache_enabled = 0 lines in /etc/php/7.2/fpm/php.ini & /etc/php/7.2/cli/php.ini
systemctl restart nginx php7.2-fpm

opened a new profile/container in the web browser and it's still enabled.
What did I miss?