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

Medieval

Verified User
Joined
Sep 30, 2019
Messages
7
Upgraded DirectAdmin to latest version. Installed PHP 8.2 lsphp. LiteSpeed enterprise 6.0.12 complains with;

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

User account shows 403 Forbidden. If I swap user to PHP 8.1, it works.

I have tried reinstalling all PHP and LiteSpeed. I've also rewrite_confs.
 
Looks like the PHP81 suffix not set in LiteSpeed WebAdmin console. Login to your LiteSpeed WebAdmin console -> Server -> Script Handler, add a php81 suffix and point to the right external app lsphp
 
Back
Top