Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-05-10, 14:33:36

Author Topic: How to install xdebug  (Read 2384 times)

0 Members and 1 Guest are viewing this topic.

Offline azielazny

  • Junior Member
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
How to install xdebug
« on: 2016-06-27, 01:39:54 »
I'm trying to install xdebug, but I have a problem with php-devel. I use multiple php-fpm. This is my code:

[root@CentOS-68-64-minimal koszyk-test]# yum info php-devel | grep Version
Version     : 5.3.3
[root@CentOS-68-64-minimal koszyk-test]# php -v
PHP 5.4.45 (cli) (built: Sep  4 2015 15:40:18)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.18, Copyright (c) 2002-2015, by ionCube Ltd.
[root@CentOS-68-64-minimal koszyk-test]# sudo pecl install xdebug
downloading xdebug-2.4.0.tgz ...
Starting to download xdebug-2.4.0.tgz (264,832 bytes)
......................................................done: 264,832 bytes
76 source files, building
running: phpize
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
ERROR: `phpize' failed


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to install xdebug
« Reply #1 on: 2016-06-27, 06:37:15 »
For 'php branch', try 'yum install php54-devel php54-xdebug'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline azielazny

  • Junior Member
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: How to install xdebug
« Reply #2 on: 2016-06-27, 09:20:43 »
Thanks, 'yum install php54-devel' works fine!
Than I gave 'pecl install xdebug' and updated /etc/php.ini.

Everything works well

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.033 seconds with 19 queries.

web stats analysis