rocketeers / docs

Rocketeer's documentation
7 stars 25 forks source link

troubleshooting opcache for php-fpm and nginx #13

Closed austenc closed 9 years ago

austenc commented 9 years ago

Added nginx configuration to the troubleshooting section to fix opcache problems when using php-fpm.

Anahkiasen commented 9 years ago

Thanks!

austenc commented 9 years ago

Just found out that this fix apparently doesn't work in some cases. I'll report back when I learn more and hopefully find a solid fix...

I've found that service php5-fpm restart "fixes" the issue, but it's hardly a workable solution for a seamless deploy. I'll do some digging to figure out why the docs changes in this PR didn't actually work.

Update: it was this server's particular configuration. The fix I added in this PR is still correct, the fastcgi param was just overridden in the 'virtual host' definition for this site