Answers.Body: <p>That's a bug in Craft that occurs with the specific configuration of PHP you're running.  Just fixed it for the next release, though.</p>
  
  <p>In the meantime, you can open up craft/app/etc/web/UrlManager.php, find the parseUrl method and change it from:</p>
  
  <pre><code>public function parseUrl(HttpRequestService $request)
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>public function parseUrl($request)
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-06-26T18:58:16.483Z
Answers.LastActivityDate: 2014-06-26T18:58:16.483Z
Answers.UserDisplayName: Brad Bell
Body: <p>I keep getting this error when I go to install Craft: "Declaration of Craft\UrlManager::parseUrl() should be compatible with that of CUrlManager::parseUrl()"  </p>
  
  <p>I am installing on a subdomain.  The database credentials are in place, the permissions are correct and the craft folder is found. </p>
  
  <p>I have devmode enabled and the last stack trace item is pointing to "craft/app/etc/web/UrlManager.php(18)". </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-06-26T18:07:27.910Z
Comments.Text: Maybe some files weren't copied correctly, try re-uploading the /craft/app/ folder.
Comments.UserDisplayName: Victor
Tags: <install>
Title: PHP error upon installation
ThreadText: # PHP error upon installation
  
  (Asked by: username_0 on 2014-06-26)
  
  I keep getting this error when I go to install Craft: "Declaration of Craft\UrlManager::parseUrl() should be compatible with that of CUrlManager::parseUrl()"
  
  I am installing on a subdomain. The database credentials are in place, the permissions are correct and the craft folder is found.
  
  I have devmode enabled and the last stack trace item is pointing to "craft/app/etc/web/UrlManager.php(18)".
  
  **Tags:** install
  
  > **Comments:**
  > **username_1**: Maybe some files weren't copied correctly, try re-uploading the /craft/app/ folder.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2014-06-26. Score: 3 | Accepted answer
  
  That's a bug in Craft that occurs with the specific configuration of PHP you're running. Just fixed it for the next release, though.
  
  In the meantime, you can open up craft/app/etc/web/UrlManager.php, find the parseUrl method and change it from:
  
  ```
  public function parseUrl(HttpRequestService $request)
  
  ```
  
  to:
  
  ```
  public function parseUrl($request)
  
  ```
  
  
  ---
  
  