Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

file_get_contents - failed to open stream (1 reply)

$
0
0
Hi all,

I've been trying to find a solution for this problem all afternoon, but can't seem to fix it. I'm trying to access files through file_get_contents but keep being shown the following error:

failed to open stream: No connection could be made because the target machine actively refused it

I'm just trying to read [www.example.com] - so there shouldn't be any problems.

Does anyone know what could cause this? I've made sure the allow_url_fopen is set to On in php.ini and checked other settings, but still keep getting the error.

Could anyone help please?

Thanks,
Mike

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>