Bulent Tekcan

Well-Known Member
May 11, 2004
185
2
168
cPanel Access Level
Root Administrator
When I use this command my server send this message..

PHP version file is up to date When I see my log I think update to 4.4.2,but my php version report is 4.4.4 still ?

What is that ?
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
The script is a php installer, so its trying to tell you that it is already installed. You will have to recompile apache or manually compile php to update it.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
When I use this command my server send this message..

PHP version file is up to date When I see my log I think update to 4.4.2,but my php version report is 4.4.4 still ?

What is that ?
This updates/compiles the version of PHP that cPanel uses internally. Not the same as the PHP account users use to execute scripts. The internal PHP binary is used for the cPanel installed version of PHPMyAdmin, Horde, Squirrelmail and any other PHP Webapp that is internal to cPanel/WHM
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
The internally used PHP binary is on a different update schedule than what is used externally. Due to this, the criteria to prompt an upgrade is different than for the externally used binary.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
I understand this, but when I run apache update and choose 4.4.4 after it completes the update I'm still running 4.4.2. It is not updating to 4.4.4
makecpphp has nothing to do with apache update.

There is a way to have the cPanel use the system PHP binary rather than the one built by makecpphp, but I cannot bring it to mind at the moment. It's likely a file in /var/cpanel try searching the forum for "cpanel system php" or something like that.
 

fleksi

Well-Known Member
Sep 17, 2003
124
0
166
You can edit /scripts/makecpphp, change "my $PHPV = '4.4.4';" and run /scripts/makecpphp