Ubuntu: Setup Apache2, PHP5 and MySQL

Packages to install to run PHP: sudo apt-get install apache2 sudo apt-get install php5 sudo apt-get install libapache2-mod-php5 sudo service apache2 restart Some optional / useful php libraries to install:

Linux and Php: Timezone Setting

Recently a server was upgraded to FC14 with PHP V538 and when running PHP based website, the following warning is displayed: PHP Warning:  date(): It is not safe to rely on …

Fedora: Disable Default Apache Page

By default when Fedora / Red Hat Linux is installed, a ‘Fedora test page’ is displayed when Apache server is started. Or when websites are configured on server, denying IP address …

Basic .htaccess Template

.htaccess is a text file containing commands to control an entire website. I can never remember details what to put inside. This is just a basic template / skeleton for …