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.

Loader to use for internal cpanel php

Discussion in 'General Discussion' started by summy, May 28, 2008.

  1. summy

    summy Active Member

    Joined:
    Jan 14, 2004
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    none, ioncube or sourceguadian. Whats the benefits of using one of these loaders for internal cpanel? I never really bothered as I think the pages load quick enough.

    Whats other peoples views?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    cPanel/WHM pages are coded in Perl, making the PHP loader irrelevant for native pages. Pages added by third party add-ons such as CSF, RVSkins etc. may be coded in encoded (not plain text) PHP, in which case the proper engine to decode these files (typically ioncube nowadays) would need to be selected.
     
  3. summy

    summy Active Member

    Joined:
    Jan 14, 2004
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Ah of course. It's always something I've just overlooked until now.

    Cheers.
     
  4. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    how can be determined if ioncube or other loaders are installed?
     
  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
    You can:
    1. Check php.ini for the extension
    2. Check output of phpinfo();
    3. Check output of /scripts/phpextensionmgr status IonCubeLoader
     
  6. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    1. Check php.ini for the extension
    Nothing found (searching contents for "ioncube" in insensitive case)

    2. Check output of phpinfo();
    Nothing shown.

    3. Check output of /scripts/phpextensionmgr status IonCubeLoader

    Code:
    # /scripts/phpextensionmgr list
    Available Extensions:
    EAccelerator
    IonCubeLoader
    Zendopt
    SourceGuardian
    PHPSuHosin
    
    # /scripts/phpextensionmgr status IonCubeLoader
    Determining status of IonCubeLoader
    IonCubeLoader extension is NOT installed
    
    Should I recompile via EA3? :(
     
  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
    No need.
    Code:
    /scripts/phpextensionmgr install IonCubeLoader
    
    The above will install the loader for you.
     
  8. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Great! :D
    A good oportunity to also install phpsuhosin.

    Code:
    # php -v
    PHP 5.2.5 (cli) (built: Feb 19 2008 16:09:47)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
        with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
        with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
        with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
        with Suhosin v0.9.23, Copyright (c) 2007, by SektionEins GmbH
        with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
     
Loading...

Share This Page