Skip to main content

PHP Extension CTYPE Missing from Easy Apache

Comments

5 comments

  • cPRex Jurassic Moderator

    Hey there!  Ctype has been included with all versions of PHP by default for some time, so while we do include it, there isn't a way to enable or disable it:

    https://www.php.net/manual/en/ctype.installation.php

    so you don't need to do anything to ensure this module is on your server - it's already there.

    0
  • LibertyTalk FM

    Hi cPRex,

    Thank you for the clarification that Ctype is installed by default.

    Could you please advise the best terminal command or other means to confirm which PHP extensions are presently installed if not Grep?

    0
  • cPRex Jurassic Moderator

    I don't see anything wrong with your grep command - you list all the modules, and then search for ctype, and got a positive result since it is installed.

    You could do something similar with the PHP info system as well.  Here I'm using PHP 8.3 as the example version:

    /opt/cpanel/ea-php83/root/usr/bin/php -i | grep ctype

     

    0
  • LibertyTalk FM

    Okay thank you, much appreciated.

    Think the default RED color made me ascribe a 'missing' value to the command, when it turns out it must just be the default color of the terminal window.

    0
  • cPRex Jurassic Moderator

    Correct - Red is just the "matching result" color in your terminal.

    1

Please sign in to leave a comment.