|
Post by mimjannat on Jan 13, 2024 5:50:08 GMT -5
To make it easier for you, we are going to add some directives at the end of the file to increase the PHP maximum execution time. Following are the steps to do it properly- Access the website’s root directory that contains the wp-config.php file. In cPanel servers, it is under publinhtml. You will find your .htaccess file. With FTP clients like Filezilla, you will find your .htaccess file in the Remote Site section on the right-hand side. After locating it, right click and open View edit option to open the file within a text editor. After opening it, add the following code at the end of the file- phpvalue memorylimit M phpvalue uploadmaxfilesize M phpvalue postmaxsize M phpvalue maxexecutiontime phpvalue maxinputtime Finally Save the file to store the changes made and then restart the C Level Email List Apache service service apache restart That’s it, you have successfully made the changes. If you still get the same error, try increasing the value from to . Conclusion As explained, the WordPress maxexecutiontime error occurs due to slow PHP scripts. When you try to upload a big file like the occasional WordPress version update, WordPress plugins or templates, you are prone to encounter this error. Hopefully this article helped you understand what exactly this error is and how it can affect your WordPress website. Moreover, this article further explains three ways to increase the maximum execution time to remove this error using wp-config.php, php.ini, and .htaccess file. For more such tutorials, subscribe to our blog. It is a pretty common type of error.
|
|