May 162011
 
text

ก่อนอื่น copy & paste ตามสูตร

ไปที่ /usr/local/directadmin/custombuild/ เปิดไฟล์ options.conf แก้ php5_cgi=yes ส่วน php อันอื่น no ให้หมด แล้วสั่ง ./build php จนเสร็จ

cd /usr/local/src
wget http://mirrors.issp.co.th/apache/httpd/mod_fcgid/mod_fcgid-2.3.6.tar.bz2
tar jxf mod_fcgid-2.3.6.tar.bz2
cd mod_fcgid-2.3.6
APXS=/usr/sbin/apxs ./configure.apxs && make && make install
chmod 755 -R /var/lib/httpd
mkdir /fcgi

Continue reading »