Posted by : Tom Doyle in (Web Development) 27th Aug, 2008
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!
Posted by : Tom Doyle in (Web Development) 14th Jul, 2008
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.
- 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.
- 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)
- 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.
- 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!