Cheap UK Web Hosting Company, Cheap Web Hosting UK, Low Cost Webhosting Space, Low Cost Web Site Hosting UK, Domain Hosting UK and Domain Name Registration

Cheap web hosting uk and domain name registration services from Webconexion Internet Solutions LTD
Tel: 0208 144 2211      Fax: 0871 661 9456      Email: sales@webconexion.net

  Installing a Local PHP4 Development Environment


 
 

This section shows you how to install PHP4 and Apache on your Windows system for local PHP development. This example installs PHP4 as an Apache module.

Step 1 - Installing PHP

  1. Download the latest PHP4 windows zip file from here


  2. Extract the zip file contents to the c:\php directory using winzip


  3. Open the c:\php directory and copy the php4ts.dll file to c:\winnt\system32 directory (or c:\windows\system)


  4. Go back to the c:\php directory and rename the file called php.ini-dist to php.ini


  5. Finally, you need to copy the php.ini to the c:\winnt directory (or c:\windows\system)


Step 2 - Installing Apache

  1. Download the Apache windows installer from here


  2. Double click the executable, click the ok button, accept the terms and conditions and hit next


  3. Enter localhost for the Network Domain and for the Server Name


  4. Enter your own email address for the Administrator's Email Address


  5. Accept the defaults for everything else to complete the Apache installation


Step 3 - Configuring Apache

  1. Open up c:\Program Files\Apache Group\Apache\conf\httpd.conf in an editor


  2. Search for this line: #LoadModule unique_id_module modules/mod_unique_id.so, it should be on line 192


  3. Add this line underneath it: LoadModule php4_module c:/php/sapi/php4apache.dll. Make sure you DON'T add an '#' sign to the front of it.


  4. Search for this line: AddModule mod_setenvif.c it should be on line 239


  5. Add this line underneath it: AddModule mod_php4.c


  6. Then add the following lines underneath the: AddType application/x-tar .tgz line
    • AddType application/x-httpd-php .php
    • AddType application/x-httpd-php .php3
    • AddType application/x-httpd-php .php4
    • AddType application/x-httpd-php .htm
    • AddType application/x-httpd-php .html

  7. Now save httpd.conf


  8. Now restart Apache: START->Programs->Apache HTTP Server->Control Apache Server->Restart

For more information about installing PHP with Apache on Windows please visit the Installing on Windows Systems section on the PHP website.

If you have a question that you cannot find the answer to here, please email support@webconexion.net.

Technical Support

 
Get online now with your choice of UK or International domain name.

 UK domains £3.25 p/a
 International domains £10 p/a
 Web forwarding services
 E-mail forwarding services
 POP/IMAP E-Mail accounts NEW
 Spam E-Mail Protection NEW
 DNS Configuration NEW
 Change nameservers
 Upgrade to web hosting
 No release fees

The domain control panel (DCP) is provided as standard with all parked domain accounts.

 Map multiple domains to your web hosting account for the one time fee of £29.99 per domain!

 Additional bandwidth usage on your web hosting account now only 2p per MB per month!

 HTML only web hosting accounts now start from just £29.99 p/a!

 Add Frontpage Extensions to your HTML only web hosting account for the one time fee of £14.99.

 Transfer your .co.uk domain name to Webconexion for FREE with the option to upgrade to one of our web hosting accounts!

Latest News | Related News | Contact Us | Terms & Conditions | Knowledgebase | Related Resources | System Status | Add Resource
Copyright © 2008 - Webconexion Internet Solutions LTD