Monday, January 17, 2011

Installing Apache web server on Windows 7

After a quick detour to install Notepad++, I'm on my way to installing Magento. Before I can get into the meat of it, though, I do require a few prerequisites.

From the installation instructions, installing Magento requires:
  • Apache 1.3.x or Apache 2
  • PHP 5.2.0 and above with Safe mode off
  • MySQL 4.1.20 and above
After a brief search, I happened upon a very handy site (Yes, my current dev machine runs Windows 7). No sense reinventing the wheel, so these instructions should do nicely.


I've chosen the latest stable release, 2.2.17, MD5-verified and ready to install.

Always one to put the right foot forward... The first thing I've done is to immediately download the wrong version (src) instead of the neatly prepped installer (msi) as per the instructions. Round 1 goes to my eagerness, but after a neat revisit to the Apache download page, I'm off in the right direction.

After kicking off the Apache installer, my first instinct was to twitch at the frozen installer progress (Did the instructions forget about that ghastly Windows 7 User Account Control?), but after only a brief pause, the UAC prompt has displayed and the Apache web server installation is back on track.

None the worse for wear, time for the next step.


I've pretty much kaboshed most of the PHP installation instructions, mostly due to its avoidance of the handy PHP for Windows installer. Pointing the installer to the Apache web server's cgi-bin folder seems like a good idea.

A configuration change...

; Directory in which the loadable extensions (modules) reside.
; extension_dir = "./"
; On windows:
extension_dir = "ext" ; Uncommented (removed the semicolon at the beginning of) this line

... and I'm back to the instructions. After an update to my environment variables, looks like it's time for a reboot... and sleep.

I'll be leaving the MySQL install (and testing Apache web server and PHP) 'til tomorrow.

- - - - - - - - - -

It's time to modify the css behind my code div... that really long text doesn't take up more than one line and I don't have to stare at it in a sleepy daze.
Edit: Done!

Saturday, January 15, 2011


I've been looking at Magento recently. My job has taken me into the world of e-commerce and, naturally Magento tends to crop up every now and then.

According to the installation instructions, Magento runs off of an Apache web server, PHP 5.2+, and MySQL (among other things).

And did I mention that Magento is Open Source?

Over all, it has a very attractive presentation and a usable interface for someone just getting started with the software. The Knowedge Base resources are pretty extensive and the community forums seem to be pretty active. Nothing too intimidating here, let's give it a whirl.