Howtos / Articles

Installing NGINX, PHP, and MySQL on Ubuntu 10.04 LTS using php-cgi

Nginx (pronounced Engine-X) is a fast & lightweight HTTP and HTTPS web server (it can also act as a reverse proxy, and perform load balancing). (Note: this is a updated version of a similar how to located here, but this article is using php-cgi package instead of php-fpm, and using only default Ubuntu repository’s). Its small memory footprint requirements make it great for systems with small amounts of memory, such as low end cloud servers. Nginx is great for serving…

Read more [...]

Ubuntu PHP-FastCGI init script

Below is an example of a PHP-FastCGI init script for use on Ubuntu systems. This startup init script was copied from http://wiki.nginx.org/Ubuntu-php-fastcgi and slightly modified to keep all start up settings in the one script file. Thanks to the original author. It can also be downloaded in full from: http://www.networkinghowtos.com/wp-content/uploads/scripts/php-fastcgi Remember to “chmod +x” this script to make it executable. This file should be stored in “/etc/init.d” and set to run at startup by running the “sudo /usr/sbin/update-rc.d -f php-fastcgi…

Read more [...]