Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 02-18-2008, 07:41 AM
Sandro Sandro is offline
Hatchling Croc
 
Join Date: Feb 2008
Posts: 27
Default max_execution_time

Hello,
I'm not a costumer yet.

I read that your max_execution_time on shared servers are set to 30 seconds. Does this setting afflict the upload time? If so I guess it's impossible to reach even 2MB with a normal adsl 320kbit upload connection.

Is that correct?
Reply With Quote
  #2  
Old 02-18-2008, 07:48 AM
Serra's Avatar
Serra Serra is offline
Veteran Croc
 
Join Date: Feb 2005
Location: Orange Park, FL
Posts: 5,073
Default Re: max_execution_time

If you are doing uploads that would could exceed any of the three restraints on PHP/Form uploads, then yes, it would.

You may use Java uploads that are not restricted or ftp as well.
__________________
Six stages of Dedi Ownership

Fashionable broken link
image included
Reply With Quote
  #3  
Old 02-25-2008, 11:38 AM
uruguay234 uruguay234 is offline
Hatchling Croc
 
Join Date: Jan 2008
Posts: 5
Default Re: max_execution_time

What about the set_time_limit() function ?
We are allowed to use that, right ?

Quote:
Description

void set_time_limit ( int $seconds )
Set the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the php.ini.


When called, set_time_limit() restarts the timeout counter from zero. In other words, if the timeout is the default 30 seconds, and 25 seconds into script execution a call such as set_time_limit(20) is made, the script will run for a total of 45 seconds before timing out.
Reply With Quote
  #4  
Old 03-02-2008, 05:58 PM
Sandro Sandro is offline
Hatchling Croc
 
Join Date: Feb 2008
Posts: 27
Default Re: max_execution_time

is it possible?
Reply With Quote
  #5  
Old 03-07-2008, 10:46 PM
James P James P is offline
Baby Croc
 
Join Date: Feb 2007
Posts: 74
Default Re: max_execution_time

I modify that as needed in php.ini. I am on a reseller account, so I am not sure if shared accounts have the same ability; I suspect they do.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 02:18 PM.