'.php' does not allow serving as static file, access denied! Error

somia

New Member
#1
403
Forbidden
Access to this resource on the server is denied!
Hi LiteSpeed,
I use Ubuntu 24.04 Server
Version: OpenLiteSpeed Standard
PHP Version 8.4, using LSAPI
For the web hosting control panel software, I use CloudPanel
For my website's software
I'm experiencing the following error in my error log:
MIME type [application/x-httpd-php] for suffix '.php' does not allow serving as static file, access denied!
This error message indicates that the server attempted to treat a .php file as a static file to be served, but the MIME type application/x-httpd-php does not permit this.
i use vps in hostinger
Thanks,
 
#2
It's possibly due to the incorrect PHP external app or handler setup.

Maybe you can inbox me the config, and I can take a look.

If it's all the default value, you might also want to contact CloudPanel for support.
 
Top