Garbage in PHP Config Editor?

humba

Member
Jul 9, 2005
12
0
151
Hello all, please help me why php config editor shows several "crossed out" entries and "**DEFAULT**, Click to Edit" garbage?



I also found several sites getting access denied or forbidden errors, specially Joomla and Drupal based sites hosted on my server.

How do I reset or reinstall php in case it got corrupt?
Do you think the file was hacked or injected with malicious codes? Please advise and thank you!
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
10
313
Houston, TX
cPanel Access Level
Root Administrator
Hello all, please help me why php config editor shows several "crossed out" entries and "**DEFAULT**, Click to Edit" garbage?



I also found several sites getting access denied or forbidden errors, specially Joomla and Drupal based sites hosted on my server.

How do I reset or reinstall php in case it got corrupt?
Do you think the file was hacked or injected with malicious codes? Please advise and thank you!
The label for default is indicating that the setting is a default setting and has not yet been manually edited (not that it needs to be edited in most cases).

You can reinstall PHP by going to WHM -> Software -> Apache Update and proceed with the process of recompiling PHP and Apache.

However, cPanel's default PHP configuration does not adversely affect Joomla and Drupal websites. I continue to run a Joomla site (migrated from Drupal) on a cPanel server on STABLE without any issues. I've also ran many Drupal-based websites on cPanel for years without any issues.