Answer the question
In order to leave comments, you need to log in
How to install pecl_http on MAMP?
Hey!
We ourselves, in php, are not local. We came from Objective-C, but there was a need to put the pecl_http extension on the existing MAMP with localhost. And if the hands from the buttocks area do not reach the required parameters, if they are something else, but for the 2nd day I have been trying to do this to no avail. Decided to ask you for help.
If possible, explain everything in as much detail as possible, since I have already tried everything that can be found in Google. Here's how I try to do it:
install autoconf (already installed) install
pear (also installed)
go to /Applications/MAMP/bin/php/php5.6.2
do sudo pecl install pecl_http
during installation specify folders for zlib, libcurl, libevent by /Applications/MAMP/Library/lib
I grab the error error: Please install pecl/raphf and activate extension=raphf.so in your php.ini I'm
nervous I'm tearing
my hair out I
'm looking for it in Google I'm
starting over.
Of course, this is due to the fact that I do not have enough experience in php and working with the terminal. Therefore, I ask you to explain how to solve this problem.
Answer the question
In order to leave comments, you need to log in
And it’s stupid to download the extensions and upload them, and then register them in php.ini (After all, he writes to you so that you don’t forget to activate a specific extension in php.ini)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question