Step-by-Step Guide

How to enable an important PHP extension on a VPS.?

How to enable Following PHP extension in VPS Server

OpenSSL PHP Extension
PDO PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension
XML PHP Extension
Ctype PHP Extension
JSON PHP Extension
Exif Extension
PHP Fileinfo Extension

Operating System : CentOS 

Control Panel  : cPanel

Use this command on the terminal to check an existing PHP extension
[root@vps ~]# php -m
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
hash
iconv
imap
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
SimpleXML
sockets
SPL
sqlite3
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zlib
[Zend Modules]
[root@vps ~]# php -m | grep ctype
ctype
[root@vps ~]# php -m | grep tokenizer
tokenizer

in cPanel/WHM, You can Enable / Disable PHP Extension in WHM»Software »Easy Apache 4 » Customize  in Currently Installed Packages

Cpanel - Easy Apache 4

Some PHP extensions that are naturally available in the Easy Apache system are built into PHP, so there is no way to add or remove them. You can check if these are present in your OS by running this command:

php -m | grep ctype

php -m | grep tokenizer

php -i | grep -E -i '(json|openssl)'
0 0 votes
Article Rating
Avatar

deepika

About Author

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments

You may also like

Step-by-Step Guide

How to Register a Domain Name and Web Hosting(website) for Your Own Business

Go to google and search domainindia.com Enter your domain name here and click here to search Next comes a search
Domain India Client Area
Step-by-Step Guide

How to Access and Manage Client Service Portal (Client Area) of Domain India

The Client Area (Dashboard) of our Customers Management Portal is where client access the product / service and manage their
0
Would love your thoughts, please comment.x
()
x