Mobile app version of vmapp.org
Login or Join
Welton855

: Dreamhost script killed I'm using Dreamhost. In one of my scripts I need to gather contents of url (using file_get_contents). There are 9 sites, 8 of them are ok but one is very slow. It

@Welton855

Posted in: #Dreamhost #Php #WebHosting

I'm using Dreamhost. In one of my scripts I need to gather contents of url (using file_get_contents). There are 9 sites, 8 of them are ok but one is very slow. It tooks 10~30sec. to connect.

As you would know scripts running more than ~5 seconds are killed by Dreamhost happy killer. So I cant gather this site.

Any suggestions?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Welton855

1 Comments

Sorted by latest first Latest Oldest Best

 

@Michele947

Sorry about mass, The error was in regexp, My laptop could handle but dreamhost caused problem. I changed it to basic str_replace and now it survives.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme