Is there any way for me to get a .php file to open in a web browser without a server?
jdam7459 0 Newbie Poster
Recommended Answers
Jump to Postno
Jump to PostYou can setup a server on localhost
did you even read the original post?
without a server?
so, the answer is no
Jump to PostTake a look at XAMPP (there are many others). Its an all-in-one kit that installs apache, php and mysql on your windows PC
Jump to PostPHP 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.
All 16 Replies
jbennet 1,618 Most Valuable Poster Team Colleague Featured Poster
macneato 29 Posting Pro in Training
jbennet 1,618 Most Valuable Poster Team Colleague Featured Poster
macneato 29 Posting Pro in Training
jdam7459 0 Newbie Poster
jbennet 1,618 Most Valuable Poster Team Colleague Featured Poster
macneato 29 Posting Pro in Training
Puckdropper 7 Posting Pro in Training
Nicky Butt 0 Newbie Poster
macneato 29 Posting Pro in Training
DCboy84 0 Newbie Poster
codejoust 8 Junior Poster
almostbob 866 Retired: passive income ROCKS
nika201 0 Newbie Poster
macneato 29 Posting Pro in Training
Arcrammer 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.