Score:0

Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration

pr flag

After I've upgraded an Ubuntu server from 18.04 to 22.04 , i'm getting this error on a web site i'm hosting, just opening index.php :

/var/www/my-site/public_html/.htaccess: Invalid command 'php_flag',
 perhaps misspelled or defined by a module not included in the server configuration, 

This is the first 5 lines of my .htaccess file

ErrorDocument 404 /404.html
Options -Indexes

php_flag  display_errors        on
php_value error_reporting       2039

Either if I comment php_flag row, error persist.

What can I do ?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.