php

Lighttpd – A lighter Web Server

The first thing to do it get lighttpd installed with php and mysql working smoothly. Rather than reiterating the same content here is a convenient post:

http://www.howtoforge.com/lighttpd_mysql_php_debian_etch

Interesting options and various configuration for lighttpd can be found here:

http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions

One insteresting, built in, option is throttling. Use connection.kbytes-per-second and you can effectivly limit users to particular data transmission rates. There is also a compression module, and a caching module. Much like apache these modules can be installed with apt-get. Issue:

sudo apt-cache search lighttpd

This will list various packages that can be installed. I know the apache modules are packaged as libapache2-mod-*.

With built in round robin and proxy modules this is an interesting package to investigate using.

Network Solutions – 1 and 1 Hosting – Yahoo – LAMP – WAMP – DIY

If you have a computer at home and a job you can pay the electrical bill to keep the computer on 24/7 and turn it into a web server. Why pay over 20$ per month for hosting services when you can pay a fraction of that in electricity to keep your computer on. If your on a Windows machine just download one of various WAMP packages, or if your on Linux you can search this blog for the apt commands to setup a LAMP server. I wish I could get paid to setup web servers, because that is obviously what the corporate web hosts do. They create these dynamic php and javascript driven websites that turn a internet GUI into server configuration commands. When you pay 20$ per month you are paying for the translation of website mouse clicks into server configuration commands. Its definitely a good service, and it makes it easy but I have always been a fan of cutting out the middle man. You can cut out the middle man; on Windows its a simple as installing WAMP, which is nothing different than a typical application installation. Linux is a little different, but I like it because its free and much more stable IMHO.

Simon Stenhouse – Excellent PHP Scripts

Provided on his website are free excellent php scripts to do a variety of tasks. Useful tools including contact forms, and statistics software are among the available scripts. His website also has demos setup so you can preview the function and aesthetics of the script before you decide to implement it. http://www.simonstenhouse.net/index.php?area=projects

ISPConfig Hosting Solution Debian Dependencies

While installing ISPConfig on a default Debian Gnome desktop the following dependencies were documented: apt-get install apache2 php5 libapache2-mod-php5 apt-get install mysql-server mysql-client php5-mysql apt-get install vsftpd quota bind flex spamassassin libmysqlclient15-dev zlib1g-dev After these dependencies are met, ISPConfig can be compiled from source. Navigate to theISPConfig source code folder and type:./setupFollow the onscreen prompts accordingly. :) If you have any issues you can follow the Howtoforge.com tutorial: http://www.howtoforge.com/perfect_setup_debian_etch

Debian LAMP

Debian is great to minimize software on the hard drive. With a minimal Debian installation, and the following apt commands, you will have a completely setup LAMP system in about 5-10 minutes. Simply run the following commands to install the appropriate software. This will install apache with php support: apt-get install apache2 php5 libapache2-mod-php5 This will install mysql with php support: apt-get install mysql-server mysql-client php5-mysql These two apt installation lines will take care of everything, and your Debian system will work just as a Ubuntu LAMP installation.

WAMP (Windows, Apache, Mysql, PHP)

The webserver community is well accustomed to the LAMP terminology. WAMP is the equivalent for Microsoft Windows platforms. The main difference is that WAMP does not include Windows, and a License must be purchased separately if you don’t already have one. Otherwise there are a variety of WAMP software packages that will completely implement a full webserver utilizing dynamic PHP, and Mysql database backend support. Once of the more popular WAMP software package can be found at wampserver.com. While the domain name of their website makes for easy Google-ability, there are other software package competing for territory. There are almost two dozen different pacakges that all provide an excellent, easy installation process to easily setup a complete webserver system on the Windows platform.