简体   繁体   中英

Changing .htaccess in wordpress file gives an internal server error

So i'm working with the wpmudev snapshot plugin which gives an 'max_execution_time' warning (30 is to low), when I update this to 180 by adding

php_value max_execution_time 180

to the .htaccess file (wp root) my site gives an internal server error. Is there an reason why this happens? And how can I fix this?

your code is correct and refer below scenario,

  1. Check with your error log and if it is a PHP error try to troubleshoot that.

  2. what is your server engine, because Apache engine only have .htaccess file others like nginx not support .htaccess file

  3. If not got solution check with your hosting before that make sure your site not have an issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM