当前位置: 首页 > 工具软件 > DirectAdmin > 使用案例 >

directadmin支持多php,DirectAdmin安装cloudlinux的PHP版本选择器

公孙茂学
2023-12-01

Our PHP-Selector work wtih DirectAdmin only if PHP is running in suphp or fcgi mode. Here is the complete set of commands to enable selector on DA with suphp :/usr/local/directadmin/custombuild/build set suphp yes

/usr/local/directadmin/custombuild/build set cloudlinux yes

/usr/local/directadmin/custombuild/build update

/usr/local/directadmin/custombuild/build apache

/usr/local/directadmin/custombuild/build php y

/usr/local/directadmin/custombuild/build suphp

/usr/local/directadmin/custombuild/build rewrite_confs

cagefsctl --force-update

cagefsctl --remount-all

Same way for fcgi mode.

http://kb.cloudlinux.com/2014/12/php-selector-and-directadmin/

 类似资料: