+ Reply to Thread
Results 1 to 7 of 7

Thread: Setting up a localhost for beginers(me)!

  1. #1
    Join Date
    Aug 2007
    Location
    Gangstas Paradise
    Posts
    4,143

    Setting up a localhost for beginers(me)!

    Apache 2.0.5x(not 2.4 as it has trouble with the php module *.dll);
    php5;
    activestate perl5.8.x;
    MySQL.

    Setup and running in 15mins with the help of the following tutorials.
    Apache, php, MySQL:
    http://www.expertsrt.com/tutorials/M...che.html#intro
    perl/cgi:
    http://www.ricocheting.com/server/cgi.html

    Using these you should now have a localhost that supports cgi. So no more testing online. Just stick your scripts in the root folder and cgi-bin(can be in root if you have changed this in Apache settings) and off you go.

    This works on XP sp2 and Vista.
    If you want to make your host remote there is a link in the Apache tutorial that should set you on your way.

    Note:
    A script editor is good idea, I find myself using SciTE version 1.74 (having trouble getting it to check php syntax, though it can) although every tutorial says notepad should do. Notepad has no line number colum, no highlighting, no syntax checking, no command line, no tabs, no split view, no incremental search, no case change, etc...
    SciTE is free.
    (if anyone has a better solution please let me know)

    http://dev.x10hosting.com (this has nothing to do with x10hosting)

    ->All us helpful people here at x10hosting would like to reach our next user groups, "Community Paragon". Please click the +rep icon on the left hand side of a post if that post was helpfull.



  2. #2
    Jake's Avatar
    Jake is offline Developer Jake is an unknown quantity at this point
    Join Date
    Apr 2005
    Location
    Winona, MN
    Posts
    2,084

    Re: Setting up a localhost for beginers(me)!

    ONLY if you don't WANT to read the tutorials (Some people DO like to learn though):

    Not that your way is bad, or doesn't work, but what I use and what I find the easiest way to do this is:

    Download and install XAMPP. No need to read all the tutorials to do it by hand, althought they are interesting, you most likely won't need or want to read them. It isntalls all the components (PHP + Apache + MySQL and more) for a local server.

    XAMPP: http://www.apachefriends.org/en/xampp.html

    You don't need to install anything for CGI it comes with the base package, Perl can be added on too if you need it. You can just download it from XAMPP's site and install it through their control panel.

    Also, as for an editor I like PHP Designer. It has a lot of neat things notepad, textpad, and alot of the 'pads' out there have. Best of all, I like the colors it makes your PHP code. If you are doing something for personal use, like a site or forum for you to create a community you can use it and its free.

    PHP Designer Personal: http://www.mpsoftware.dk/phpdesigner_personal.php

    The Professional version costs money, you can download a trial but unless you plan on buying it all you really need is the personal one. There are alot of different apps like it if you feel like searching google.

    Anyway that is what I do.

    On a side note, if you want something interesting to do... installing it by hand might help you learn some things about servers. Although the tutorials normally just try to get it running and don't go too in-depth with tweaking.
    Last edited by Jake; 09-08-2007 at 12:52 AM.
    Jake Omann | Developer
    █ 888-X10-9668 - jake[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004
    Premium Hosting | VPS Services

  3. #3
    deadimp is offline x10 Sophmore deadimp is an unknown quantity at this point
    Join Date
    Jun 2007
    Posts
    249

    Re: Setting up a localhost for beginers(me)!

    Programmer's Notepad is my editor of choice, for its compact and simple nature.

    As for XAMPP, I second that. It makes web development much more easier.
    Last edited by deadimp; 09-09-2007 at 12:34 AM.
    deadimp.org
    > Thacmus [v0.3.0] - Open source CMS, PHP 5, MySQL

    "¡Ya lo sabo!" - Lo Ausente

  4. #4
    MaTe1968's Avatar
    MaTe1968 is offline x10Hosting Member MaTe1968 is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    33

    Re: Setting up a localhost for beginers(me)!

    Another good choice is http://www.appservnetwork.com/

    AppServ 2.5.9

    Apache 2.2.4
    PHP 5.2.3
    MySQL 5.0.45
    phpMyAdmin-2.10.2


    AppServ 2.4.9
    Apache 2.0.59
    PHP 4.4.7
    MySQL 5.0.45
    phpMyAdmin-2.10.2

  5. #5
    alquimistabiologico's Avatar
    alquimistabiologico is offline x10 Sophmore alquimistabiologico is an unknown quantity at this point
    Join Date
    Mar 2007
    Location
    Colombia
    Posts
    194

    Re: Setting up a localhost for beginers(me)!

    Quote Originally Posted by MaTe1968 View Post
    Another good choice is http://www.appservnetwork.com/

    AppServ 2.5.9

    Apache 2.2.4
    PHP 5.2.3
    MySQL 5.0.45
    phpMyAdmin-2.10.2


    AppServ 2.4.9
    Apache 2.0.59
    PHP 4.4.7
    MySQL 5.0.45
    phpMyAdmin-2.10.2

    Me too recommend appserv.

    I use it, and is very easy to install and manage

  6. #6
    alfren's Avatar
    alfren is offline x10 Sophmore alfren is an unknown quantity at this point
    Join Date
    Aug 2007
    Location
    Davao City, Philippines
    Posts
    207

    Re: Setting up a localhost for beginers(me)!

    i've also tried XAMPP... its the greatest.. with apache, phpmyadmin, mysql, and a filezilla FTP server which is very COOL!
    www.alfren24.info
    "It's About Me"

  7. #7
    jkotni6's Avatar
    jkotni6 is offline x10Hosting Member jkotni6 is an unknown quantity at this point
    Join Date
    Oct 2005
    Location
    Slovenia
    Posts
    63

    Re: Setting up a localhost for beginers(me)!

    Personally I trued out WAMP and XAMPP and I must say that WAMP is really good, XAMPP... personally I hate it... sometimes it returns errors that have totally no meaning...

+ Reply to Thread

Similar Threads

  1. Setting up Evolution
    By GamingX in forum Free Hosting
    Replies: 4
    Last Post: 08-31-2007, 08:46 PM
  2. Setting up a shop to help support X10hosting
    By lionheart8 in forum Feedback and Suggestions
    Replies: 2
    Last Post: 08-13-2007, 09:13 AM
  3. Replies: 3
    Last Post: 02-23-2006, 01:28 AM
  4. setting website time to gmt?
    By hyeclass in forum Scripts & 3rd Party Apps
    Replies: 6
    Last Post: 01-11-2006, 04:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers