How to enable php extensions?

gph09

New member
Joined
Nov 10, 2019
Messages
2
Best answers
0
Points
1
#1
I require these in my hosting service. How do I make sure if these are available and how to enable...?

OpenSSL PHP Extension
PDO PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension
XML PHP Extension

My hosting provider says I can enable these through cPanel. The main problem for me is, I do not know if these are named the same as it appears.

I only see "Mbstring" in PHP version. Where are others if these are available to enable in cPanel.
 
Joined
Nov 13, 2019
Messages
15
Best answers
0
Ratings
5
Points
3
#2
These PHP extensions are fairly common and should be enabled by default for most hosting providers.

If your provider said that you can enable them through cPanel, I believe they are using CloudLinux's PHP Selector. If this is the case, you will be able to enable/disable the PHP extensions in your cPanel > Select PHP Version.

If you want to confirm whether the PHP extensions are already enabled, you can create a PHP Info file:-

1. Create a file with the name phpinfo.php under your public_html with the cPanel File Manager.

2. Insert the following codes into the file:-
PHP:
<?php

phpinfo();

?>
3. Browse to <YourDomain.com>/phpinfo.php and it will show you the PHP extensions that are enabled (you can use your browser's search feature to find the PHP extensions you want).
 

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top