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 Link to comment https://forums.phpfreaks.com/topic/86260-how-to-compile-fsockopen/ 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? Link to comment https://forums.phpfreaks.com/topic/86260-how-to-compile-fsockopen/#findComment-440896 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) Link to comment https://forums.phpfreaks.com/topic/86260-how-to-compile-fsockopen/#findComment-441463 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. Link to comment https://forums.phpfreaks.com/topic/86260-how-to-compile-fsockopen/#findComment-441776 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() Link to comment https://forums.phpfreaks.com/topic/86260-how-to-compile-fsockopen/#findComment-441837 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. Link to comment https://forums.phpfreaks.com/topic/86260-how-to-compile-fsockopen/#findComment-441926 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.