admin/environment/php extension/ctype

Jump to: navigation, search
Notice: Moodle Docs will be switched to read-only mode starting on Tuesday 17 October 14:00 UTC for server maintenance. The estimated read-only period should not take more than 24 hours.

The ctype extension is enabled by default in PHP since version 4.3.0. If it's not enabled on your server, either you have a very old version of php, or it was probably disabled at build time. You will need to either remove --disable-ctype from the build command, or add --enable-ctype. Read http://www.php.net/manual/en/ctype.installation.php for details.

For details about Ctype features and history, you can read http://en.wikipedia.org/wiki/Ctype.h