If there is any php module related issue with the existing php website, first of all check the phpinfo page or php.ini file. Locate the php.ini file and if the module is not loaded in phpinfo page, need to allow that module in php.ini file.
--------------------------------
How to create a phpinfo.php File :
--------------------------------
→ In the public_html folder of the website, create a file named phpinfo.php.
→ Write the following code to show all the information about PHP.
<?php
phpinfo();
?>
→ Browse this webpage (example: http://64.27.50.50:108/phpinfo.php).
--------------------------------
How to find php.ini file :
--------------------------------
→ Browse phpinfo.php file and search for "Loaded Configuration File". This will show you an actual path of php.ini file on the disk.
--------------------------------
How to add module/extension in php.ini file :
--------------------------------
→ Add following line in php.ini file :
extension=FILE_NAME.dll
Here FILE_NAME is the extension file name.
Bookmarks