Php file max execution time 180 theme says 0

This topic has 2 replies, 2 voices, and was last updated 11 months ago ago by Tony Rodriguez

  • Avatar: Kissan
    Kissan
    Participant
    June 9, 2023 at 20:40

    Dear support,
    my php.ini file Max execution time = 180, but still theme detects 0 (zero) maximum execution time. please help me in this problem.

    1 Answer
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    June 10, 2023 at 07:22

    Hello, @Kissan,

    If you have set the max_execution_time directive in your php.ini file to 180, but the theme still detects a maximum execution time of 0, there could be a few reasons for this. Here are some steps you can take to troubleshoot and resolve the issue:

    1. Verify the correct php.ini file: Make sure you are editing the correct php.ini file that is being used by your PHP installation. You can create a simple PHP script with the phpinfo() function to check the loaded configuration file and confirm if it matches the file you are modifying.

    2. Restart web server: After making changes to the php.ini file, it’s important to restart your web server (e.g., Apache or Nginx) for the changes to take effect.

    3. Check PHP runtime configuration: Sometimes, PHP settings can be overridden at runtime by other configuration files or PHP scripts. Look for any instances where the max_execution_time setting might be modified. Check for local .htaccess files or any specific configuration files such as wp-config.php used by your CMS or framework.

    4. Consult hosting provider: If you are using shared hosting or a managed hosting service, there might be restrictions or overrides imposed by your hosting provider. Contact their support team and inquire if there are any limitations or specific configurations related to the maximum execution time.

    By following these steps, you should be able to track down the issue and ensure that your desired max_execution_time value is being recognized and used by your PHP environment.

    Best regards,
    8Theme’s Team

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘php file max execution time 180 theme says 0’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.