Answers.Body: <p>Check that the php ctype extension is installed or enabled.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-12-19T05:03:00.310Z
Answers.LastActivityDate: 2014-12-19T05:03:00.310Z
Answers.UserDisplayName: Douglas McDonald
Body: <p>I have AMPPS installed on my Mac OS X, and am trying to install the CMS. When I browse to <a href="http://craft.dev/admin" rel="nofollow">http://craft.dev/admin</a> to install, it redirects to <a href="http://craft.dev/admin/install" rel="nofollow">http://craft.dev/admin/install</a> with the following error:</p>
  
  <pre><code>Fatal error: Call to undefined function ctype_alpha() in /Users/username/domains/craft.dev/craft/app/vendor/twig/twig/lib/Twig/Lexer.php on line 380
  </code></pre>
  
  <p>Any suggestions on fixing the issue?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-12-19T03:05:03.633Z
Comments.Text: The only thing I can think of is that you don't have the php [ctype extention](http://php.net/manual/en/function.ctype-alpha.php) installed or enabled.
Comments.UserDisplayName: Douglas McDonald
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-12-19T04:39:40.597Z
Comments.Text: In my phpinfo I thought it said it was enabled...it wasn't, thus the error. Thanks!
Comments.UserDisplayName: Shun-Luoi Fong
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-12-19T05:03:38.047Z
Comments.Text: Great! Glad you found it. I'll add it as an answer so we can close this.
Comments.UserDisplayName: Douglas McDonald
Tags: <install>
Title: Fatal error on install
ThreadText: # Fatal error on install
  
  (Asked by: username_0 on 2014-12-19)
  
  I have AMPPS installed on my Mac OS X, and am trying to install the CMS. When I browse to <http://craft.dev/admin> to install, it redirects to <http://craft.dev/admin/install> with the following error:
  
  ```
  Fatal error: Call to undefined function ctype_alpha() in /Users/username/domains/craft.dev/craft/app/vendor/twig/twig/lib/Twig/Lexer.php on line 380
  
  ```
  
  Any suggestions on fixing the issue?
  
  **Tags:** install
  
  > **Comments:**
  > **username_1**: The only thing I can think of is that you don't have the php [ctype extention](http://php.net/manual/en/function.ctype-alpha.php) installed or enabled.  
  > **username_0**: In my phpinfo I thought it said it was enabled...it wasn't, thus the error. Thanks!  
  > **username_1**: Great! Glad you found it. I'll add it as an answer so we can close this.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-12-19. Score: 2 | Accepted answer
  
  Check that the php ctype extension is installed or enabled.
  
  
  ---
  
  