كلاود لينكس Cloud Linux تغيير اصدار php للسب دومين php selector for subdomain
PHP Selector: Set different PHP versions per directory
Different PHP versions per directories using mod_lsapi
Using the MultiPHP Manager with CloudLinux's PHP Selector
How to change PHP modules when using different PHP versions per domain?
Different php versions on different directories of same domain? Is it possible?
المشكلة :
لا يمكن وضع اصدار php مختلف لل سب دومين لانه بيكون موحد فى الكلاود لينكس
حل المشكلة :
داخل السب دومين فى ملف .htaccess ضع هذا الكود فى نهاية الملف دون حذف اى شىء
بالتالى هيلغى الوراثة لاصدار php من الفولدر parentكود:<FilesMatch "\.(php4|php5|php3|php2|php|phtml)$">
SetHandler application/x-httpd-alt-php81___lsphp
</FilesMatch>
ولكن ماذا عن extensions ؟
الخلاصة:
تم تغيير اصدار php لكن ظهرت بعض المشاكل
https://cloudlinux.zendesk.com/hc/en...ODM4OS4wLjAuMA..
المرجع:
https://support.cpanel.net/hc/en-us/...-per-directory
https://cloudlinux.zendesk.com/hc/en...sing-mod-lsapi
https://support.cpanel.net/hc/en-us/...s-PHP-Selector
https://forum.directadmin.com/thread...ossible.60239/
