Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix this error? Fatal error: Call to undefined function ctype_alnum() in .../magento18/lib/Zend/Uri.php on line X?

Tags:

php

magento

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 was trying to run Magento on Ampps on Mac OS X.

like image 397
P082 Avatar asked Dec 29 '14 14:12

P082


2 Answers

Open Ampps Application -> PHP Tab -> PHP Extension -> Select "ctype" -> Apply.

Restart Apache server.

Forum with answer posts

like image 128
René Höhle Avatar answered Sep 16 '22 23:09

René Höhle


Check to make sure the ctype package is installed; It's typically installed by default but some distros exclude it.

For Alpine:

apk add php7-ctype
like image 35
Charlie Avatar answered Sep 16 '22 23:09

Charlie