Fixing “Call to undefined function ctype_alnum()”

As I mentioned last time, I switched to AMPPS for my local development environment on my Mac.

Once over in AMPPS, however, there was a certain PHP script that seemed to give me a problem.

“Call to undefined function ctype_alnum()”

The solution was simple: to enable the PHP extension called ctype.

  1. AMPPS Application > PHP Tab > PHP Extensions > Check “ctype” > Apply.
  2. Restart Apache server.