• Resolved aeminium01

    (@aeminium01)


    Hi

    I am using W3 Total Cache in a online store with a product synchronization plugin but I’ve noticed a weird problem with our “max execution time” value that is set to 3600 in php.ini and htaccess

    If W3 Total Cache plugin is active the “max execution time” value changes to 600 although it remains 3600 in php.ini and htaccess. And if I check the Woocommerce status, sometimes it shows 600, and after some minutes it shows 3600, and then again 600. If I disable W3 Total Cache, the “max execution time” stays always at 3600 that is the value that I’ve set in php.ini and htaccess.

    Can you help me?

    Best regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @aeminium01

    Thank you for reaching out and I am happy to help!
    Can you please share where are you seeing the value of 600 when the W3TC is active? Are you saying that the plugin is changing the php.ini file values and the .htaccess?
    Can you please also check if the wp-config.php has the set_time_limit();?

    Please let me know exactly how and where you are seeing this so I can understand the problem better and assist you with this.

    Thanks!

    Thread Starter aeminium01

    (@aeminium01)

    Hi

    I’ve already insert set_time_limit() in wp-config.php with no success.

    As you can see in the Woocommerce status:

    Server Info: Apache
    PHP Version: 8.1.22
    PHP Post Max Size: 1 GB
    PHP Time Limit: 600
    PHP Max Input Vars: 10000
    cURL Version: 7.87.0
    OpenSSL/1.1.1p

    Active Plugins (20)
    
    BigBuy Dropshipping Connector for WooCommerce: por BigBuy – 1.9.6
    Classic Editor: por WordPress Contributors – 1.6.3
    Classic Widgets: por Contribuidores do WordPress – 0.3
    Code Snippets: por Code Snippets Pro – 3.5.0
    Contact Form 7: por Takayuki Miyoshi – 5.8
    GTM4WP: por Thomas Geiger – 1.18.1
    Elementor: por Elementor.com – 3.16.3
    Flexible Checkout Fields: por WP Desk – 3.5.13
    Google Listings and Ads: por WooCommerce – 2.5.6
    Loco Translate: por Tim Whitlock – 2.6.6
    Loginizer: por Softaculous – 1.8.1
    Moloni: por moloni.pt – 4.1.3
    Multibanco, MB WAY, Cart?o de crédito e Payshop (IfthenPay) para WooCommerce: por PT Woo Plugins (by Webdados) – 8.5.0
    Products Visibility by User Roles: por Addify – 1.3.2
    Safe SVG: por 10up – 2.2.0
    W3 Total Cache: por BoldGrid – 2.4.1
    WooCommerce PayPal Payments: por WooCommerce – 2.2.2
    WooCommerce: por Automattic – 8.1.1
    Woodmart Core: por – 1.0.40
    Yoast SEO: por Team Yoast – 21.2

    As you can see max execution time/php time limit is 600, and if I disable W3 Total Cache the value turns to 3600 that is the value configured in php.ini and htaccess.

    Also in the template status we have 600 instead of 3600, and also in the plugin that we use for products synchronization.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @aeminium01

    Thank you for your feedback.

    Usually, the PHP INI settings are set in one place —?.htaccess?or?.ini?files; usually not both.
    If Apache is using?mod_php?(Apache Handler), then?.htaccess?can be used.? An addon module may be able to be used to scan for?.ini?files and use them.
    If Apache is using a CGI-style handler, then?.ini?files are used.
    It all depends on the web server configuration.

    You could create a?phpinfo.php?file containing?<?php phpinfo();?to show the PHP configuration outside of WordPress.

    Can you please also share which settings are enabled in the W3 Total Cache general settings and let me know if you changed the GC time or minify time to 600 in W3TC?

    Thanks!

    Thread Starter aeminium01

    (@aeminium01)

    Thanls for your reply.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘w3 total cache and max execution time’ is closed to new replies.