Posts with the tag web server

Backup of Webserver

The backup of a webserver is not always as straightforward as the backup of your computers at home or just a single website etc. This blog states how I do it.

#!/bin/bash

### set to the server address of your server:
serveraddress=example.com

## login as root...

Read on

Apache Webserver with PHP and MySQL

Mac OS X 10.6 ships with Apache as well as PHP5. This blog post describes how to activate it.

Apache

To run Apache: Enable Web Sharing in the System Preferences → Sharing. Websites are stored in /Library/WebServer/Documents/

PHP

To activate PHP: uncomment a line in /etc/apache2/httpd.conf:

LoadModule php5_module       ...

Read on