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!

EasyApache4 Xdebug

Discussion in 'EasyApache' started by nosajix, Jan 25, 2018.

  1. nosajix

    nosajix Active Member

    Joined:
    Jul 30, 2005
    Messages:
    30
    Likes Received:
    1
    Trophy Points:
    158
    I cannot for the life of me get xdebug to install on php 56 compiled with ea4. I have tried EVERYTHING - still in the end, my php -v states:
    Code:
    ea-php-cli Copyright 2017 cPanel, Inc.
    Xdebug requires Zend Engine API version 220121212.
    The Zend Engine API version 220131226 which is installed, is newer.
    Contact Derick Rethans at Xdebug: Documentation for a later version of Xdebug.
    
    Xdebug requires Zend Engine API version 220121212.
    The Zend Engine API version 220131226 which is installed, is newer.
    Contact Derick Rethans at Xdebug: Documentation for a later version of Xdebug.
    
    PHP 5.6.33 (cli) (built: Jan 23 2018 14:58:46)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    
    I have tried to manually compile xdebug using ./configure --with-php-config=/usr/local/cpanel/3rdparty/php/56/bin/php-config and the make install says it installed the extentions at
    /usr/local/cpanel/3rdparty/php/56/lib/extensions/no-debug-non-zts-20131226/
    but still same output. What the heck is going on?
     
    #1 nosajix, Jan 25, 2018
    Last edited by a moderator: Jan 25, 2018
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,856
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I've been unable to reproduce the issue. Here are the steps I took:

    1. Browsed to "WHM >> Module Installers >> PHP Pecl".

    2. Selected "ea-php56" as the PHP version.

    3. Searched for "xdebug" and installed it.

    4. Ran the following command and confirmed it was installed:

    Code:
    # /opt/cpanel/ea-php56/root/usr/bin/php -v
    PHP 5.6.33 (cli) (built: Jan 23 2018 14:58:01)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
        with Xdebug v2.5.5, Copyright (c) 2002-2017, by Derick Rethans
    Do you see the same result when using the "/opt/cpanel/ea-php56/root/usr/bin/php -v" command instead of just "php -v"? Are you using the latest EA4 packages (e.g. no updates are available when running the "yum update" command)?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. nosajix

    nosajix Active Member

    Joined:
    Jul 30, 2005
    Messages:
    30
    Likes Received:
    1
    Trophy Points:
    158
    well ill be... I didn't even see the module installer - was triing everthing from terminal. none the less your suggestion worked Thank you very much. Should have come here first!
     
    cPanelMichael likes this.
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,856
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm glad to see that helped. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. nosajix

    nosajix Active Member

    Joined:
    Jul 30, 2005
    Messages:
    30
    Likes Received:
    1
    Trophy Points:
    158
    ok, sorry to bother again but i am twice as confused now. my phpinfo shows xdebug no problem however I still get the message:

    Code:
    /opt/cpanel/ea-php56/root/usr/bin/php -v
    Xdebug requires Zend Engine API version 220121212.
    The Zend Engine API version 220131226 which is installed, is newer.
    Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
    
    PHP 5.6.33 (cli) (built: Jan 23 2018 14:58:46)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
        with Xdebug v2.5.5, Copyright (c) 2002-2017, by Derick Rethans
    
    Is it possible that there are two references to loading xdebug?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,856
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Try uninstalling the PECL module via "WHM >> Module Installers" and then review the steps you took when you attempted to manually configure/install it. Did you setup any custom .ini files or entries in the php.ini file that may not have been removed?

    Thank you.
     
    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