+ 2

How to run php programs in desktop on any browser ?

please mention needed software and tricks

3rd Jul 2017, 4:52 PM
harsh kathiriya
harsh kathiriya - avatar
4 Réponses
+ 5
"http://localhost/" is a special domain name that refer to your local computer (running the web server) wich is replaced with the IP url "http://127.0.0.1/" (not 127.0.1 -- two zero instead one... usually you can avoid prefix wich would be automatically addded by your browser) refering to the local machine itself ('localhost' special domain name is treated before any DNS query).
26th Oct 2017, 9:26 PM
visph
visph - avatar
+ 3
When I'm working on stuff and don't want to put it on the production server yet, I'll test run things from my localhost computer by using WebMatrix 3. Most of the time I operate directly from my web server, but this may serve to your purposes.
3rd Jul 2017, 4:54 PM
AgentSmith
+ 3
thanks netkos and josh but some people said that type 127.0.1 in url address bar and then your folder path in which your programs are there,is it true for xamp web server?
4th Jul 2017, 3:05 AM
harsh kathiriya
harsh kathiriya - avatar
0
Wamp/ xamp are Web-sever(software solutions) that allow you to execute PHP on a desktop or laptop. Once installed place your. PHP file in the correct folder and open your browser. Then type "localhost/"relative file path from From folder containing all web docs.
3rd Jul 2017, 5:04 PM
josh mizzi
josh mizzi - avatar