Question
Why am I unable to find the json PHP extension in EasyApache 4?
Answer
The json PHP Extension is installed by default as a dependency of the ea-php##-php-common package for each PHP version. The ea-php##-php-common package also provides the ctype, tokenizer, and phar extensions.
To confirm the json extension is enabled for a specific version of PHP:
- Log in to the server via SSH, or using the Terminal in cPanel/WHM.
List the modules for the PHP version you want to use:
# ea-php## -m
Note: Replace
##with the PHP version. For example, PHP 8.2 would be:ea-php82
Comments
0 comments
Article is closed for comments.