Core PHP
Apache 2, PHP 4 & PHP 5 on Windows XP
Core PHP
Blog: CorePHP Blog     Current Projects: PHP on XP Guide  —  NFO Viewer  —  Easy Reflections  —  HotWire  —  FileGlider
< Previous Index Next >

Step 3 - PHP 4 Settings

1) Using Windows Explorer navigate into the C:\php\php-4.4.7-Win32 folder.

2) Rename the file php.ini-dist to php.ini

3) Open php.ini into Notepad (or a text editor of your choice)

4) For now we're only going to configure the PHP values that we need in order to get PHP running, you can come back into the php.ini file at a later stage to fine-tune as you require but right now please do just the following:

5) Search for the line:

log_errors = Off

and change it to:

log_errors = On

6) Search for the line:

extension_dir = "./"

and change it to:

extension_dir = "C:/php/php-4.4.7-Win32/extensions"

7) Save the php.ini file. Please don't be tempted to change anything else right now, you'll get plenty of time to do that once PHP and Apache are working flawlessly together.

< Previous Index Next >

Need help? Post in the WAMP Guide Forum!

© Copyright 2007 - 2008 Richard Davey