How to fix this error? Fatal error: calling the undefined ctype_alnum () function in ... / magento 18 / lib / Zend / Uri.php on line X?

How to fix this error:

Fatal error: call to undefined function ctype_alnum () in /Applications/AMPPS/www/farhom.com/magento18/lib/Zend/Uri.php on line 109

I tried to run Magento on Ampps on Mac OS X.

+8
magento
source share
2 answers

Open the Ampps application → PHP tab → PHP extension → select “ctype” → Apply.

Restart the Apache server.

Answer forum

+18
source share

Make sure the ctype package is installed; It is usually installed by default, but some distributions exclude it.

For alpine:

apk add php7-ctype 
+1
source share

All Articles