1 decade ago by sdwrage
I know a lot of people here have been using L/M/WAMP, Ruby, or even Node.js to host your applications and this is perfectly fine... but what if you don't want to install all of that to get yourself going? With the advent of PHP 5.4, PHP now has its own self contained server that you can use. All you need to do is go to your command line and navigate to your folder (There are tutorials online on how to use command line).
Then you will need to type:
php -S localhost:7000
This will start a server for you to use. Now you can navigate to localhost:7000 in any browser to view your game (make sure your index file in in that folder).
Easy :)
Then you will need to type:
php -S localhost:7000
This will start a server for you to use. Now you can navigate to localhost:7000 in any browser to view your game (make sure your index file in in that folder).
Easy :)