Post 5.2.9 problems with pecl_http

Support/Development for PHP
ServintJim
New Forum User
New Forum User
Posts: 2
Joined: Wed Mar 04, 2009 1:10 pm

Post 5.2.9 problems with pecl_http

Unread post by ServintJim »

Hi,

We have a client that has been running the pecl_http extension for some time using the ART 5.2.x PHP rpms. Typically this has to be recompiled on version updates. When recompiling with the latest 5.2.9 RPMs, the following errors occur during a ./configure:

Code: Select all

checking for ext/event support... PHP Warning:  PHP Startup: http: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0
no
checking for event.h... not found
configure: WARNING: continuing without libevent support
checking for ext/hash support... PHP Warning:  PHP Startup: http: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0
yes
checking for php_hash.h... /usr/include/php/ext/hash
checking for ext/iconv support... PHP Warning:  PHP Startup: http: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0
yes
checking for ext/session support... PHP Warning:  PHP Startup: http: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0
yes
The extension will compile, but when loading it into PHP, the following occurs:

Code: Select all

PHP Warning:  PHP Startup: http: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0
This extension works fine on the 5.2.8 RPMs. I have also tried multiple versions of the extension, with the same results. It could possibly be an issue with the php-devel package. Does anyone have any suggestions as to a fix?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Post 5.2.9 problems with pecl_http

Unread post by scott »

what version of pecl_http are you using?
ServintJim
New Forum User
New Forum User
Posts: 2
Joined: Wed Mar 04, 2009 1:10 pm

Re: Post 5.2.9 problems with pecl_http

Unread post by ServintJim »

I've tried the latest beta 1.7.0b1, and 1.5.6 which I consider "stable" (the later versions have had problems in the past).
Post Reply