Hi, today, we are going to see powerfull web servers – nginx – and portable cms – PluXML written in Php.
The goal is to set up the all solution under fedora 12 and make it works in local.
Once you installed php and fast-cgi, you can configure nginx to use fast-cgi. I show below modifications I performed on /etc/nginx/nginx.conf.
This section makes nginx catch each url finishing by .php and pass it through localhost on port 9000. Fastcgi catch the request and executes it.
To test that nginx passes php requests,you can create a phpinfo file at the root define above in nginx config file.
In fact, setting up PluXML has already been done on previous sections. I bound root path to /home/pluxml/pluxml where stands the portableCMS PluXML.
Sometimes, you change nginx configuration, or want to restart php, etc.