Best PHP Web Server for Development

These days I'm starting to work with PHP, and I'm wondering what the best PHP web server might be for a development environment. Ideally, it would be easy to build, live only in the deps directory of the project and be easy to configure. In addition, decent performance will be a plus.

In python land, werkzeug will be equivalent to the type of server I'm thinking of.

+3
source share
4 answers

In my opinion, the best web server for the dev environment is as close as you can reach exactly that web server during production. In some cases, PHP is much less "stand-alone" and then Python, and prevents unpleasant errors and surprises when you push code to a production server. All kinds of chaos can occur when the $ _SERVER array is just that bit that is different from the other, or something works as a (fast) cgi, and not as a module.

+4
source

, , , . , XAMPP/MAMP , ( phpinfo(), ). , , ,

0

, -, Apache - . PHP-, . .

0

- .

: Eclpipse, NetBeans, Vim, xdebug, Firebug/FirePHP, "tail -f/var/log/syslog", phpTest,... , , , lightHttpd Apache.

, . - .

0

Source: https://habr.com/ru/post/1754925/


All Articles