note 114021 added to http.install
| From: | ross dot carver at avantalytics dot com | Date: | Wed, 01 Jan 2014 21:10:35 +0000 |
| Subject: | note 114021 added to http.install | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198068@lists.php.net to get a copy of this message | ||
on a amazon linux install with php54, you'll get errors using pecl_http 2.03 from the command
line unless you add the following to your php.ini file:
extension=json.so
extension=raphf.so
extension=propro.so
extension=http.so
also make sure chmod ug+x http.so (and any of the other extensions for that matter).
If you do this and get a warning about json.so being already loaded - its likely that there is a
separate ini file for json in /etc/php.d/json.ini where this line is included as well. It is
necessary that you comment out line in json.ini as it is being called second and causing the warning
environment - php-fpm / nginx
HTH
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/http.install.php
Edit -- https://master.php.net/note/edit/114021
Del: integrated -- https://master.php.net/note/delete/114021/integrated
Del: useless -- https://master.php.net/note/delete/114021/useless
Del: bad code -- https://master.php.net/note/delete/114021/bad+code
Del: spam -- https://master.php.net/note/delete/114021/spam
Del: non-english -- https://master.php.net/note/delete/114021/non-english
Del: in docs -- https://master.php.net/note/delete/114021/in+docs
Del: other reasons-- https://master.php.net/note/delete/114021
Reject -- https://master.php.net/note/reject/114021
Search -- https://master.php.net/manage/user-notes.php