JAY Thanks a lot for your prompt response - Do we have ha ve any documentation to configure OLS or LS Cache ? I really appreciate your help.
How to enable fastcgi cache for WordPress with aapanel
JAY Also i am using WordPress websites!
It worked for me as you described in your screenshots but when trying to purge cache, I don't see that files on /dev/shm/fastcgi-cache are deleted and I have to delete them manually, any way to fix this please?
does it work for php 7.4?
[deleted]
dbot yes it works, you have to replace from 73 to 74 in above examples.
[deleted]
After removing the config file from existing setup page is broken.
I had a problem with that solution because while purging cache the files won't to be deleted.
[deleted]
kamil make sure nginx has permissions over the location.
kamil
I commented on this line in user.ini file and purging cache the files work fine
; open_basedir=/www/wwwroot/example.com/:/tmp/:/dev/shm/fastcgi-cache/
hgieg try my solution
- open file: /www/wwwroot/example.com/.user.ini
- comment this line
; open_basedir=/www/wwwroot/example.com/:/tmp/:/dev/shm/fastcgi-cache/
aapanelmaster Very tnks!!! I'll do that today and come back later to tell you how it worked.
rebel908413
When I try to add these lines to nginx.conf, I get error messages saying that the settings don't make sense.
Please, could you give a hint on how you managed to make fastcgi work for multiple sites?
[deleted]
hgieg they must be in site config.
[deleted] Very tnks for the answer.
Yes, this lines in site config work very well in a single site. But if a try to add this lines to a second site, i got this:
@rebel908413 said that works for him, for multiple sites, edit the nginx.conf.
I am missing something? How can i activated fastcgi for multiple sites?
If you guys enable the REDIS, you will probably not be needing FastCGI caching. Just install the PHP extension of REDIS and install the NGINX Helper plugin, and there choose REDIS caching instead of fastcgi. The performance will get much better.