Skip to main content

Problem on max_execution_time

Comments

8 comments

  • Eminds
    make sure you are editing proper php.ini, there should be a seperate php.ini for your prestashop website.
    0
  • scclay
    Like above, you'll want to make sure you're editing the correct php.ini. You can verify the .ini file your site is loading with a phpinfo page How can I create a phpinfo.php page? (mediatemple.net/community/products/dv/204643880/how-can-i-create-a-phpinfo.php-page) for quick instructions and looking for the Loaded Configuration File. That's the php.ini you'll need to edit to increase any php values. It's also possible your hosting provider sets their own PHP limits that cannot be exceeded.
    0
  • Alessandro Ferrara
    No, everything is configured correctly, or at least that looks like it. The site is on a dedicated server. Here you find the php info - Removed -
    0
  • cPanelMichael
    On my server I set the value of max_execution_time to 500 and I did a thousand attempts but on a prestashop site scripts are blocked to 30s.

    Can you browse to the MultiPHP INI Editor option in cPanel for this account and verify the max_execution_time value is configured to 500? Thank you.
    0
  • Alessandro Ferrara
    Yes, I have verified that some many times but prestashop site stop the script after 30s. So that I don't understand! You can tell me why that? Thank you so much
    0
  • Infopro
    Yes, I have verified that some many times but prestashop site stop the script after 30s.

    Have you bothered to check the prestashop forums at all? prestashop.com/forums/topic/312347-setting-max-execution-time/
    0
  • linux4me2
    The OP said he's using PHP-FPM, so it's possible the max_execution_time in his MutilPHP INI Editor is being ignored, and max_execution_time needs to be set either globally or for the site in
    0
  • cPanelMichael
    Hello, Yes, with PHP-FPM, you have to manually edit the configuration. Here's a thread with instructions on how to do this: MultiPHP INI Editor Values Not Saved for PHP-FPM Sites Thank you.
    0

Please sign in to leave a comment.