Answers.Body: <p>Had the same problem. I my case, it was the following code in my nginx config file:</p>
  
  <pre><code>location ~* (?:\.(?:bak|config|sql|fla|ini|log|sh|inc|swp|dist)|~)$ {
      deny all;
  }
  </code></pre>
  
  <p>After removing <strong>log|</strong> from the list, the problem was solved.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-13T00:20:29.843Z
Answers.LastActivityDate: 2016-03-13T00:20:29.843Z
Answers.UserDisplayName: Jay Berg
Answers.Body: <p>Sounds like a file permission issue. Make sure that <code>phperrors.log</code> has acceptable read permissions.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-05T12:07:24.727Z
Answers.Text: I also have this issue, all the files in /craft/storage/runtime/logs are: `-rw-r--r--  1 forge forge` - I can access `/admin/utils/logs` but if I select another logfile, I get the same nginx 403.
Answers.UserDisplayName: Adam Menczykowski
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-12-03T17:31:46.020Z
Answers.Text: Not working. Read permissions are the same as craft.log. And they work normal. 
  
  Tried other permission settings. Same error.
Answers.UserDisplayName: Johannes Lamers
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-12-03T17:27:31.377Z
Answers.LastActivityDate: 2014-12-03T17:27:31.377Z
Answers.UserDisplayName: Lindsey D
Body: <p>If I want to view the PHP Error logs from craft true utils/logs I get an 403 Forbidden error. </p>
  
  <p>nginx/1.6.2</p>
  
  <p>../admin/utils/logs/phperrors.log</p>
  
  <p>What could be wrong?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-12-03T23:37:23.477Z
Comments.Text: You can view the `craft.log`, `craft.log.1`, etc. files fine? Is it an nginx 403 or a Craft one?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-12-04T09:23:34.760Z
Comments.Text: craft.log works. and yes it is an nginx error.
Comments.UserDisplayName: Johannes Lamers
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-12-04T16:26:02.893Z
Comments.Text: Sounds like some weird nginx configuration/permissions issue. Strange.
Comments.UserDisplayName: Brad Bell
Tags: <error-message>
Title: PHP Error log in CP gives me 403 forbidden
ThreadText: # PHP Error log in CP gives me 403 forbidden
  
  (Asked by: username_0 on 2014-12-03)
  
  If I want to view the PHP Error logs from craft true utils/logs I get an 403 Forbidden error.
  
  nginx/1.6.2
  
  ../admin/utils/logs/phperrors.log
  
  What could be wrong?
  
  **Tags:** error-message
  
  > **Comments:**
  > **username_1**: You can view the `craft.log`, `craft.log.1`, etc. files fine? Is it an nginx 403 or a Craft one?  
  > **username_0**: craft.log works. and yes it is an nginx error.  
  > **username_1**: Sounds like some weird nginx configuration/permissions issue. Strange.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2016-03-13. Score: 4
  
  Had the same problem. I my case, it was the following code in my nginx config file:
  
  ```
  location ~* (?:\.(?:bak|config|sql|fla|ini|log|sh|inc|swp|dist)|~)$ {
      deny all;
  }
  
  ```
  
  After removing **log|** from the list, the problem was solved.
  
  
  ---
  
  ### Answer by username_3 on 2014-12-03. Score: 1
  
  Sounds like a file permission issue. Make sure that `phperrors.log` has acceptable read permissions.
  
  > **Comments:**
  > **username_0**: Not working. Read permissions are the same as craft.log. And they work normal.   Tried other permission settings. Same error.  
  > **username_4**: I also have this issue, all the files in /craft/storage/runtime/logs are: `-rw-r--r--  1 forge forge` - I can access `/admin/utils/logs` but if I select another logfile, I get the same nginx 403.  
  
  ---
  
  