View Single Post
Old 11-01-2010, 03:39:40 PM     #1 (permalink)
Betty Boop
Junior Member
 
Join Date: Jan 2010
Posts: 14
Betty Boop is on a distinguished road

Time out when running script

Hi,

I have been working on some php coursework and I had it doing exactly what I wanted it to do for the moment. Then, I went to run the script like I had been and I get the error:

Warning: file_get_contents(http://www.deanclatworthy.com/imdb/?q=mamma+mia) [function.file-get-contents]: failed to open stream: HTTP request failed! in C:\Program Files\EasyPHP5.3.0\www\New Folder\trial.php on line 24

Fatal error: Maximum execution time of 60 seconds exceeded in C:\Program Files\EasyPHP5.3.0\www\New Folder\trial.php on line 24

So, I looked into it and I found that if I changed the max_execution_time to a longer time it shouldn't do this. I changed the max_execution_time = 120 in the php.ini file and it still comes up with the error stating 60 seconds when I have changed it to 120. I am using Easyphp as my server, it uses Apache so I restarted Apache once I had made changes and this does not make any difference.

Does anyone know why this error would suddenly happen and how to solve it?
Betty Boop is offline