Jump to content

Archived

This topic is now archived and is closed to further replies.

mistergoomba

Running PHP Scripts Locally

Recommended Posts

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...

Share this post


Link to post
Share on other sites
You can run some php scripts from the command line without the use of a server, assuming you've installed PHP.
[code]
php -q -f <your script file here>
[/code]
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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.