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!

Add an extension to PHP (ICE)

Discussion in 'General Discussion' started by wengole, Feb 18, 2009.

  1. wengole

    wengole Registered

    Joined:
    Feb 17, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    Hi,

    I am trying to add ZeroC ICE for PHP to my environment. I had had it working on a simple LAMP server before, and it was really easy to get up and running.

    Basically I just added the IcePHP.so file to the extensions_dir folder and added the line extension=IcePHP.so into the php.ini file.

    However, doing this in WHM does not work at all. Not even manually editing the php.ini file. Is there some PHP settings that I'm not aware of that are stopping this working?

    Thanks in advance for any help you can give.
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,565
    Likes Received:
    43
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Which php.ini file are you modifying?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. wengole

    wengole Registered

    Joined:
    Feb 17, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    The master php.ini file: /usr/local/lib/php.ini
     
  4. KingPinS

    KingPinS Member

    Joined:
    Oct 20, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    sorry to necro this thread but did anyone else get this working? I am trying to add ice 3.3.1 to my centos5 php
    Code:
    PHP 5.2.10 (cgi-fcgi) (built: Sep 17 2009 13:35:38)
    Copyright (c) 1997-2009 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
        with XCache v1.2.2, Copyright (c) 2005-2007, by mOo
        with the ionCube PHP Loader v3.1.34, Copyright (c) 2002-2009, by ionCube Ltd., and
        with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
        with Suhosin v0.9.27, Copyright (c) 2007, by SektionEins GmbH
        with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
    if I add it at the end of /usr/local/lib/php.ini I get nothing apache restarts fine but has no ice module, if I add it before the zend stuff apache segfaults.

    Code:
    Oct  8 14:14:31 rand kernel: httpd[9780]: segfault at 0000000000000059 rip 00002ba32d51a671 rsp 00007fff76e40bb0 error 4
    httpd has failed, please contact the sysadmin.
    the error or access logs have no info about this, if theres another log I should look into that would be good to know. thanx.

    PS ICE is installed via el5 yum repo.
     
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