• [deleted]

dbot yes it works, you have to replace from 73 to 74 in above examples.

5 days later

jabr I installed a clean aaPanel today, and followed carefully all steps, but got the same error.

Anyone found a solution to purge caches?

    • [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

      1. open file: /www/wwwroot/example.com/.user.ini
      2. 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.

            8 days later

            szone
            is redis cache supported for WooCommerce sites? I am using wp rocket and it feels great, but im searching for faster load speeds. Site is pretty good loading at 600ms with cache right now.

            • [deleted]

            szone this is tottaly wrong affirmation, nginx side cache, works fine with redis, even opcache, becasue they all do their own caching for different ressources.

              • [deleted]

              @hgieg you will have to read what the error says, and take action, if its says something is a duplicate and shows you the files, meaning you need to remove the duplicated line from your site vhost.

              11 days later

              [deleted] Well it could work side by side, but my WooCommerce website's performance got much better with REDIS. And I no longer need FastCGI caching, for now.

              19 days later

              Hi, I found some issues on my website using this fastcgi cache.

              First I get duplicate response header on my https://example.com/page1, see image.
              If I refresh 2x, that will duplicate 3 times, I dont know what happend.

              Issues number two I getting issues Parse error: syntax error, unexpected 'define' (T_STRING) in /www/wwwroot/example.com/public_html/wp-config.php on line 7

              I dont know what happend, another page work just one page give me that error.

              a month later

              hi, fastcgi cache has been working fine on my wordpress site, but i have a problem that the cache purge is not working, i can only delete it manually, how can nginx helper be able to purge cache automatically ?

              Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com