The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What is the /scripts/makecpphp

Discussion in 'General Discussion' started by Bulent Tekcan, Oct 29, 2006.

  1. Bulent Tekcan

    Bulent Tekcan Well-Known Member

    Joined:
    May 11, 2004
    Messages:
    178
    Likes Received:
    0
    Trophy Points:
    16
    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 ?
     
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    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.
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    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
     
  4. Bulent Tekcan

    Bulent Tekcan Well-Known Member

    Joined:
    May 11, 2004
    Messages:
    178
    Likes Received:
    0
    Trophy Points:
    16
    My php is 4.4.2 for cpanel...is it normal ? Or how can I upgrade new one ? But normal PHP is 4.4.4

    Thanks
     
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    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.
     
  6. poppyq

    poppyq Well-Known Member

    Joined:
    Jul 15, 2003
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Austin, TX
    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
     
  7. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    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.
     
  8. fleksi

    fleksi Well-Known Member

    Joined:
    Sep 17, 2003
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
    You can edit /scripts/makecpphp, change "my $PHPV = '4.4.4';" and run /scripts/makecpphp
     
  9. Bulent Tekcan

    Bulent Tekcan Well-Known Member

    Joined:
    May 11, 2004
    Messages:
    178
    Likes Received:
    0
    Trophy Points:
    16
    My last PHP is 5.1.6 but cpanel still 4.4.2


    Can I upgrade cpanel php with this code ?
     
    #9 Bulent Tekcan, Nov 6, 2006
    Last edited: Nov 8, 2006
Loading...

Share This Page