943,987 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 8255
  • PHP RSS
You are currently viewing page 1 of this multi-page discussion thread
Jun 14th, 2007
0

PHP without server

Expand Post »
Is there any way for me to get a .php file to open in a web browser without a server?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jdam7459 is offline Offline
12 posts
since Jun 2007
Jun 14th, 2007
0

Re: PHP without server

no
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is online now Online
16,522 posts
since Apr 2005
Jun 18th, 2007
0

Re: PHP without server

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
Reputation Points: 46
Solved Threads: 48
Posting Pro in Training
macneato is offline Offline
414 posts
since Jun 2007
Jun 18th, 2007
0

Re: PHP without server

Click to Expand / Collapse  Quote originally posted by macneato ...
You can setup a server on localhost
did you even read the original post?

Click to Expand / Collapse  Quote originally posted by jdam7459 ...
without a server?
so, the answer is no
Last edited by jbennet; Jun 18th, 2007 at 4:34 am.
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is online now Online
16,522 posts
since Apr 2005
Jun 18th, 2007
0

Re: PHP without server

Technically no. But he propably just didn't phrase the question right.
Reputation Points: 46
Solved Threads: 48
Posting Pro in Training
macneato is offline Offline
414 posts
since Jun 2007
Jun 18th, 2007
0

Re: PHP without server

how would i set that up im trying to learn php!?!? im curious
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jdam7459 is offline Offline
12 posts
since Jun 2007
Jun 19th, 2007
0

Re: PHP without server

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
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is online now Online
16,522 posts
since Apr 2005
Jun 19th, 2007
0

Re: PHP without server

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.
Reputation Points: 46
Solved Threads: 48
Posting Pro in Training
macneato is offline Offline
414 posts
since Jun 2007
Jun 20th, 2007
0

Re: PHP without server

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.
Reputation Points: 23
Solved Threads: 23
Posting Pro in Training
Puckdropper is offline Offline
494 posts
since Jul 2004
Jun 20th, 2007
0

Re: PHP without server

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,
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Nicky Butt is offline Offline
1 posts
since Jun 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Ban a user for x time
Next Thread in PHP Forum Timeline: Execute cron job php function..





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC