How to increase wordpress site’s Timeouts setting on a LNMP server? ]
-
I am using WordPress on an LNMP server. While I import CSV into woo-commerce, it always says server terminated the process.
I have tried to add this on wp-config.php
set_time_limit(600);
/* That’s all, stop editing! Happy publishing. */
Also the following below my WordPress .htaccess file# END WordPress
php_value max_execution_time 600
I then went to this folder to change PHP.ini file as below /usr/local/php/etc; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time = 600
Then I restarted my VPS, it seems no change. This server is 4 core 8G memory.Would anyone give some tips on how to solve this timeout issue?
- The topic ‘How to increase wordpress site’s Timeouts setting on a LNMP server? ]’ is closed to new replies.