Hi,
I was trying to install XDebug on my WHM server following some guides in the internet. However all of them are outdated because they were only compatibel with EA3.
What I have done so far:
I am stuck at:
6. ./configure -> configure: error: Cannot find php-config. Please use --with-php-config=PATH
I have tried specifying my path as desired:
./configure --with-php-config=/opt/cpanel/ea-php71/root/etc/
=> Response: Exactly the same error
Can someone guide me what I am doing wrong? I am willing to update this thread so other googlers can read here how to install Xdebug on EA4 environments
.
I was trying to install XDebug on my WHM server following some guides in the internet. However all of them are outdated because they were only compatibel with EA3.
What I have done so far:
Code:
1. cd /usr/bin
2. wget https://xdebug.org/files/xdebug-2.5.1.tgz
3. tar -xzvf xdebug-2.5.1.tgz
4. cd xdebug-2.5.1
5. /opt/cpanel/ea-php71/root/usr/bin/phpize (I only need XDebug for PHP 7.1)
6. ./configure -> configure: error: Cannot find php-config. Please use --with-php-config=PATH
I have tried specifying my path as desired:
./configure --with-php-config=/opt/cpanel/ea-php71/root/etc/
=> Response: Exactly the same error
Can someone guide me what I am doing wrong? I am willing to update this thread so other googlers can read here how to install Xdebug on EA4 environments
Last edited by a moderator: