PHP does not load http.so

I upgraded my Mac to OS X Mavericks (10.9) and again had to install PHP along with PECL OAuth.

When I verify my installation with the php -v command, I get an error message:

PHP Warning: starting PHP: unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20100525/http.so' - dlopen (/ usr / lib / php / extensions / no-debug- non-zts-20100525 / http.so, 9): Symbol not found: _php_persistent_handle_abandon Link from: /usr/lib/php/extensions/no-debug-non-zts-20100525/http.so Expected in: flat namespace in / usr / lib / php / extensions / no -debug-non-zts-20100525 / http.so on Unknown on line 0 PHP 5.4.17 (cli) (built: August 25, 2013 02:03:38)

Has anyone else come across this? Any idea what could be the problem?

+8
php macos pecl-oauth
source share
2 answers

I worked ... had to install pecl_http-1.7.6.

# 1. Uninstall the current version with this command: pecl uninstall pecl_http # 2. Install an older version, at least until latest is figured out on Mac OSX 10.8+ pecl install pecl_http-1.7.6 
+12
source

I fixed this problem by editing php.ini.

My pecl install pecl_http mixed it and put some extension= lines on top of my php.ini in the wrong order. http.so should be below propro.so and raphf.so according to dependencies .

+4
source

All Articles