Posts Tagged PHP

WampServer 2.0i – Windows Vista, Apache, PHP & MySQL

WAMPSERVER 2.0iI recently had to set up a web development environment on my Windows Vista machine to test a web site we are currently working on. Although I have wrote in the past about how easy it is to install PHP 5 with IIS on Windows Vista, it just didn’t run that smoothly for me this time around. Regardless of what I did, I just couldn’t get it up and running (without spending hours) on my machine. I even tried to get Apache running instead of IIS, but again it was just taking way to long. No matter what I did I just couldn’t get PHP running in conjunction with Apache or IIS. No doubt it was some sort of permissions error, but I didn’t waste my time looking for the exact issue.

No, instead I ran a Google search to find a “WAMP” installation tool. The first one I found was WampServer 2.0i and I was instantly impressed. Not only was it a painless install that took less than a minute, it installed everything I needed. With one installation, I had Apache, PHP and MySQL all running smoothly on my Windows Vista machine.

Even better still, it also gave me the ability to install multiple versions of critical services such as PHP, MySQL and even Apache. This is a web developers dream, it means that you no longer have to downgrade you working version in order to work on an old site built on say an old version of PHP. There are many other excellent features, as well as many extensions to the product freely available for download.

If you’re having trouble getting a web development environment working on your Windows Vista (or others) – I suggest you download this before wasting your time going the manual route!

DOWNLOAD HERE : http://www.wampserver.com/en/

Tags: , , , ,

No Comments

When Typo3 4.2.1 Install Tool is blank

TYPO3

While installing the latest version of Typo3 4.2.1 on a new server, we encountered a strange issue.

For some odd reason the Install page was blank. After much searching we found that it was in fact because of the php memory limit. Luckily we were able to change this in the .htaccess file by simply adding the following line to it:

php_value memory_limit 32M

Typo3 needs 32MB of memory to run.

I hope this helps some frustrated Typo3 developers who have had the same issue!

Tags: ,

1 Comment

Install PHP 5 with IIS 7 (Windows Vista)

PHP

I had to get my hands dirty today and get a look at some code we’re developing. Having not developed personally in quite some time, I had no reason to have IIS installed, nevermind PHP!

So I set off on the task of installing PHP 5.2 on my Windows Vista machine. And here’s how I did it.

  1. Install IIS7
    Control Panel > Programs and features > Turn Windows features on or off
    From here I selected Internet Information Service. I dug a little deeper into Worldwide Web Services and turned on the ISAPI extensions.
  2. Download & Install PHP
    Download PHP http://www.php.net/downloads.php – for simple set up, get the zip package.
    Unzip your files to your preferred location, mine is C:\PHP
    Copy the php.ini-dist file into your windows folder. (C:\windows\php.ini)
  3. Open IIS Manager
    From your start menu, type iis and hit return to open IIS Manager.
    Select “default web site” and double click, “Handler Mappings”.
    On the right hand side – select “Add Script Map”In the dialogue that opens enter the following:
    Request Path: *.php
    Executable: C:\PHP\php5isapi.dll (*NOTE*: if this is where you’ve stored the unzipped files)
    Name: PHPClick OK. Then you will be asked “Would you like to enable the ISAPI extension”, choose Yes.
  4. That’s It!
    You might want to check it with a phpinfo file.
    e.g. Create a text file and type <? phpinfo(); ?>. Save this file as phpinfo.php, copy it into your C:\inetpub\wwwroot. Go to your browser and open http://localhost/phpinfo.php

Enjoy! :)

Tags: , , ,

7 Comments
Blog WebMastered by All in One Webmaster.