Can PHP be installed on a local machine?

前端 未结 9 1884
灰色年华
灰色年华 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

    I've been pretty happy thus far with the less-bloated XAMPP Lite. And despite the note at that link it's updated as often as XAMPP is.

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2021-01-15 05:48

    You can install PHP in local machine with help of XAMPP, sometimes if skype is installed in local machine, then apache server troubles in starting. Follow this tutorial for troubleshooting the issue. http://www.feelzdroid.com/2015/12/install-php-server-local-machine.html.

    0 讨论(0)
  • 2021-01-15 05:51

    XAMPP is the obvious one, but there is another nice one: The Uniform Server, which is designed to be mobile (i.e. to be used on removable media like CD-ROMs):

    http://www.uniformserver.com/

    0 讨论(0)
  • 2021-01-15 05:55

    Sure. Just download the windows binaries from the php download page. http://www.php.net/downloads.php

    You will need a webserver (such as apache) instealled if you want to parse webpages. But, with just that download you can run php scripts.

    0 讨论(0)
  • 2021-01-15 05:58

    I use the XAMPP LAMP stack. One click install on Windows XP Pro and Home versions.

    0 讨论(0)
提交回复
热议问题