CentOS 6.2 source code compilation and installation Nginx+MySQL+PHP+WordPress installation Word

  

First, configure Nginx support php

vi /usr/local/nginx/conf/nginx.confuser www www;index index. Php index.html;#Cancel the comment of the location of the FastCGI server part, and pay attention to the parameters of the fastcgi param line, change to $document_root$fastcgi_script_name, or use the absolute path: wqservice nginx restart Second, install Word
Press< Br>

cd /usr/local/srctar zxvf latest.tar.gzchown -R www.www /usr/local/nginx/htmlchmod -R 700 /usr/local/nginx/html Creating a mysql database

mysql -u root -p create database wordpress;exit;

Copyright © Windows knowledge All Rights Reserved