xploitedheart

Registered
Oct 9, 2013
4
0
1
cPanel Access Level
Root Administrator
Hi
the new installation of whm/cpanel installing the php 5.4 with package. But our site is not compatible with php 5.4 . The vendor has advised us to downgrade to php 5.3 to make it work properly.
We have tried to downgrade php 5.3 but some of cpanel function seems stop working after it.
Is there any possible to downgrade php 5.4 to 5.3 without any further changes in cpanel, or is there any way to download cpanel that installs the package of php 5.3 automatically.
Kindly advise.
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
23
143
Houston, TX
cPanel Access Level
Root Administrator
Doing anything involving httpd or php RPM packages using yum, can and will break httpd and PHP. cPanel does not use RPM packages for httpd or PHP. What you are doing is unsupported. You need to remove all of the httpd and php packages using yum, then run EasyApache. EasyApache will build the versions of httpd and PHP you want from source.

What you have done using yum circumvents the normal cPanel installation of httpd and PHP, and puts your server into a state we cannot and do not support. The hassle-free steps are to undo what you have done, and build httpd and PHP the cPanel-supported way, using EasyApache.
 

Infopro

Well-Known Member
May 20, 2003
17,113
507
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Assuming you've used EasyApache previously:

-WHM »Software »EasyApache (Apache Update)
-Previously saved config selected
-Start Customizing based on profile
-Select Apache version
-Next Step
-Select PHP Version
-Next Step
-Scroll to bottom, select Save and Build


Overly simplified of course, but gets you going I think.
 

cPanelPeter

Technical Analyst III
Staff member
Sep 23, 2013
575
21
143
cPanel Access Level
Root Administrator
Twitter
Hello,

In addition, I would ask your developer to update his/her software to work with PHP 5.4 (rather than asking you to downgrade)....
There are known security issues with 5.3 that are fixed in 5.4 and not updating because the developer doesn't wish to be bothered with updating his/her software is not an ideal solution.