I am trying to use the http_get function. But I get a undefined reference error. I understands that this means the function can not be found. However I do no know how to fix this? Could somebody help?
Cheers
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
O.k so I sorted it out.
I used pecl:
Unfortunately this gave me an error which wanted me to install libcurl. Thus I installed it with:
After that I tried pecl again:
It work, but I had to add:
in my php.ini file.
After all those steps it worked.
To me it seems that everybody knows that this is what you should do to fix it. It stumps me that nobody has actually documented it.