ID: 31486 Updated by: [EMAIL PROTECTED] Reported By: tim dot lokot at printsoft dot com -Status: Open +Status: Bogus Bug Type: *Compile Issues Operating System: Redhat PHP Version: 5.0.2 New Comment:
You try to run with wrong phpize. Use the one you installed in the /usr/local/php5/bin Previous Comments: ------------------------------------------------------------------------ [2005-01-11 04:58:06] tim dot lokot at printsoft dot com Description: ------------ I've been trying to test PHP5 on my PHP4 webserver and ended up running PHP5 as a CGI with PHP4 as an Apache module. PHP4 was installed via RPM. I used this command to configure PHP5: './configure' '--prefix=/usr/local/php5' '--with-mysql=/usr/include/mysql/' '--with-config-file-path=/usr/local/lib/php5' '--includedir=/usr/local/php5/include' '--oldincludedir=/usr/local/php5/include' PHP5 seems to run fine until I try to add any extensions to it from PECL. Then the pear executable tells me that it has the wrong API in it. So now whenever it tries to install any PECL modules, I get API errors when PHP tries to load them. >From what I can tell I'm either (hopefully) missing a configure option, or the pear compile is finding the php4 headers by default and using them instead of the php5 ones. Actual result: -------------- The php5 pear executable returns this: Configuring for: PHP Api Version: 20020918 Zend Module Api No: 20020429 Zend Extension Api No: 20021010 phpinfo() returns this: PHP API 20031224 PHP Extension 20040412 Zend Extension 220040412 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31486&edit=1