LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > php.ini max_execution_time limiting no overrides

Reply
 
Thread Tools Display Modes
  #1  
Old 03-19-2013, 03:07 PM
kjavitz kjavitz is offline
New Member
 
Join Date: Mar 2013
Posts: 3
Default php.ini max_execution_time limiting no overrides

I'm trying to disable clients from being able to set max_execution_time via php using:

set_time_limit()

or .htaccess using:

php_value max_execution_time

In php.ini I changed the following lines:
safe_mode_protected_env_vars = max_execution_time
disable_functions = set_time_limit

but I want to make sure it's working the phpinfo shows: http://kevintestmag.rent-manager.com...phpinfo123.php
local max time 1800 and master value 30 so which ones is it using? Did I adjust php.ini correctly?
Reply With Quote
  #2  
Old 03-19-2013, 06:00 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
you can disable .htaccess.

or

put "php_admin_value max_execution_time xx" in httpd.conf to disallow override.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:23 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.