Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/rocketeers/docs into Gett…
Browse files Browse the repository at this point in the history
…ing-started
  • Loading branch information
jetbee committed Feb 18, 2015
2 parents fc93a76 + adf39f6 commit 8f77aae
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions VI-Help/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,12 @@ To solve the issue, add the following command to be run at the end of your deplo
```
php -r "opcache_reset();"
```

**Note: if you are using PHP-FPM with nginx, the above will only flush the CLI cache, not FPM's**

To fix the problem in this case, add the lines below to your nginx server configuration.
```
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;
```
Usually the file is located at `/etc/nginx/fastcgi.conf`.

0 comments on commit 8f77aae

Please sign in to comment.