logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: .ht access question
Author
tk



Joined: 27 Jun 2006
Posts: 10

PostPosted: Mon 23 Oct '06 22:20    Post subject: .ht access question Reply with quote

Hi. I asked this question, or something similar, a few weeks ago but got sidetracked with a number of side projects before I could go anywhere with it. The issue is that I am trying to run a very large script on a shared apache server, so my only apache access is through .htaccess. I need to turn off the max execution time, and thought I had by putting the following into a .htaccess file on the server...

php_value max_execution_time 0

That is the entirity of my .htaccess file, no other lines, no nothing. Anyway, I dropped this in but I still get max execution errors after 60 seconds. Can anyone tell me why that might be?
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3058
Location: Hilversum, NL, EU

PostPosted: Mon 23 Oct '06 23:22    Post subject: Reply with quote

Did you set in httpd.conf:

AllowOverride All

See http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride
Back to top
tk



Joined: 27 Jun 2006
Posts: 10

PostPosted: Mon 23 Oct '06 23:36    Post subject: Reply with quote

It's a shared server from a hosting company. I don't have access to httpd.conf
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3058
Location: Hilversum, NL, EU

PostPosted: Mon 23 Oct '06 23:47    Post subject: Reply with quote

Big change that they do not allow you to set the php_value

Steffen
Back to top


Reply to topic   Topic: .ht access question View previous topic :: View next topic
Post new topic   Forum Index -> Apache