I updated my Mac to OS X Mavericks (10.9) and have had to setup PHP again, along with PECL OAuth.
When I verify my install with the command php -v, I am getting an error:
PHP Warning: PHP Startup: 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 Referenced 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 in Unknown on line 0 PHP 5.4.17 (cli) (built: Aug 25 2013 02:03:38)
Has anyone else come across this? Any idea what the issue could be?
The most common reason for a blank page is that the script is missing a character. If you left out a ' or } or ; somewhere, your PHP won't work. You don't get an error; you just get a blank screen.
The answer is in fact so simple you would want to bang your head: Simply change the file extension from ". html" to ". php"!!! Remember that you can build a webpage entirely out of PHP and all JavaScript and stuff built off JavaScript like, JQuery, bootstrap, etc will work.
I worked it out....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
I have fixed this issue by editing php.ini.
My pecl install pecl_http
mixed it up and put few extension=
lines on top of my php.ini in wrong order. The http.so
has to be below propro.so
and raphf.so
according to dependencies.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With