apache

Easy install PHP MySQL Perl and Apache

Installing a Php MySQL + Apache development environment was once very frustrating (especially on Windows Vista !) until XAMPP launched.

XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use – just download, extract and start. The best part is IT IS FREE.

I have only tried the Windows version and is already loved it ! The windows version works on Windows 98, NT, 2000, 2003, XP and Vista. This version contains: Apache, MySQL, PHP + PEAR, Perl, mod_php, mod_perl, mod_ssl, OpenSSL, phpMyAdmin, Webalizer, Mercury Mail Transport System for Win32 and NetWare Systems v3.32, Ming, JpGraph, FileZilla FTP Server, mcrypt, eAccelerator, SQLite, and WEB-DAV + mod_auth_mysql

Screen shots.

xampp.jpg

Why I like XAMPP so much ?

  1. The installation is really easy on my Vista notebook, I do not have to handle the troublesome Vista User account control (UAC).
  2. Installation comes with latest Apache 2.6, php 4 & 5, MySQL 5+
  3. Zend optimer is included.
  4. Switching between Php 4 and Php 5 is very simple.
  5. Apache and MySQL can run as service of run adhoc.
About author : This original article is property of Top 10 Web Hosting (http://www.top10webhosting.com). List of best web hosting services company offering PHP and MySQL. Compare & save ! on web hosting fee.

Note : Please include author information if you wish to republish this article.

Force your visitors to visit WWW of your website.

Google can sometimes think “www and without www” are 2 duplicate websites and it could harm your seach engine result position (SERP)! It is better to force your visitor (including google bot) to view only 1 version of your website.

You can easily redirect all non-www traffic to www version of your domain, along with links to homepage or sub-folder. e.g. redirect yourdomain.com/aboutus.htm to www.yourdomain.com/aboutus.htm

AppendĀ code below to your .htaccess file, replace yourdomain.com with your own domain name.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain\.com$ [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]

Code above works with any Apache webserver with RewriteEngine.

Anyone knows what is the solution for IIS ?

About author : This original article is property of Top 10 Web Hosting (http://www.top10webhosting.com). List of best web hosting services company offering PHP and MySQL. Compare & save ! on web hosting fee.

Note : Please include author information if you wish to republish this article.

« Prev