السي بانال WHM/cPanel مشكلة عند فتح الموقع او اى رابط يحمل ملف Download File
website in not working and download a file
sometimes websites are downloading instead of loading
Website is downloading file instead of opening website
How to fix file getting download issue while opening website?



المشكلة :

عند فتح رابط موقع يحدث تحميل تلقائ لملف وداخل هذا الموقع اى subdomain
يحدث نفس الكلام لا يفتح الرابط ويتم تحميل ملف File

حل المشكلة :

قم بتغيير اصدار php الى اصدار اخر والغى inherit مؤقتا لانها هتسبب مشكلة
فى حالة الكلاود لينكس لا تستخدم alt واستخدم الاساسى ea
او ادخل عل ملف .htaccess وامسح اصدار php بداخله

ولاتنسى تحذف الكاش cache




هذا الكود من المفترض ان تجده بهذا الشكل فى الكلاود لينكس

كود:
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php80” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php80___lsphp .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

المرجع:
https://forums.cpanel.net/threads/so...oading.662161/