php.ini max_execution_time limiting no overrides

Discussion in 'PHP' started by kjavitz, Mar 19, 2013.

  1. kjavitz

    kjavitz New Member

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


    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:
    local max time 1800 and master value 30 so which ones is it using? Did I adjust php.ini correctly?
  2. webizen

    webizen New Member

    you can disable .htaccess.


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

Share This Page