Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to undefined function http_build_url() #10

Closed
akash3456 opened this issue Aug 27, 2015 · 9 comments
Closed

Call to undefined function http_build_url() #10

akash3456 opened this issue Aug 27, 2015 · 9 comments

Comments

@akash3456
Copy link

I keep getting this message even though i have installed all necessary dependancies.

@akash3456
Copy link
Author

so i get the following error message when i try to install a previous version of pecl_http1.7.5:

Makefile:191: recipe for target 'http_message_object.lo' failed
make: *** [http_message_object.lo] Error 1
ERROR: `make' failed

@remicollet
Copy link
Collaborator

According to your previous post, you are using PHP 5.6.

pecl_http 1.7.x IS NOT compatible with this version.
So definitively, you need to update your application to be compatible with pecl_http 2.x

@akash3456
Copy link
Author

what version should i install? would appreciate it if you didnt close the issue when it hasnt been resolved.

@remicollet
Copy link
Collaborator

I close this, as this is NOT an pecl_http issue.

pecl_http version 1.x is compatible with php <= 5.5
pecl_http version 2.x is compatible with php >= 5.3

@akash3456
Copy link
Author

You have just said that http2.x does not work with php 5.6 in the previous post.

@akash3456
Copy link
Author

my version was 2.0 to start with and i got the undefined function error in the browser.

@remicollet
Copy link
Collaborator

You have just said that http2.x does not work with php 5.6 in the previous post.

Please read it again.

my version was 2.0 to start with and i got the undefined function error in the browser.

Yes, because the API have change between 1.x and 2.x
So definitively, your code expect v1. So you need to fix your code.

@akash3456
Copy link
Author

i have just installed 1.0.0 and i get this again :
Makefile:191: recipe for target 'http_message_object.lo' failed
make: *** [http_message_object.lo] Error 1
ERROR: `make' failed

@remicollet
Copy link
Collaborator

Sorry I don't how how to explain it more clearly "pecl_http 1..x IS NOT compatible with PHP version 5.6".

I give up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants