<p>Check that the php ctype extension is installed or enabled.</p>

CC BY-SA 3.0
2014-12-19T05:03:00.310Z
2014-12-19T05:03:00.310Z
Douglas McDonald
<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>

CC BY-SA 3.0
2014-12-19T03:05:03.633Z
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.
Douglas McDonald
CC BY-SA 3.0
2014-12-19T04:39:40.597Z
In my phpinfo I thought it said it was enabled...it wasn't, thus the error. Thanks!
Shun-Luoi Fong
CC BY-SA 3.0
2014-12-19T05:03:38.047Z
Great! Glad you found it. I'll add it as an answer so we can close this.
Douglas McDonald
<install>
Fatal error on install
# 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.


---

