Symptoms
Accessing your domain returns the following:
CONFIG_TEXT: Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
However, the module has been installed in EasyApache 4.
Cause
This error can occur when the configuration value suPHP_ConfigPath is found within the website's .htaccess. This configuration overrides the default php.ini loading location, causing PHP to only load INI files from the path specified. As a result, required PHP modules are not loaded for the website.
Resolution
-
Open the
.htaccessfile for the website using a text editor. This can be done via the File Manager in cPanel, or using the command line.How to edit files via File Manager
How to edit a file on command line
Note: The necessary file is typically located in the website's document root. For example:
/home/$USER/public_html/.htaccess -
Comment out any configuration line defining the
suPHP_ConfigPathoption by adding a#to the beginning of the line. For example:CONFIG_TEXT: # suPHP_ConfigPath /home/$user/public_html/php.ini
-
Save the file, and reload the website in your browser.
Note: It may be necessary to clear your browser's cache: How to Clear your Browser's Cache
Comments
0 comments
Article is closed for comments.