PHP-Selector and DirectAdmin

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 php1_mode suphp
/usr/local/directadmin/custombuild/build set cloudlinux yes
/usr/local/directadmin/custombuild/build set cagefs yes
/usr/local/directadmin/custombuild/build update
/usr/local/directadmin/custombuild/build apache
/usr/local/directadmin/custombuild/build phpy
/usr/local/directadmin/custombuild/build suphp
/usr/local/directadmin/custombuild/build rewrite_confs
cagefsctl--force-update
cagefsctl--remount-all




Same way for fcgi mode.
  • directadmin, ddos, PHP-Selector
  • 0 Người xem đã đánh giá bài viết này hữu ích
Bài viết này có hữu ích với Bạn?

Related Articles

This copy of Windows must be activated with Microsoft before you can continue

This is the solution to activate Windows (XP, Vista, 7, 8 – Server...

Fixing Windows Server 2008 R2 Boot Problem

I was playing around with a couple of Windows Server 2008 R2 virtual machines today, and...

Gene6 error: Local FTP service could not be started

Go in your RemoteAdmin folder, and open Remote.iniUnder [Server] search for...

How do I edit a file through SSH using Nano?

The following article explains how to edit a file using Nano. This first requires you to...

How to install suphp in directadmin

Directadmin came with php ad CLI options. So the php scripts run as apache user.  You can use...