yum install nginx
nginx configuration file
- Default config file: /etc/nginx/nginx.conf
- Default SSL config file: /etc/nginx/conf.d/ssl.conf
- Default virtual hosting config file: /etc/nginx/conf.d/virtual.conf
- Default documentroot: /usr/share/nginx/html
yum install php-pear-Net-Socket php-pear php-common php-gd php-devel php php-mbstring php-pear-Mail php-cli php-imap php-snmp php-pdo php-xml php-pear-Auth-SASL php-ldap php-pear-Net-SMTP php-mysql
yum install spawn-fcgi
# /etc/init.d/php_cgi start
# netstat -tulpn | grep :9000
vi /etc/nginx/nginx.conf
service nginx restart
ไม่มีความคิดเห็น:
แสดงความคิดเห็น