Installing XDebug with EA4
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 :).
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)
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 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/
Hello, You'd use a command like this, since the path is /opt/cpanel/ea-php70/root/usr/bin/php-config:./configure --with-php-config=/opt/cpanel/ea-php71/root/usr/bin/php-config
Thank you.0
Please sign in to leave a comment.
Comments
1 comment