บน OpenLitespeedError 403 Forbidden Access to this resource on the server is denied!
สาเหตุหนึ่งของปัญหานี้คือ
Service ของ OpenLitespeed เจ้า lsphp ที่รันไม่ได้ผูกตรงกับเวอร์ชั่นของ php ที่ติดตั้งไว้บน Server
วิธีตรวจปัญห เข้าไปดู Logs เกี่ยวกับ Configuration Syntax
เข้าไปดู config ได้ที่ เข้า DA ในฐานะ ที่เป็น Admin Level
เข้าไปที่
Custom HTTPD Configurations
เลือกโดเมนที่มีปัญหา
จะเจอข้อความประมาณนี้
ลงมาล่างสุดจะเจอ ข้อความConfiguration Syntax Error - See below for details
ทางแก้ เลือกใช้ php สำหรับ Domain ให้ตรงกับเวอร์ชั่นที่ Server สามารถใช้งานได้t:none,t:urlDecode2021-11-30 23:37:22.956446 [ERROR] [config:server:epsr:lsphp74] invalid path - /usr/local/php74/bin/lsphp, it cannot be started by Web server!
หรือ build php ใหม่ และ rewrite config