You are on page 1of 1

NGINX

deb http://nginx.org/packages/debian/ stretch nginx


deb-src http://nginx.org/packages/debian/ stretch nginx

apt-key add nginx_signing.key


apt-get install nginx

#rep php 5.6


apt-get install apt-transport-https lsb-release ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg

#alternatif dr alamt atasnya : curl https://packages.sury.org/php/apt.gpg | apt-key


add -
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" >
/etc/apt/sources.list.d/php.list

apt-get update
apt-get install php5.6 php5.6-cli php5.6-cgi php5.6-fpm
nano /etc/nginx/conf.d/default.conf
nano /etc/php/5.6/fpm/php.ini=====> cgi.fix_pathinfo
nano /etc/php/5.6/fpm/pool.d/www.conf listen = 127.0.0.1:9000
service php5.6-fpm restart
apt-get install software-properties-common dirmngr
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8
add-apt-repository 'deb [arch=amd64,i386,ppc64el]
http://mariadb.biz.net.id/repo/10.1/debian stretch main'

# ln -s /usr/share/phpmyadmin /usr/share/nginx/html

apt-get install php5.6-zip


apt-get install php5.6-xml

You might also like