Jump to content


Photo

Running PHP Scripts Locally


  • Please log in to reply
3 replies to this topic

#1 mistergoomba

mistergoomba
  • Members
  • PipPip
  • Member
  • 16 posts

Posted 10 April 2006 - 10:06 PM

Is there a program that will let me run basic php scripts without the use of a web server? I realize it's a long shot, but what the hey...

#2 kenrbnsn

kenrbnsn
  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 10 April 2006 - 10:13 PM

You can run some php scripts from the command line without the use of a server, assuming you've installed PHP.
php -q -f <your script file here>
If you're on a windows platform, you can install your own Apache web server, php and mysql and invoke PHP via the URL <http://localhost/<path to your script>.php>

Do a lookup on xampp for one of the packages.

Ken

#3 mistergoomba

mistergoomba
  • Members
  • PipPip
  • Member
  • 16 posts

Posted 11 April 2006 - 01:13 AM

awesome! thanks a lot!

#4 mistergoomba

mistergoomba
  • Members
  • PipPip
  • Member
  • 16 posts

Posted 11 April 2006 - 02:35 AM

holy shit! xampp is exactly what i needed! you are my hero!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users