unable installing php extensions from source
<p>I installed php 5.3.10 from source and it runs fine. But when i tried to install extensions from source packages like <code>xdebug</code> and <code>mongo</code> i get the following output after running <code>phpize</code></p>

<pre><code>PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
</code></pre>

<p>Notice that these are just warnings not failure. So i continued and used <code>./configure</code> and then <code>make</code> and then <code>make install</code>. A message came like this </p>

<pre><code>Installing shared extensions:     /usr/local/lib/php/extensions/debug-zts-20090626/
</code></pre>

<p>I checked in the above directory and the extension's shared object(.so) was there. So i added the path to my <code>php.ini</code> and restarted apache. <strong>But the extension is not installed.</strong></p>

<p>I googled it and found that the warnings come because the <code>phpize</code>  path is not correct. I checked this by
<code>phpize --help</code> and it shows the path <code>/usr/local/bin/phpize</code></p>

<p>also php-config version is 5.3.10
<code>php-config -v</code> and it shows <code>version 5.3.10</code></p>

<p>Whats wrong and what is meant by those warnings?</p>

<p><strong>EDIT:</strong>
When i try to install these extension from <code>pecl</code> i can install them successfully and i can see them installed in the output of <code>phpinfo()</code></p>

<p>But i cant install <code>mcrypt</code> via pecl so i need some way of installing extensions using <code>phpize</code></p>
