Jump to content

Recommended Posts

Just recently bought a server and installed everything needed but I noticed something that is really bothering me.

 

file_get_contents hangs down my scripts and sometimes curl is slower than what it was on a shared host... But the real question is if there is a way to tweak file_get_contents to run faster configuration wise and not just script wise. I mean my servers specs are no where close to weak... Xeon X3440 8GB ram, 100mbps uplink so its not like it would be because of the servers hardware being to weak.

 

It really is bothering me because file_get_contents worked so fast on my old host.

Link to comment
https://forums.phpfreaks.com/topic/196420-question-about-curl-file_get_contents/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.