• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Plesk Obsidian 18.0.29 Update #3 php settings help needed

plesknoobie123

New Pleskian
Hi,

I have changed the max_execution_time to 300 but when importing a theme in WordPress I get the following error: "Maximum execution time of 29 seconds exceeded in /var/www/vhosts/mysite.com/subdomain.mysite.com/wp-includes/class-wp-image-editor.php on line 489"

I have even changed the settings in the php.ini in Plesk and have checked the php.info in Plesk and reflects the settings and ever restarted the service but still the same issue.

What else I can do to resolve this please?

Thanks in advance.
 
Hi,

I have changed the max_execution_time to 300 but when importing a theme in WordPress I get the following error: "Maximum execution time of 29 seconds exceeded in /var/www/vhosts/mysite.com/subdomain.mysite.com/wp-includes/class-wp-image-editor.php on line 489"

I have even changed the settings in the php.ini in Plesk and have checked the php.info in Plesk and reflects the settings and ever restarted the service but still the same issue.

What else I can do to resolve this please?

Thanks in advance.
Have also checked the php.ini file here and it reflects the changed PHP parameters but still, at WordPress, it gives the 29/30 second error: /opt/plesk/php/7.3/etc/php.ini

*Using PHP-FPM 7.3.21 for subdomain and main domain.

I have just tried the exact same steps and the issue persists on the main domain too.
 
Just for clarification, did you change it with this method? Website shows Error 504: Maximum execution time of 30 seconds exceeded
Hi IgorG,

Thanks for the reply.

Yes, initially that is the way I changed it as I had found that article after searching for it, then repeated my task but the execution time error happened again.

Then I changed it through the Home > Tools & Settings > php.ini editing the values and the error persisted.

I even downloaded a plugin in WordPress to change the php.ini values as well as creating it manually in the WordPress admin folder but no joy.

I have checked the php.info page globally and for the domain level and the changes, I made reflect there.

What else can I try?
 
Just to ensure that you don't have this value set in a script, have you tried running an execution time loop outside of WordPress to ensure that it is environmental?
 
Just to ensure that you don't have this value set in a script, have you tried running an execution time loop outside of WordPress to ensure that it is environmental?
Hi and thanks for the reply.

That is interesting and never thought of that.

After searching for a script, I found this: PHP: set_time_limit - Manual and this How can I find my php.ini on wordpress?

Do I just copy either code in a newly created .php file on a newly created domain which I have and run it in the browser?

Sorry for the noob questions but just don't want to mess anything up.
 
Back
Top