J
Many think there are differences between wamp, xampp and php, which are "distinct" servers.What are ready packagesThe wamp, zwamp, xampp and easyphp are not "servers" are installation packages with a number of programs that include:apache (HTTP server)mysql (data server running on a separate door and only accompanies but is not connected directly)php (dynamic language that will run next to the HTTP server by apache2handler or fastcgi)So they are packages that pre-install apache, mysql and php and usually follow from a "dashboard" to Desktop that controls all 3, some of them install more than php, apache and mysql.Differences between wamp, zwamp, xampp and easyphpwamp is only for Windows and installation accompanies PHP, Apache, mysql, phpmyadmin and has packages for x86 and x64 processor versions.(extra: A version of it supports PHP5.6 and PHP7, which can switch)W.A.M.P means: Windows, APache, Mysql/MariaDB, PHPThe zwamp (seems to be discontinued), accompanies Apache, MySQL, PHP, MiniPerl, MongoDB, XCache, Adminer (similar to phpmyadmin) and PHP MongoDB (similar to phpmyadmin but to mongodb), it is only for windows and has packages for x86 and x64 processor versionsZ.W.A.M.P means: Zero-install, Windows, APache, Mysql/MariaDB, PHPXampp supports Windows, Mac OSX, Linux distros, Solaris, accompanies PHP, mysql, Apache, mariadb (or mysql), perl, phpmyadmin and a number of other programs and has packages for x86 and x64 processor versions varying according to the operating system.(extra: A version of it supports PHP7)X.A.M.P.P. means: X (any system), APache, Mysql/MariaDB, PHP and PErlEasyPHP, even the name says if we translate, it would be something like easy php, or better uncomplicated php! It has the following PHP, Apache, MySQL, Nginx (alternative to apache, can switch between both), PhpMyAdmin, PostgreSQL, MongoDB, Python, Ruby and running only on Windows, has packages for x86 and x64 processor versions.(extra: A version of it supports PHP7 and can also be interesting for those who want to install Ruby on Windows, because manual installation is sometimes complicated)wamp, zwamp, xampp and easyphp are php.net officers?PHP is a program that interprets php language scripts (the extension can be customized) both by web servers and by CGI command line or port, not wamp, zwamp, xampp and easyphp are not php officers, in fact you can download php, mysql and apache alone and create your own package or server. The wamp, zwamp, xampp and easyphp are nothing more "installation facilitators" which usually contains a control panel to facilitate also and are maintained by different people.Note that in linux systems such as Ubuntu and Debian you do not need to install Xampp, you can simply use the apt-get and it will download from the repositories. So wamp, zwamp, xampp, easyphp and installation by repositories are nothing more than installation packages that sometimes see accompanied by some extra tools, all to make it easy only.Is PHP a server?PHP is an interpreter of "php scripts", however from the PHP5.4 version it can rather be used as an independent server, but not for production but only for the development environment, thus making Apache "unnecessary" in some cases and it can work with http://php.net/manual/en/features.commandline.webserver.php , type in cmd:cd C:\User\Usuario\Documents\projeto1
php -S localhost:8000
or terminal:cd ~/projeto1
php -S localhost:8000
And then in the browser go http://localhost:8000, ready you have a development server downloading only PHP without having to install anything else, of course if you need mysql for example you will need to download, but you can download both alone and install: http://php.net/downloads.php https://www.mysql.com/downloads/ However use .htaccess with it will not work, although it is possible to simulate with the php "router". The main foundation of PHP is to run the PHP scripts.Extra:To understand the difference of phpmyadmin and mysql read the following question: https://pt.stackoverflow.com/q/115691/3635