ID:               41636
 User updated by:  jason dot zhou at bertelsmann dot com dot cn
 Reported By:      jason dot zhou at bertelsmann dot com dot cn
 Status:           Bogus
 Bug Type:         *Extensibility Functions
 Operating System: SuSE Linux 9
 PHP Version:      5.2.3
 New Comment:

Hi Johannes,

Thanks a lot for your help!

You are right, I have too different version php installed. And now I
have reinstalled the server, and only installed Apache/2.2.4 (Unix)
PHP/5.2.3  pecl_http-1.5.3 

I have add the extension_dir=  and extension=http.so  to  the php.ini
file.

But it looks like the php didn't try to load the extension, also I use
/usr/local/php/bin/php -m command to test the load, I didn't see http in
the list. 

Would you please let me know where is the problem? What else should i
do?

Thanks!


Previous Comments:
------------------------------------------------------------------------

[2007-06-09 08:06:58] [EMAIL PROTECTED]

The so you're trying to laod was compiled using another PHP version.
Please make sure you're using the same PHP while compiling and using the
extension.

btw. you shouldn't use dl() but only extension=....so in your php.ini
file.

For future issues: Please report issues about PECL extensions at
http://pecl.php.net

------------------------------------------------------------------------

[2007-06-08 16:22:46] jason dot zhou at bertelsmann dot com dot cn

Description:
------------
I have installed 'pecl_http',and modified php.ini, the
extension_dir="/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/"
 and extension=http.so. But i still get errors like below:

Warning: dl() [function.dl]: Unable to load dynamic library
'/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/http.so' -
/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/http.so:
undefined symbol: OnUpdateLong in /data/int/index.php on line 9

Fatal error: Call to undefined function http_get() in
/data/cms/mx/frontend/cfrontcache.php on line 456


I have tried to change the extension_dir=/usr/local/php/modules/  but
from the phpinfo.php  it still the "/usr/.../no-debug...20060613"

Reproduce code:
---------------
Warning: dl() [function.dl]: Unable to load dynamic library
'/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/http.so' -
/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/http.so:
undefined symbol: OnUpdateLong in /data/int/index.php on line 9

Fatal error: Call to undefined function http_get() in
/data/cms/mx/frontend/cfrontcache.php on line 456



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41636&edit=1

Reply via email to