Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    156
    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,216
    Likes Received:
    10
    Trophy Points:
    313
    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:
    156
    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,189
    Likes Received:
    8
    Trophy Points:
    168
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    how can be determined if ioncube or other loaders are installed?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,569
    Likes Received:
    45
    Trophy Points:
    308
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,189
    Likes Received:
    8
    Trophy Points:
    168
    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? :(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,569
    Likes Received:
    45
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    No need.
    Code:
    /scripts/phpextensionmgr install IonCubeLoader
    
    The above will install the loader for you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,189
    Likes Received:
    8
    Trophy Points:
    168
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice