belick Posted January 16, 2008 Share Posted January 16, 2008 I am tring to use: fsockopen() and I am geting an error to enble it in php.ini. and I did. I think I need to compile it, how do I do that? I have php 5 on centos. Thanks Quote Link to comment Share on other sites More sharing options...
trq Posted January 16, 2008 Share Posted January 16, 2008 fsockopen is built into php directly, not as part of any extension. What is the exact error you are getting? Quote Link to comment Share on other sites More sharing options...
belick Posted January 17, 2008 Author Share Posted January 17, 2008 Unable to find the socket transport "http" - did you forget to enable it when you configured PHP? (34696247) Quote Link to comment Share on other sites More sharing options...
trq Posted January 17, 2008 Share Posted January 17, 2008 I think you simply need enable url wrappers in your php.ini. Turn on allow_url_fopen. Quote Link to comment Share on other sites More sharing options...
belick Posted January 17, 2008 Author Share Posted January 17, 2008 its on and also in the phpinfo() Quote Link to comment Share on other sites More sharing options...
trq Posted January 17, 2008 Share Posted January 17, 2008 Have you made sure to restart the server after making any changes? I can't see what else it might be. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.