PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

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 Codewalkers Forums Sponsor:
  #1  
Old August 6th, 2002, 10:59 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
Installing PHP without a webserver

Is there a way to do that for the use of testing my scripts?

Reply With Quote
  #2  
Old August 7th, 2002, 03:53 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to postalcow
RE: Installing PHP without a webserver

In a nutshell NO. But just install a webserver. If you are using windows then go Apache www.apache.org its small, fast and best of all.. It's Not a microsoft product. Good Luck.

Reply With Quote
  #3  
Old August 7th, 2002, 08:08 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
RE: Installing PHP without a webserver

Okay thanks!

Reply With Quote
  #4  
Old August 7th, 2002, 03:27 PM
EvilivE EvilivE is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Milwaukee, WI USA
Posts: 291 EvilivE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to EvilivE
RE: Installing PHP without a webserver

Great cow!

Anyways, sure you can install PHP without a webserver. I run PHP CLI scripts all the time. Basically there are three ways to invoke PHP:
1) webserver (the most common way)
2) cli (command line interface)
3) gui - use it to create cross-platform gui apps

HTH

Reply With Quote
  #5  
Old August 7th, 2002, 04:38 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to postalcow
RE: Installing PHP without a webserver

Sure, you can use it in the ways you say. I use PHP for my backup scripts. But I'm sure that he is doing something that needs displayed in a browser.

I could swim to Hawaii too. But I would rather take a plane or a boat. He is obviously new at this and he needs the least painful way of doing things. I suppose I should have said yes you can, without a browser but if your new to PHP it would be less painful to wack yourself in the nuts with a hammer than try to explain debuging through command line especially after it pukes on the HTML that I'm sure he is trying to incorporate within his scripts.

Well thats just my two cents. It might be a lot of "Bull" or my mind might be out in the pasture some. Hell maybe I just think the grass is greener on the other side of the fence and it confuses me. Oh well Moo

Reply With Quote
  #6  
Old August 7th, 2002, 09:25 PM
EvilivE EvilivE is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Milwaukee, WI USA
Posts: 291 EvilivE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to EvilivE
RE: Installing PHP without a webserver

You were able to gather all that info about an anonymous poster from one sentence?!

Could you tell us where the S&P 500 will finish this year?

Reply With Quote
  #7  
Old August 7th, 2002, 10:18 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to postalcow
RE: Installing PHP without a webserver

I would tell you where the S&P will finish at. But there is a problem. You will end up making so much money and you will be drowned in women then you will bet it all or pork bellys loose all you money then you will come crying to me for a loan. I'm just a lonely polymeric chemist with a crappy life of my own I don't need you on my door step, living in a cardboard box. Then my kids will feel sorry for you and start bringing you table scraps to survive.

So thank me now form keeping you from a life of turmoil

Reply With Quote
  #8  
Old August 7th, 2002, 10:20 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
RE: Installing PHP without a webserver

Acually Mr Cow was correct.

Reply With Quote
  #9  
Old January 12th, 2009, 11:43 AM
harry1193 harry1193 is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 2 harry1193 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 59 sec
Reputation Power: 0
answer the question

You two guys amaze me, this guy asked a question and you towo are arguing over who is right or wrong in the way you answered his question....just answer the question already, neither one of you told him how to do it.

Reply With Quote
  #10  
Old January 12th, 2009, 12:06 PM
harry1193 harry1193 is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 2 harry1193 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 59 sec
Reputation Power: 0
inbstalling php cgi

1 install php. when the list of servers come up select CGI

2 In the command line...
Type this set path %path%;"c:\Program Files\PHP"
Type exactly the same, this will set the path to the php
programs. If you install thenm in a different location you will
have to change the location in the line.
3 When writing a script always use the following format.
Dont know if all of it is needed but this is the way I do it.

#!/usr/local/bin/php
<?php
----your code goes here----
?>

thats it. write a code and in command line, if you put your script in the C root directory, you woyuld type php and you file
as in php test.php. Always end the file extension as .php

Reply With Quote
  #11  
Old January 13th, 2009, 01:47 AM
IAmALlama IAmALlama is offline
Me
Click here for more information. Click here for more information
Click here for more information
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 1,937 IAmALlama User rank is Private First Class (20 - 50 Reputation Level)IAmALlama User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 5 Days 1 h 54 m 18 sec
Reputation Power: 4
wow, arguing about a thread well over 6 years old...you amaze me.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > Installing PHP without a webserver


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




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek