<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Apache on Dave Hall Consulting</title><link>https://www.davehall.com.au/tags/apache/</link><description>Recent content in Apache on Dave Hall Consulting</description><generator>Hugo</generator><language>en-au</language><lastBuildDate>Fri, 16 Oct 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://www.davehall.com.au/tags/apache/index.xml" rel="self" type="application/rss+xml"/><item><title>Making it Easier to Spawn php-cgi on Debian and Ubuntu</title><link>https://www.davehall.com.au/blog/2010/03/16/making-it-easier-spawn-php-cgi-debian-and-ubuntu/</link><pubDate>Tue, 16 Mar 2010 00:00:00 +0000</pubDate><guid>https://www.davehall.com.au/blog/2010/03/16/making-it-easier-spawn-php-cgi-debian-and-ubuntu/</guid><description>Apache is a great web server, but sometimes I need something a bit more lightweight. I already have a bunch of sites using lighttpd, but I&amp;rsquo;m planning on switching them to nginx. Both nginx and lighttpd use FastCGI for running PHP. Getting FastCGI up and running on Ubuntu (or Debian) involves a bit of manual work which can slow down deployment.
The normal process to get nginx and php-cgi up and running is to install the spawn-fcgi package, create a shell script such as /usr/local/bin/php-fastcgi to launch it, then a custom init script, after making both of these executable you need to run update-rc.</description></item><item><title>A Virtual Host per Project</title><link>https://www.davehall.com.au/blog/2008/05/21/virtual-host-project/</link><pubDate>Wed, 21 May 2008 00:00:00 +0000</pubDate><guid>https://www.davehall.com.au/blog/2008/05/21/virtual-host-project/</guid><description>Not long before my old laptop got to the end of it usable lifespan I started playing with the Zend Framework in my spare time. One of the cool things about ZF is that it wants to use friendly URLs, and a dispatcher to handle all the requests. The downside of this approach, and how ZF is organised, it works best if you use a Virtual Host per project. At first this seemed like a real pain to have to create a virtual host per project.</description></item></channel></rss>