1

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?

  • The only thing I can think of is that you don't have the php ctype extention installed or enabled. – Douglas McDonald Dec 19 '14 at 3:05
  • In my phpinfo I thought it said it was enabled...it wasn't, thus the error. Thanks! – Shun-Luoi Fong Dec 19 '14 at 4:39
  • Great! Glad you found it. I'll add it as an answer so we can close this. – Douglas McDonald Dec 19 '14 at 5:03
2

Check that the php ctype extension is installed or enabled.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.