export JAIL=nivi export JAILHOSTNAME=nivi export JAILDOMAIN=ahlawat.com export JAILIP=80 export JAILUSER=X export JAILUSERID=1000 export JAILUSERVNC=false /root/FreeBSD/jails/create.sh $JAIL $JAILHOSTNAME $JAILDOMAIN $JAILIP $JAILUSER $JAILUSERID $JAILUSERVNC iocage exec $JAIL "pkg install -y apache24 ffmpeg php83 php83 php83-bz2 php83-ctype php83-curl php83-dom php83-exif php83-fileinfo php83-filter php83-gd php83-iconv php83-mbstring php83-mysqli php83-opcache php83-pdo php83-pdo_mysql php83-pecl-imagick php83-posix php83-session php83-simplexml php83-xml php83-xmlreader php83-xmlwriter php83-xsl php83-zip php83-zlib" iocage exec $JAIL "sysrc apache24_enable=YES" iocage exec $JAIL "cp /mnt/config/httpd.conf /usr/local/etc/apache24/" iocage exec $JAIL "cp /mnt/config/020_mod_ssl.conf /usr/local/etc/apache24/modules.d/" iocage exec $JAIL "cp /mnt/config/php.ini /usr/local/etc/php.ini" iocage exec $JAIL "sysrc php_fpm_enable=YES" iocage exec $JAIL "cp -f /mnt/config/www.conf /usr/local/etc/php-fpm.d/" iocage exec $JAIL "service php-fpm start" iocage exec $JAIL "service apache24 restart" # update dns (bind) and proxy (haproxy) configurations if required
http://help.koken.me IMPORTANT : http://help.koken.me/customer/portal/questions/10691247-koken-installation-loopback-request-failure?t=484231