Running PHP Scripts

SpaceshipSpaceship
NamecheapNamecheap
Namecheap AuctionsNamecheap Auctions
Watch
Impact
66
is it possible to run a PHP script without uploading it to a server that can parse it? i want to be able to just open it like an html file and have the script be run. it makes debugging a lot more easier when i dont have to upload it after adding a semicolon just to see if it works. i think this is possible on a mac, but i want to do this on windows.

also, i dont want to turn my computer into a server either. can u install the parser without makin the pc into a server?
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
install easyphp, you start and stop it as required
 
0
Close
If you want to run it from your pc, you need to install webserver (I recommend apache) and php (+mysql if you need it). The fastest way to do that is to use EasyPHP

http://www.easyphp.org/

edited: oh, ReaperUK was faster :blink:
 
0
Close
I've never used easyPHP. But it sounds a lot like xampp. Xampp is a program which installs multiple PHP programs including PHP itself, MySQL and apache. It's very easy to use but EasyPHP is probably easier
 
0
Close
wow easy php is a godsend!!!

thnx a lot!

one question tho (because i dont speak french lol)

this doesnt cause a vulnerability on my comp to hackers, rite?
 
0
Close
it shouldn't, especially if your behind a router. you should be safe.
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back