+ 2
How can I run PHP scripts on the pc
am now to php. I would like run the scripts on the pc .I use chrome for running the html files. I have tried putting the php file in it but I don't get any change when I open it in the browser
5 Answers
+ 9
Adding alternative to @nik1082 answer, you can try also XAMPP, it runs on Windows, Linux or OSX.
https://www.apachefriends.org
+ 5
@Derick, You're welcome : )
+ 4
PHP is a server-side language and therefore cannot run on a local filesystem. You must install a web server and put all your source files there for PHP to work. Here's one:
http://www.wampserver.com/en/
+ 2
thank you
+ 2
You can execute PHP script without a web server (with some limitations), but you cannot use it for his purposes (that is coupled with a web server)