Cheap UK Web Hosting Company, Best Web Hosting UK, Low Cost Web Space, Low Cost Web Site Hosting UK
Cheap UK web hosting and domains from Webant
www.   
check domain availability  
  Home     Services     News     About Us     Support     Members     Pay An Invoice Settle an invoice or renewal notice Place an Order Order cheap UK hosting and cheap UK domain names

 Technical Support


  Support Index

Contact Support
System Status
Glossary

Members Login
Please enter your username and password below.

Username
Password

 

PHP Scripting

PHP Scripting

Can I install a local PHP development environment?

Yes you can! 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.

<< Back

If you have a question that you cannot find the answer to here, please email support@webanet.co.uk.



 
Domain Name Prices
.co.uk £9.99
.net.uk £9.99
.org.uk £9.99
.com £19.99
.net £19.99
.org £19.99

All domain names include free forwarding services.

Web Hosting Prices
Starter Hosting
5 GB webspace
10 GB bandwidth
10 Mailboxes
£39.99 per annum

Professional Hosting
20 GB webspace
40 GB bandwidth
100 Mailboxes
£59.99 per annum

Business Hosting
50 GB webspace
100 GB bandwidth
1000 Mailboxes
£119.99 per annum

Developer Hosting
100 GB webspace
200 GB bandwidth
2000 Mailboxes
£179.99 per annum

All web hosting accounts include PHP and MySQL.

Cheap UK Domains | Cheap Web Hosting UK | Dedicated Hosting UK | News | About Us | Technical Support | Members Area
Pay An Invoice | Place An Order | Related Resources | Add A Resource
Copyright © 2010 - Webanet. All rights reserved.