Can PHP be installed on a local machine?

前端 未结 9 1896
灰色年华
灰色年华 2021-01-15 05:17

For Web-dev, can the PHP Processor be installed on a regular Windows XP machine, such that viewing PHP files through a browser executes the PHP script? (NOT Windows Serv

9条回答
  •  星月不相逢
    2021-01-15 05:46

    You can, as already mentioned, go about it the easier way by installing something like XAMPP (my personal favorite) or, if you want to mimic something closer to a server environment, install VirtualBox/VirtualPC and create a virtual machine running Debian or whatever server OS you need, with the appropriate PHP, Apache2 (etc...) packages.

    I find this to be sometimes preferable to using XAMPP, since XAMPP comes packaged with a specific set of Apache or PHP modules and you may need something not already pre-packaged with XAMPP.

提交回复
热议问题