IBM developerWorks
           Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 31st, 2001, 08:31 PM
DJdrenaline DJdrenaline is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2001
Location: Toronto, Ontario, Canada
Posts: 631 DJdrenaline User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 4 sec
Reputation Power: 8
Free Sever

Hey,

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

Thanks for the help

Reply With Quote
  #2  
Old July 31st, 2001, 08:57 PM
Captain Zig Captain Zig is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: CT, USA
Posts: 7 Captain Zig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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

Reply With Quote
  #3  
Old August 1st, 2001, 03:41 PM
DJdrenaline DJdrenaline is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2001
Location: Toronto, Ontario, Canada
Posts: 631 DJdrenaline User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 4 sec
Reputation Power: 8
Thanks Captain,

That's something like I was looking for until I get my own server/domain.

Reply With Quote
  #4  
Old August 1st, 2001, 03:46 PM
DJdrenaline DJdrenaline is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2001
Location: Toronto, Ontario, Canada
Posts: 631 DJdrenaline User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 4 sec
Reputation Power: 8
I installed it, and ran Apache. Does that mean PHP is running?

Reply With Quote
  #5  
Old August 1st, 2001, 04:06 PM
Justas G Justas G is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Lithuania
Posts: 192 Justas G User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 53 sec
Reputation Power: 8
<?
echo "Hello world!";
?>
and you'll know

Reply With Quote
  #6  
Old August 1st, 2001, 04:50 PM
sLiPkNoT rUlEz sLiPkNoT rUlEz is offline
PHP Coder
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Ontario
Posts: 66 sLiPkNoT rUlEz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to sLiPkNoT rUlEz Send a message via AIM to sLiPkNoT rUlEz Send a message via Yahoo to sLiPkNoT rUlEz
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.

Reply With Quote
  #7  
Old August 1st, 2001, 04:57 PM
Justas G Justas G is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Lithuania
Posts: 192 Justas G User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 53 sec
Reputation Power: 8
LOL, your sig, Slipknot, still cracks me up whenever I see it

Reply With Quote
  #8  
Old August 1st, 2001, 05:13 PM
DJdrenaline DJdrenaline is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2001
Location: Toronto, Ontario, Canada
Posts: 631 DJdrenaline User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 4 sec
Reputation Power: 8
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 .

Reply With Quote
  #9  
Old August 1st, 2001, 05:41 PM
Justas G Justas G is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Lithuania
Posts: 192 Justas G User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 53 sec
Reputation Power: 8
I left you a message in ICQ

Reply With Quote
  #10  
Old August 1st, 2001, 06:25 PM
DJdrenaline DJdrenaline is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2001
Location: Toronto, Ontario, Canada
Posts: 631 DJdrenaline User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 4 sec
Reputation Power: 8
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.

Reply With Quote
  #11  
Old August 1st, 2001, 07:02 PM
sLiPkNoT rUlEz sLiPkNoT rUlEz is offline
PHP Coder
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Ontario
Posts: 66 sLiPkNoT rUlEz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to sLiPkNoT rUlEz Send a message via AIM to sLiPkNoT rUlEz Send a message via Yahoo to sLiPkNoT rUlEz
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...

Reply With Quote
  #12  
Old August 1st, 2001, 07:11 PM
DJdrenaline DJdrenaline is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2001
Location: Toronto, Ontario, Canada
Posts: 631 DJdrenaline User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 4 sec
Reputation Power: 8
I did this in the browser buy I get a 403 error: forbidden access.

htt://localhost/c:/windows/desktop/phptest.php .

Reply With Quote
  #13  
Old August 1st, 2001, 07:28 PM
sLiPkNoT rUlEz sLiPkNoT rUlEz is offline
PHP Coder
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Ontario
Posts: 66 sLiPkNoT rUlEz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to sLiPkNoT rUlEz Send a message via AIM to sLiPkNoT rUlEz Send a message via Yahoo to sLiPkNoT rUlEz
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.

Reply With Quote
  #14  
Old August 1st, 2001, 07:41 PM
DJdrenaline DJdrenaline is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2001
Location: Toronto, Ontario, Canada
Posts: 631 DJdrenaline User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 4 sec
Reputation Power: 8
Thanks

but I still get that forbidden error, but not in http://localhost

Reply With Quote
  #15  
Old August 1st, 2001, 07:47 PM
DJdrenaline DJdrenaline is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2001
Location: Toronto, Ontario, Canada
Posts: 631 DJdrenaline User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 4 sec
Reputation Power: 8
nm i did it
php works!! :

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDev Shed Lounge > Free Sever


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump