2
Contributors
2
Replies
12
Views
3 Years
Discussion Span
Last Post by RikTelner
0

If you want to run PHP on your local machine you should install a LAMP package (usually called WAMP if it's on a Windows machine) that provides you with your own local server and supports MySQL (and usually SQLite) databases. PHP is part of the package but you also need a version of Apache and MySQL. I use a package called Uniform Server (Uniserver). There are quite a few others including WAMP and XAMPP. You just install the package, put your code in the right folder and you can be up and running without having to really understand the internal complexity of assembling an environment that works.

If you want to run PHP as if it was a desktop application (ie without any server environmentat all - even local), that isn't a common way to do it and there isn't much software available to support it. PHP is meant to be run using a server environment.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.