Fatal error: Maximum execution time of 90 seconds exceeded in c:\websites\breakbeatit303\breakbeat.it\smf forum\index.php on line 35
Hi there,
i get the above error message when uploading files that need more than 90 seconds for the operation.
THe server support has sent to me a solution that does not work and appear to be not correct:
"
ini_set default_socket_timeout "X"
where X is the time in seconds you want for the time out. Try adding this line to the script that has the upload.
"
I don't have access to php.ini file, but i know that it's possible removing timeout inserting some line.
What i don't know is on wich file and what to insert?
Do You know the solution?
Thank You in advance
Salvatore
If you're using SMF, you want to open Settings.php and add to it:
@set_time_limit(300);
Just before the ?> at the end.
If your host has allowed you to use .htaccess to change settings, you can upload a new text file, and rename it on the server to .htaccess. It should contain:
php_value max_input_time "160"
php_value max_execution_time "160"
And if you really want also this line:
php_value default_socket_timeout "12"
-[Unknown]
Thank You unknown,
i've asked easycgi support for having access to te file .htaccess, because the changes to settings.php does not affect the problem.
Salvatore