Install Apache & PHP on window server 2008 R2

It would be very easy to install WAMP,LAMP, MAMP,XAMPP server but installing separate component for production server is little difficult process.Yes today I installed individual PHP ,Apache for window server 2008 R2  64 bit environment as per client requirement.Below is basic step to install. Useful Links http://www.larsavery.com/blog/how-to-install-apache-web-server-mysql-and-php-on-windows/ http://www.anindya.com/apache-http-server-2-2-15-x86-and-x64-windows-installers/ Step-1: Install Apache First, download the latest version of Apache HTTP Server […]

Create Virtual Host using WHM [Web Hosting Manager]

Here are the steps to create the virtual host: 1. On WHM, click Apache Configuration under Service Configuration 2. Click on Include Editor 3. Under Pre Main Include, select from dropdown 2.0.63 4. At the bottom of the file text area, include this for the new site virtual host: DocumentRoot “/usr/local/apache/htdocs/sitename/wwwroot” AllowOverride All allow from all Options +Indexes ServerName sitename.domain.com<http://sitename.domain.com/> […]

Apache/php Tmp directory

Letting users upload files to your server can be very risky. If you’re not careful, you could get users uploading all sorts of files which could be harmful for out of disk and tons of virus in your server. Let’s go into very interesting topic of  tmp folder /tmp folder gets cleared on shutdown or boot time but never effect […]