Answer the question
In order to leave comments, you need to log in
How to set max_execution_time on DigitalOCean?
It is worth Vesta
This is some kind of hell. I do a restart.
Already uploaded htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_input_time 300
php_flag max_execution_time 300
</IfModule>
# END WordPress
upload_max_filesize = 100M
post_max_size = 100M
memory_limit = 200M
max_input_time = 300
max_execution_time = 300
Answer the question
In order to leave comments, you need to log in
Hello!
why in .htaccess php_flag max_execution_time 300
php_flag and not php_value ??
well, you can also try it directly from the code, in the script
<?php
ini_set('max_execution_time', 300);
echo ini_get('max_execution_time'); // 100
?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question