fcgid is apache fastcgi implementation module that is really a fast apache handler.It is an alternative to apache mod_cgi and mod_cgid apache handler module but so much faster and with high performance .What it really does as I know it caches the php functions and classes and remain them active untill the time they are requested from clients and so that it wont load them again and consume cpu processes also it caches mysql queries and all of those will lower the amount of cpu usage and also that automaticly will reduse HArd i/o wait time so that this will make the load of the server so low and every thing will be served to clients from ram that is so faster than hard drives.
it is an alternative to mod_php with much more faster with a similar performance.
In this tutorial you will gongi to find out how to compile and make it enabled on directadmin control panel customized compiled apache .
So lets get started
run the following command into your secure shell(ssh);
Go to the custombuild directory which is provided by directadmin and open it using the nano editor
in the case that you recieved error that nano is not understood by your linux you must have it installed
for installing nano just use yum
you will recieve a confirmation yes/no, surly type yes and enter to continue installing nano editor.
You must make this option to yes in options.conf
php5_cgi=yes
on the very first lines there should be something like this after you modify this options.conf
after that build php by runngi the following command
then you should add mod_fcgid to apache
for doing so you should intruct apache to load mod_fcgid on its config file which is httpd.conf
by the following command you will open htpd.conf by nano editor
add the following codes that are fcgid config lines to httpd.conf
Then after that we should go to the virtualhost template to modify virtual hosts that is located at
/usr/local/directadmin/data/templates
we will create a folder named custom
we wil copy thise files into this folder from templates
for creating the folder named custom and to copying these 4 files we will use the following command:
comment out the lines that are commented as commented here on each of these 4 virtual_hosts2
and then insert the following lines of codes just before the start of codes written above
crate fcgid.sh shell script;
and then pase these codes into fcgid.sh
create domain_create_post.sh in the smae fodler you already created fcgid.sh shell script and paste the following code into that shell script that you already created
copy php.ini to /usr/local/directadmin/scripts/custom/ directory
edit the php.ini that you have just copied with nano text editor
and then search for open_basedir that is normally commented out by default by a semicolon
for searching use CTRL + W and hen type the text to search that in this case it should be open_basedir
remove the semicolon and assign it PHPCFG_BASEDIR:/tmp:/var/tmp
after that run the bellow command:
THanks
http://www.wingfoss.com/content/install-mod-fcgid-on-direct-admin


 آموزش نصب و کانفیگ مجازی ساز kvm
 آموزش نصب و کانفیگ مجازی ساز kvm آموزش نصب VNC در Centos
آموزش نصب VNC در Centos آشنایی با 5 پلاگین کاربردی Nginx در وردپرس
آشنایی با 5 پلاگین کاربردی Nginx در وردپرس آموزش نصب و فعالسازی SSL در سرورهای Cpanel
آموزش نصب و فعالسازی SSL در سرورهای Cpanel آموزش دانلود یک پوشه از یک سرور Remote
آموزش دانلود یک پوشه از یک سرور Remote آموزش افزایش و بالا بردن امنیت WHMCS
آموزش افزایش و بالا بردن امنیت WHMCS آموزش ساخت صفحات اضافی در WHMCS
آموزش ساخت صفحات اضافی در WHMCS آشنایی با 15 دستور کاربردی در آنتی شل maldet
آشنایی با 15 دستور کاربردی در آنتی شل maldet آموزش نصب و کانفیگ ftp سرور در CentOS 7
آموزش نصب و کانفیگ ftp سرور در CentOS 7 آموزش نصب phpmyadmin در nginx
آموزش نصب phpmyadmin در nginx آموزش نصب کلود لینوکس CloudLinux
آموزش نصب کلود لینوکس CloudLinux  آموزش تغییر IP و Hostname در Centos
آموزش تغییر IP و Hostname در Centos آموزش شناسایی و حذف CryptoPHP PHP malware
آموزش شناسایی و حذف CryptoPHP PHP malware آموزش افزایش امنیت سایت های جوملا Joomla
آموزش افزایش امنیت سایت های جوملا Joomla آموزش نصب Virtualizor روی centos 6.5
آموزش نصب Virtualizor روی centos 6.5 آشنایی با انواع Raid در سرور
آشنایی با انواع Raid در سرور آموزش نصب و کانفیگ php-fpm در دایرکت ادمین directadmin
آموزش نصب و کانفیگ php-fpm در دایرکت ادمین directadmin آموزش نصب Spamassassin در دایرکت ادمین
آموزش نصب Spamassassin در دایرکت ادمین آموزش خاموش کردن brute force notification
آموزش خاموش کردن brute force notification آموزش تنظیم mysql remote در دایرکت ادمین
آموزش تنظیم mysql remote در دایرکت ادمین
 سرویس کانفیگ ویژه امنیتی سرور
سرویس کانفیگ ویژه امنیتی سرور دستورالعمل جديد فعاليت سايت هاي چت روم
دستورالعمل جديد فعاليت سايت هاي چت روم درباره پی سی سرور
درباره پی سی سرور تعطیلی 4 روزه بخش پشتیبانی
تعطیلی 4 روزه بخش پشتیبانی فروش ویژه سرورهای مجازی قدرتمند مختص چت روم های پربازدید
فروش ویژه سرورهای مجازی قدرتمند مختص چت روم های پربازدید فروش ویژه سرور مجازی VPS بصورت مدیریت شده
فروش ویژه سرور مجازی VPS بصورت مدیریت شده خدمات مانیتورینگ و نگهداری و رفع اشکال سرور
خدمات مانیتورینگ و نگهداری و رفع اشکال سرور کانفیگ سرورهای دایرکت ادمین
کانفیگ سرورهای دایرکت ادمین کانفیگ سرورهای سی پنل
کانفیگ سرورهای سی پنل اطلاعیه مهم: مدیران سایت های چت روم بخوانند
اطلاعیه مهم: مدیران سایت های چت روم بخوانند سیستم مدیریت محتوای سایت های عکس
سیستم مدیریت محتوای سایت های عکس راه اندازی سامانه پشتیبانی آنلاین پی سی سرور
راه اندازی سامانه پشتیبانی آنلاین پی سی سرور سوء استفاده افراد کالاه بردار  سود جو از نام پی سی پارسی
سوء استفاده افراد کالاه بردار  سود جو از نام پی سی پارسی شروع بکار مجدد بخش پشتیبانی
شروع بکار مجدد بخش پشتیبانی تعطیلی 1 هفته ای بخش پشتیبانی بدلیل تغییر مکان شرکت
تعطیلی 1 هفته ای بخش پشتیبانی بدلیل تغییر مکان شرکت سیستم مدیریت محتوای سایت های تفریحی
سیستم مدیریت محتوای سایت های تفریحی سوء استفاده گروه سود جو "TopazVPS" گول نخورید
سوء استفاده گروه سود جو "TopazVPS" گول نخورید قوانین سرویس دهی پی سی سرور
قوانین سرویس دهی پی سی سرور طراحی چت روم
طراحی چت روم حفره امنیتی خطرناک در wordpress
حفره امنیتی خطرناک در wordpress