WAMP

There are other tutorials on how to set up Apache, PHP and MySQL on a Windows machine, but for what it’s worth, this is how I do it. It’s important to note that this is used on a testing server in a trusted environment. I have not gotten involved in any security issues here as it’s not necessary in my particular case.

For the record, this applies to the following versions:

  • Windows XP Professional
  • Apache 1.3.31
  • PHP 4.3.10
  • MySQL 4.1.7

Let’s get started!

Advertisements

3 thoughts on “WAMP

  1. EDIT: Using the method I described here to keep the php.ini file in your PHP directory does not enable gd for some reason. The only way I could get gd working was to copy the php.ini file into c:windows and reboot. After that, gd worked fine. Go figure!

  2. I read through your guide but I’m using Xampp and some of the files are slightly different but I can follow.

    I have a problem whereby I have Xampp on a server with Virtual hosts etc. It all works fine!

    BUT

    If I want to access the server from a network computer the php includes in my web pages do not load. It seems to miss out a directory as I am pointing to the server IP on the Windows host file.

    Is there a way of configuring apache or php so the DocumentRoot is set to the folder I am trying to view.

    Here is the error I get, it seems to miss out the project folder when accessed from a network computer! –

    Warning: include() [function.include]: Failed opening ‘C:/folder/dev/inc/nav.php’ for inclusion (include_path=’.;C:Program Filesxamppphppear’) in C:folderdevprojectfolderindex.php on line 37

Comments are closed.