PHP without server

Reply

Join Date: Jun 2007
Posts: 12
Reputation: jdam7459 is an unknown quantity at this point 
Solved Threads: 0
jdam7459 jdam7459 is offline Offline
Newbie Poster

PHP without server

 
0
  #1
Jun 14th, 2007
Is there any way for me to get a .php file to open in a web browser without a server?
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,216
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 537
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: PHP without server

 
0
  #2
Jun 14th, 2007
no
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 211
Reputation: macneato is an unknown quantity at this point 
Solved Threads: 18
macneato's Avatar
macneato macneato is offline Offline
Posting Whiz in Training

Re: PHP without server

 
0
  #3
Jun 18th, 2007
Yes this is possible. You can setup a server on localhost (127.0.0.1). Google easyPHP. If you need any more assistance with setting up the application. Give me a shout
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,216
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 537
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: PHP without server

 
0
  #4
Jun 18th, 2007
Originally Posted by macneato View Post
You can setup a server on localhost
did you even read the original post?

Originally Posted by jdam7459 View Post
without a server?
so, the answer is no
Last edited by jbennet; Jun 18th, 2007 at 4:34 am.
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 211
Reputation: macneato is an unknown quantity at this point 
Solved Threads: 18
macneato's Avatar
macneato macneato is offline Offline
Posting Whiz in Training

Re: PHP without server

 
0
  #5
Jun 18th, 2007
Technically no. But he propably just didn't phrase the question right.
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 12
Reputation: jdam7459 is an unknown quantity at this point 
Solved Threads: 0
jdam7459 jdam7459 is offline Offline
Newbie Poster

Re: PHP without server

 
0
  #6
Jun 18th, 2007
how would i set that up im trying to learn php!?!? im curious
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,216
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 537
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: PHP without server

 
0
  #7
Jun 19th, 2007
Take a look at XAMPP (there are many others). Its an all-in-one kit that installs apache, php and mysql on your windows PC
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 211
Reputation: macneato is an unknown quantity at this point 
Solved Threads: 18
macneato's Avatar
macneato macneato is offline Offline
Posting Whiz in Training

Re: PHP without server

 
0
  #8
Jun 19th, 2007
with easyphp you dont have to setup nothing. download, install, open application. [CLICK ON THE LITTLE TRAFFIC LIGHT]. If the light goes green your good to go.
In your browser, type in "http://127.0.0.1" or right click on your active application icons (near the clock) you'll get an option to view easyphp localweb. lastly, move all your php documents into installation directory%easyphp/www/

MAGIC. it works

dont forget to refresh browser
Last edited by macneato; Jun 19th, 2007 at 7:30 am.
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 494
Reputation: Puckdropper is an unknown quantity at this point 
Solved Threads: 21
Puckdropper Puckdropper is offline Offline
Posting Pro in Training

Re: PHP without server

 
0
  #9
Jun 20th, 2007
PHP includes a command-line interpreter. You can run your PHP script through that, direct the output to a file and open that file in the web browser.

So, yes, it's possible. It quickly gets tiring, though. That's why most developers use EasyPHP or XAMPP on their machines.
www.uncreativelabs.net

Old computers are getting to be a lost art. Here at Uncreative Labs, we still enjoy using the old computers. Sometimes we want to see how far a particular system can go, other times we use a stock system to remind ourselves of what we once had.
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 1
Reputation: Nicky Butt is an unknown quantity at this point 
Solved Threads: 0
Nicky Butt Nicky Butt is offline Offline
Newbie Poster

Re: PHP without server

 
0
  #10
Jun 20th, 2007
Hi, This post is very informative, however I would like some specific information. If someone can help me then please send me a private message. Best Regards,
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC