Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

docker php cli max execution time is set to 0

EnzoK answered on February 17, 2023 Popularity 2/10 Helpfulness 1/10

Contents


More Related Answers

  • php code to increase maximum execution time
  • php max_execution_time
  • max_execution_time php
  • get max_execution_time php
  • max_execution_time for php.ini
  • php maximum execution time

  • docker php cli max execution time is set to 0

    0

    It's not a bug, it's a feature :)

    Out of the box, PHP puts the max_exection_time setting to 0 in CLI. This is part of the doc: http://php.net/manual/en/info.configuration.php#ini.max-execution-time

    The parameter should work ok in Apache or PHP-FPM though.

    In CLI mode, you can still set it manually in your PHP script as explained here: https://stackoverflow.com/questions/5874950/set-max-execution-time-in-php-cli

    https://github.com/thecodingmachine/docker-images-php/issues/101#issuecomment-445227244

    Popularity 2/10 Helpfulness 1/10 Language php
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 17 2023
    EnzoK
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.