W3 Total Cache Amazon CloudFront Configuration
-
Hi I am setting up a new wordpress site on Amazon AWS
I followed the following blog post:
https://aws.amazon.com/blogs/networking-and-content-delivery/accelerating-wordpress-with-cloudfront-using-the-aws-for-wordpress-plugin/I had everything set up with CloudFront on www, also working with HSTS headers, using the AWS for WordPress plugin.
I am now trying to advance my set up by adding further caching and am using W3 Total Cache for that using guidelines from the whitepaper: https://d1.awsstatic.com/whitepapers/wordpress-best-practices-on-aws.pdf
On page 25 it states that I should enable origin push CloudFront inside W3 Total Cache, after doing that I am getting 500 errors on every page.
For example:
Got error ‘PHP message: PHP Fatal error: Cannot redeclare A
ws\\parse_ini_file() (previously declared in /opt/bitnami/apps/wordpress/htdocs/wp-content
/plugins/amazon-polly/vendor/aws/aws-sdk-php/src/functions.php:410) in /opt/bitnami/apps/w
ordpress/htdocs/wp-content/plugins/w3-total-cache/lib/Aws/Aws/functions.php on line 401’,Can anyone help with the configration for this? I would ideally like to get the static assets stored in S3.
Thanks.
- The topic ‘W3 Total Cache Amazon CloudFront Configuration’ is closed to new replies.