By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,827 Members | 813 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,827 IT Pros & Developers. It's quick & easy.

where should i modify in php.ini after pecl_http installed

P: 1
I'm encountering one problem with pecl_http, Would you please help me out?

I have installed apache1.3.7 + php 5.2.2, and have installed pecl_http use pear, but I'm not sure which items should be modified in php.ini

I have tried to modifiy 2 items in php.ini and restarted the server,

extension_dir = usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/

extension=http.so

But I still get error as 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

Would you please help to have a look at this problem, and please let me know, how I can solve this problem. Thanks!
Jun 7 '07 #1
Share this Question
Share on Google+
2 Replies


10K+
P: 13,264
I'm encountering one problem with pecl_http, Would you please help me out?

I have installed apache1.3.7 + php 5.2.2, and have installed pecl_http use pear, but I'm not sure which items should be modified in php.ini

I have tried to modifiy 2 items in php.ini and restarted the server,

extension_dir = usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/

extension=http.so

But I still get error as 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

Would you please help to have a look at this problem, and please let me know, how I can solve this problem. Thanks!
Moved to Apache forum .
Jun 7 '07 #2

Motoma
Expert 2.5K+
P: 3,235
Does the pecl_http extension have any dependencies? This might be the source of your error.
Jun 12 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.