Error from PHP log: Invalid command 'php_flag'
Posted: Mon Sep 06, 2021 6:36 pm
I get this error:
Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
It brings 500 server error when I visit URL
It is caused by my htaccess which Was working until I installed myvesta. What should I edit in PHP.ini to make this work ( I don't want to mess things up)
Htaccess code:
Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
It brings 500 server error when I visit URL
It is caused by my htaccess which Was working until I installed myvesta. What should I edit in PHP.ini to make this work ( I don't want to mess things up)
Htaccess code:
Code: Select all
ErrorDocument 404 /404/index.php
<Files "settings.json">
Order Allow,Deny
Deny from all
</Files>
php_flag display_errors 1
php_flag display_startup_errors 1
php_value error_reporting 2047