note 114021 deleted from http.install by sobak
| From: | sobak@php.net | Date: | Sun, 04 Dec 2016 07:25:49 +0000 |
| Subject: | note 114021 deleted from http.install by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208095@lists.php.net to get a copy of this message | ||
Note Submitter: ross dot carver at avantalytics dot com
----
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