Thread: Free Sever

Page 1 of 2 12 Last
  • Jump to page:
    #1
  1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2001
    Location
    Toronto, Ontario, Canada
    Posts
    631
    Rep Power
    14

    Free Sever


    Hey,

    I'm looking for a free server, that supports php, perl, cgi, etc.

    Thanks for the help
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Location
    CT, USA
    Posts
    7
    Rep Power
    0

    Exclamation PHP Triad


    Hi, DJ

    Give PHP Triad a try (http://phpgeek.com/phptriad.php).

    That is if you want to set things up on a Win PC.

    PHP Triad will install Apache web server, PHP, and MySQL on your machine. You can then fire up Apache from the Start menu. I've been using it at home to test scripts and such.

    I haven't tried any Perl scripts on it though.

    -Zig
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2001
    Location
    Toronto, Ontario, Canada
    Posts
    631
    Rep Power
    14
    Thanks Captain,

    That's something like I was looking for until I get my own server/domain.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2001
    Location
    Toronto, Ontario, Canada
    Posts
    631
    Rep Power
    14
    I installed it, and ran Apache. Does that mean PHP is running?
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2001
    Location
    Lithuania
    Posts
    192
    Rep Power
    14
    <?
    echo "Hello world!";
    ?>
    and you'll know
  10. #6
  11. No Profile Picture
    PHP Coder
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Location
    Ontario
    Posts
    66
    Rep Power
    14
    firepages phpdev4 will have perl 5.6, but until then phpdev3's got PHP 4.0.4, MySQL 3.23, and Apache, all configured up.

    http://www.firepages.com.au/devindex.html


    No matter what you have, you'll know if it's working by writing a short script, (you can skip this step with phpdev -- it comes with examples) saving it as index.php in whatever dir you set your localhost to, going to http://localhost and if you see PHP output, it's up and working

    As for perl, just pick up ActivePerl from ActiveState.
    Click here and wait. It's a kewl effect, trust me.
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2001
    Location
    Lithuania
    Posts
    192
    Rep Power
    14
    LOL, your sig, Slipknot, still cracks me up whenever I see it
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2001
    Location
    Toronto, Ontario, Canada
    Posts
    631
    Rep Power
    14
    How do I put php in a document? Putting the <? ... ?> in .html and .php documents does nothing.

    And when I went to run PHP, I got an error parsing browsecap.ini .
  16. #9
  17. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2001
    Location
    Lithuania
    Posts
    192
    Rep Power
    14
    I left you a message in ICQ
  18. #10
  19. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2001
    Location
    Toronto, Ontario, Canada
    Posts
    631
    Rep Power
    14
    Thanks Justas...

    I got the phpdev3 from firepages. When I run the program, everything seems to work, but when I open a .php document, and go to look at it with ie, it does nothing. It asks me what program to open a .php file with.
  20. #11
  21. No Profile Picture
    PHP Coder
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Location
    Ontario
    Posts
    66
    Rep Power
    14
    Double-clicking doesn't work, you need to get there from http://localhost/somedir/anotherdir/file.php

    Instrucs are there for changing where http://localhost is, by default it's c:\phpdev3\www I think. It's done this way so you don't open up your hard drive by default.

    apache handles http:// connections, your OS handles file:// connections, so double-clicking won't work...
    Click here and wait. It's a kewl effect, trust me.
  22. #12
  23. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2001
    Location
    Toronto, Ontario, Canada
    Posts
    631
    Rep Power
    14
    I did this in the browser buy I get a 403 error: forbidden access.

    htt://localhost/c:/windows/desktop/phptest.php .
  24. #13
  25. No Profile Picture
    PHP Coder
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2001
    Location
    Ontario
    Posts
    66
    Rep Power
    14
    You can't go upwards from the document root (the folder for http://localhost), that would be a security risk. You will need to change your document root in httpd.conf if you want to be able to go from the C:\ dir.

    if your document root is set to C:\serverfiles\ and it contains a subdirectory named \stuff\ and IT contains a file named index.html, you can reference C:\serverfiles\stuff\index.html like http://localhost/stuff/index.html

    Instructions are provided for editing your document root here.
    Click here and wait. It's a kewl effect, trust me.
  26. #14
  27. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2001
    Location
    Toronto, Ontario, Canada
    Posts
    631
    Rep Power
    14
    Thanks

    but I still get that forbidden error, but not in http://localhost
  28. #15
  29. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2001
    Location
    Toronto, Ontario, Canada
    Posts
    631
    Rep Power
    14
    nm i did it
    php works!! :
Page 1 of 2 12 Last
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo