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.

makecpphp not installed

Discussion in 'General Discussion' started by angelidata, Jan 10, 2013.

  1. angelidata

    angelidata Registered

    Joined:
    Jan 10, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Hi,

    I want to install a plugin but when I started to install, I get this error:

    I can't find /var/cpanel/3rdparty/bin/php . Please use the script /usr/local/cpanel/scripts/makecpphp to build it, after that rerun this installation script

    How can I install makecpphp?
    Because I need this script to get /var/cpanel/3rdparty/bin/php to install the plugin.

    Thank you.
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    You should have it, but you have to run it from the SSH command line (as root):
    Code:
    root@vps2 [~]# /usr/local/cpanel/scripts/makecpph
    
     
  3. angelidata

    angelidata Registered

    Joined:
    Jan 10, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Hi,

    I read about it, that I sould have it, but I don't have it. In /usr/local/cpanel/scripts/ i have two files that start with make* : make_config and makesecondary* . I don't have makecpphp.
     
  4. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Try this:

    Code:
    # /usr/local/cpanel/scripts/updatenow --sync
    That should replace any scripts that are missing from /usr/local/cpanel/scripts.

    Is this by chance cPanel 11.35? If so, makecpphp no longer exists in cPanel 11.35. It should exist in 11.34 and earlier.
     
  5. alphawolf50

    alphawolf50 Well-Known Member

    Joined:
    Apr 28, 2011
    Messages:
    186
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I recently upgraded to 11.36, which of course doesn't have this either. Sooo... what does one use *instead* of makecpphp, if one wanted to rebuild cPanel's php?
     
  6. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    386
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    why you need to "rebuild" cPanel PHP? cPanel PHP's are installed from rpms now.

    # yum list all | grep cpanel-php53
    cpanel-php53.x86_64 5.3.17-2.cp1136 installed
    cpanel-php53-Archive-Tar.noarch 1.3.10-2.cp1136 installed
    cpanel-php53-Auth-SASL.noarch 1.0.6-2.cp1136 installed
    cpanel-php53-Console-Getopt.noarch 1.3.1-2.cp1136 installed
    cpanel-php53-DB.noarch 1.7.14-2.cp1136 installed
    cpanel-php53-Date.noarch 1.4.7-2.cp1136 installed
    cpanel-php53-File.noarch 1.4.1-2.cp1136 installed
    cpanel-php53-HTML-Template-IT.noarch 1.3.0-2.cp1136 installed
    cpanel-php53-HTTP.noarch 1.4.1-2.cp1136 installed
    cpanel-php53-HTTP-Request.noarch 1.4.4-2.cp1136 installed
    cpanel-php53-Log.noarch 1.12.7-2.cp1136 installed
    cpanel-php53-Mail.noarch 1.2.0-2.cp1136 installed
    cpanel-php53-Mail-Mime.noarch 1.8.3-2.cp1136 installed
    cpanel-php53-Net-SMTP.noarch 1.6.1-2.cp1136 installed
    cpanel-php53-Net-Socket.noarch 1.0.10-2.cp1136 installed
    cpanel-php53-Net-URL.noarch 1.0.15-2.cp1136 installed
    cpanel-php53-Net-UserAgent-Detect.noarch 2.5.2-2.cp1136 installed
    cpanel-php53-PEAR.noarch 1.9.4-2.cp1136 installed
    cpanel-php53-PEAR-Command-Packaging.noarch 0.3.0-2.cp1136 installed
    cpanel-php53-Structures-Graph.noarch 1.0.4-2.cp1136 installed
    cpanel-php53-XML-Parser.noarch 1.3.4-2.cp1136 installed
    cpanel-php53-XML-RPC.noarch 1.5.5-2.cp1136 installed
    cpanel-php53-XML-Util.noarch 1.2.1-2.cp1136 installed
    cpanel-php53-ioncube.x86_64 4.2.2-1.cp1136 installed
    cpanel-php53-sourceguardian.x86_64 8.2-1.cp1136 installed
    cpanel-php53-zendopt.x86_64 5.5.0-1.cp1136 installed
     
  7. alphawolf50

    alphawolf50 Well-Known Member

    Joined:
    Apr 28, 2011
    Messages:
    186
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    1. Because I like the warm fuzzy feeling I get from running the most recent version of PHP 5.3 (5.3.22) instead of PHP 5.3.17.
    2. Because I like building PHP against the system's MySQL (5.5.30), but cPanel's PHP appears to be built against MySQL 5.0.96.
    3. Because I didn't realize cPanel switched to RPMs for its PHP, and old habits are hard to break? :D
     
  8. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    1. Fair enough, the internal PHP is a bit older. Is there functionality in 5.3.22 that you require?
    2. The MySQL 5.0.96 client library we link to is compatible with all versions of MySQL supported by cPanel & WHM. As far as I can tell, the only win you'd get by changing the client library is a bump in the version string displayed to users.
    3. That's going to take a long time for everyone :)

    For the issue with getting a plugin to work, please contact the plugin vendor/developer. If they require additional features (e.g. extensions) to be made available with cPanel & WHM, we are greatly interested in hearing from them.
     
  9. alphawolf50

    alphawolf50 Well-Known Member

    Joined:
    Apr 28, 2011
    Messages:
    186
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hi Kenneth,

    No specific functionality for PHP, just want to make sure the various bug and security patches are in place.

    RE: MySQL client library, I know that theoretically the old library is compatible... it's just something that bugs me :) And I have this thought in the back of my head that maybe the 5.0.x client doesn't understand everything the 5.5.x server does (Like the new utf8mb4 collation), and maybe some clever blackhat has figured out how to turn the mismatch into an exploit. I guess the question of the day is... is the 5.5.30 client not backwards compatible with MySQL 4.x/MySQL 5.1? And if so, why not use it? Even if it does nothing but update the client version string... that can still be good for marketing :)
     
  10. HostingH

    HostingH Well-Known Member

    Joined:
    Jan 13, 2008
    Messages:
    73
    Likes Received:
    3
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    I have tried : /usr/local/cpanel/scripts/updatenow --sync

    But still: [~]# /scripts/makecpphp
    -bash: /scripts/makecpphp: No such file or directory

    Version:
    WHM 11.36.0 (build 21)
     
  11. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    scripts/makecpphp is no longer provided with cPanel & WHM.
     
  12. HostingH

    HostingH Well-Known Member

    Joined:
    Jan 13, 2008
    Messages:
    73
    Likes Received:
    3
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    Thanks for the important update. Is there any other script? Or in future, there is no need to compile cpanel's php ?
     
  13. xServers.ro

    xServers.ro Registered

    Joined:
    Jan 26, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Nowadays you can do /usr/local/cpanel/scripts/check_cpanel_rpms --fix
     
  14. TNiSolutions

    TNiSolutions Well-Known Member

    Joined:
    May 30, 2011
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Hi all
    How can I compile cPanels internal PHP with cURL? I need this for some software that uses cURL for licensing purposes...
    On another note, does anyone know if one can change their forum username?
    Thanks
     
  15. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Curl, with SSL support, is provided with the internal PHP as of 11.36.0.
     
  16. hostnmail

    hostnmail Registered

    Joined:
    Apr 24, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello cPanelKenneth !

    So what command in ssh should we use instead?


    "/usr/local/cpanel/scripts/updatenow --sync" or "/scripts/updatenow --sync" in 11.36 ?

    Thank you,

    Jean Boudreau
     
  17. hostnmail

    hostnmail Registered

    Joined:
    Apr 24, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    So this scripts would replace "makecpphp" with the --fix a the end?
     
  18. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    /usr/local/cpanel/scripts/check_cpanel_rpms --fix will reinstall any cPanel-provided RPMs that have changed post install, as well as install newly requested RPMs, based upon local options (e.g. changing the server's MySQL version).

    It does not replace makecpphp. If you need to modify the internal PHP installation (internal meaning the one in /usr/local/cpanel/3rdparty), then you need to install the source RPM, make your changes, build the new RPM, and configure the cPanel RPM system to use it (RPM Cookbook).

    We are interested in knowing the changes you desire to the internal PHP installation.
     
Loading...

Share This Page