MIME type [application/x-httpd-php] for suffix '.php'

#1
Every now and then i get this type of error in the logs on my OpenLitespeed setup with CyberPanel.

Sometimes it shows up for PHP 7.4 and sometimes for 8.1 and 8.2
Not sure why.
Php 7.4 is what i mostly use.

Any advice?
I saw other forum posts, but I have already tried such.

Code:
MIME type [application/x-httpd-php] for suffix '.php' does not allow serving as static file, access denied!
Can it be related to this post?:
Number of Virtual host and error MIME type [application/x-httpd-php] for suffix '.php' does not allow serving as static file, access denied! | OpenLiteSpeed Community and News

My first post about this issue:
Basic php file not working - Support and Discussion / Web Server - CyberPanel Community

Sites and directions tried:
[Resolved] Litespeed in Directadmin -- suffix '.php' does not allow serving as static file | LiteSpeed Support Forums (litespeedtech.com)

Websites issue on php 8.1 version (litespeed) | cPanel Forums

MIME type [application/x-httpd-php82] for suffix '.php' does not allow serving as static file, access denied! | DirectAdmin Forums
 
Top