should Cloudflare be disabled? or any settings should be done in Cloudflare please?
How to enable fastcgi cache for WordPress with aapanel
@aaPanel_Jose - Hi Jose - I am really struggling with enabling caching on my ngnix lemp stack.
Every time i apply these setting it simply crashes my server - do we have any simple documentation for that - I am also willing to pay for support
PHP Version - 7.3
Ngnix 1.17
AA Panel - 6.7.7
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.
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?