title: phpize Can't find PHP headers in /usr/include/php
body: <p>stack: PHP 5.4.23, php-fpm, nginx 1.4.x, centos 6.5</p>
  
  <p>I was trying to install xdebug, had to run phpize command.</p>
  
  <p>I have php5-devl already installed and pecl command works</p>
  
  <p>When I ran the command, it gave me the following error output:</p>
  
  <pre><code># phpize
  Can't find PHP headers in /usr/include/php
  The php-devel package is required for use of this command.
  </code></pre>
  
  <p>How to fix this error?</p>