Posts Tagged "Apache"

OS X web development server

Posted by on Aug 15, 2010 in Featured, Tutorials | 1 comment

OS X web development server

I think Mac based PHP developers most commonly install an application like MAMP to handle the perceived hard work when it comes to setting up their working environment. OS X does come preinstalled with most of what you need to develop PHP websites though and it’s pretty easy to get up and running. Why install extra 3rd party software, taking up space and system resources, when Apple has done it already? This guide starts with a clean installation of Mac OS X 10.6.4 (Snow Leopard) and walks through the steps of setting up your dev server. It finishes with a run through of an application...

Read More

Detecting your environment using server variables

Posted by on Feb 15, 2010 in Tutorials | 0 comments

This article explains how you can use server variables to run websites on multiple servers without having to manually reconfigure key settings. Like many web developers I use a single configuration file to define key website constants (file paths, database login etc.) and that file is included at the top of every page. Many of the constants can be sensitive to the working environment through so I may need one configuration for local development work and another when the website is uploaded to the live server. If you’ve only ever done very basic server-side scripting you may be wondering why...

Read More