Need Help Configuring OpenLiteSpeed for PHP 8.2 on CyberPanel

#1
Hello OpenLiteSpeed community,
I hope you're all doing well. I'm facing an issue while trying to set up my new website on my Ubuntu 22.04 server with CyberPanel. The website requires PHP 8.2, and during the installation of my script, I encounter the following error: "MIME type [application/x-httpd-php] for suffix '.php' does not allow serving as a static file, access denied!"

After some research, I discovered that OpenLiteSpeed needs to be configured in the "Server Configuration > External App" and "Server Configuration > Script Handler" sections in the admin panel. Unfortunately, I'm not sure how to do this correctly.

I have attached screenshots of the mentioned pages for your reference: [ 2023-12-20_10-26-26.png ] [ 2023-12-20_10-26-50.png ]
I would greatly appreciate it if someone could guide me on how to configure OpenLiteSpeed to work seamlessly with PHP 8.2 on CyberPanel. Your assistance will be invaluable.
Thank you in advance for your time and support!
Best regards,
AlpaySandrine
 
Top