How to run php code without installing apache or xampp or wampserver.

Published: 12 January 2018
on channel: rahul shukla
18,580
like

how to run php code without installing apache or xampp or wampserver.

a. First, Open Project Directory Or Working directory.

b. Open a command prompt by clicking on start button and search command prompt. another option home key + r and type cmd and hit enter.

c. Go to working directory using command cd .

d. when you have reached on working directory, then enter the following command.

php -S localhost:8000

and hit enter.

Note: With PHP 5.4 or newer, you can start learning PHP without installing and configuring a full-fledged web server. To start the server, run above command from your terminal in your project’s web root.

To learn more: http://php.net/features.commandline.w...



Thank's for watching.
Don't forget to like & Subscribe.


On this page of the site you can watch the video online How to run php code without installing apache or xampp or wampserver. with a duration of hours minute second in good quality, which was uploaded by the user rahul shukla 12 January 2018, share the link with friends and acquaintances, this video has already been watched 18,580 times on youtube and it was liked by like viewers. Enjoy your viewing!