PDA

View Full Version : Creating a Web Server?


Seb
14-09-2003, 11:17
Hi

I am looking to create a webserver on my home pc, because my current host does not support the languages i want it to! My college has got a webserver running, which is only running locally, which is the same set up that i want. However i do not have a clue how or where to start in setting up this webserver. I have looked around on the net, however i have not found any material which gives you a complete run through.

I am only really wanting this webserver so i can test my PHP, CGI, Perl and ASP webpages.

Can anyone point me in the right direction, or knows of any helpful resources?

Cheers

Seb

MadGamer
14-09-2003, 11:51
If you have broadband and your provider is Demon. then you can set up a webserver by typing in your internet browsers web bar ftp://homepages.demon.co.uk. You can create websites with this and the folder is located in "My Network Places".

Xaccers
14-09-2003, 11:58
What OS are you running?
Look into installing Apache.

Richard M
14-09-2003, 11:58
Originally posted by Seb
Hi

I am looking to create a webserver on my home pc, because my current host does not support the languages i want it to! My college has got a webserver running, which is only running locally, which is the same set up that i want. However i do not have a clue how or where to start in setting up this webserver. I have looked around on the net, however i have not found any material which gives you a complete run through.

I am only really wanting this webserver so i can test my PHP, CGI, Perl and ASP webpages.

Can anyone point me in the right direction, or knows of any helpful resources?


For a decent web server, you will need Apache:
www.apache.org

PHP:
www.php.net

Perl 5:
http://www.perl.com/pub/a/language/info/software.html

ASP:
http://wwws.sun.com/software/chilisoft/index.html
ASP doesn't seem to be free anymore, you can do more with PHP anyway. :)

Bifta
14-09-2003, 13:17
Originally posted by Seb
I am only really wanting this webserver so i can test my PHP, CGI, Perl and ASP webpages.

Forget Apache, if you only want to test local documents then install IIS, keep port 80 closed to the internet and download PHP and Perl and read the install instructions. If you're running Windows 2000 or XP Pro then you should be able to install IIS through control panel/add remove programs/add remove windows components (and you don't have to p*ss around with with .ini files)

Seb
14-09-2003, 13:24
Originally posted by Roger K
For a decent web server, you will need Apache:
www.apache.org

PHP:
www.php.net

Perl 5:
http://www.perl.com/pub/a/language/info/software.html

ASP:
http://wwws.sun.com/software/chilisoft/index.html
ASP doesn't seem to be free anymore, you can do more with PHP anyway. :)

Yer i downloaded all of these last night, so what do i have to do now? Can i just create a folder (i.e WebServer) and map this drive or is it harder than that? I will read all the install instructions tonight for the progs i downloaded, and hopefully they are straight forward and tell you what to do!!

What OS are you running?
Look into installing Apache.

I am running Win 2000 Professional!

If you have broadband and your provider is Demon. then you can set up a webserver by typing in your internet browsers web bar ftp://homepages.demon.co.uk. You can create websites with this and the folder is located in "My Network Places".

Funny you should say that because I use Demon Comercial Webspace, and they do not support PHP or ASP!! Otherwise i would gladly test my scripts on there!

So if any one can enlighten me on what to do now i have downloaded these progams i would appreciate it. I'll let you know how i get on when i get home from work and read the install instructions for Apache, Perl, PHP ect...

Seb

PS - Oh yer i also downloaded MySQL as well, because i', looking to set up a forum, and i believe that this is needed to do so, e.g phpBB.

Alan Waddington
14-09-2003, 13:32
I use these:


Xitami Webserver - It works great under XP
http://www.xitami.com

Of course you could go for Apache, although this is more attractive if you're running linux.

PHP 4 (This has an installation option for Xitami)
http://www.zend.com/zend/docs.php

SQL 4 (Some configuration required)
http://www.mysql.com/

phpMyAdmin (use to configure SQL)
http://www.phpmyadmin.net/

I don't use ASP, but suspect that means you need to use a microsoft based webserver.

Install everything using the default options where possible, then use phpMyAdmin to edit the SQL user database, so as to remove default root access to everyone with no password. At the minimum add a password.

Tricky
14-09-2003, 13:52
I'm just doing the same right now as we speak, i've downloaded a demo of VMWARE (www.vmware.com) and have installed an XP (with Apache, PHP, PERL, MySQL etc) and am just installing another virtual machine Mandrake 9.1 (although I don't think this will work as VM only support to 9.0) so I'll be dropping this and using RedHat v8

Using VMWare to protect my local client install...and it means I can mess things up and recopy the OS image to get back in less than 1 minute.

Richard M
14-09-2003, 14:06
An alternative would be to uninstall the lot and install this:
http://sourceforge.net/projects/phptriad

Tricky
14-09-2003, 14:19
Originally posted by Roger K
An alternative would be to uninstall the lot and install this:
http://sourceforge.net/projects/phptriad

or PHPDEV43
Edit : http://www.firepages.com.au/

I'll add the location of above when my box is backup - reboot due to :-

O by the way Mandrake 9.1 doesn't work with VMWare (crashes the session whilst looking for new hardware!) Needs a reboot of the host PC to clear the problem also...

Tricky
14-09-2003, 16:19
Redhat v8 up and running in VMWare with no problems (after remembering that you need to edit /etc/inittab to auto boot into X11 (Windows)). Now wheres my C compiler...

cjll3
16-09-2003, 08:37
If you're running Win 9x then install PWS (Personal Web Server) it'll be somewhere on the installation CD.

Then install the windows binaries of http://www.php.net/ and http://www.activestate.com/Products/ActivePerl/

and several reboots later you should be all set.

Seb
18-09-2003, 16:23
I used phpdev in the end. It's a solid bundeled package of

apache, PHP4, MySQL4, phpMyAdmin, Invision Forum, Perl 5.6.1
Mod_Perl

You can get it here (http://firepages.com.au) if anybody wants it!

Seb