grevisions.blogg.se

Xampp php
Xampp php






Any config change in XAMPP is system wide, you can't easily make changes on a per-site basis.Īnd, as mentioned above, when you want to make your website live, things get much more complicated than using Docker because your server software, config and versions is different to your development environment. Once you want to run more than one site at the same time, Docker is a lot easier. The config files are in different places, you have no choice in software versions, you can't use different server software, installing PHP plugins is significantly more difficult. Why are you still using XAMPP in 2021? You probably don't have an answer other than "It's the only thing I'm familiar with".Īlthough the GUI may be negligibly simpler for starting and stopping the server, any other task is more difficult. You've had eleven years since an easier (and better in many, many ways) solution has been available. By 2010 when Vagrant came out, any pretense of "easier" went out the Window. And at at some point in your career as a PHP developer you'll need to put the scripts on a real web server. With Docker you can just upload the entire application, code and config, and the site will run exactly the same on the server as it does on your development machine.Įven in the early 2000s when it was arguably the simplest choice available I always discouraged people from using it because it gives you zero knowledge of how a web server is actually configured. With XAMPP this process is frustrating and can result in sites just not working without significant changes to file paths, configuration files, etc.

xampp php

Worse, you will eventually want to upload your site to a real server, at which point you'll need to do a lot of work ensuring that PHP versions are the same, configuration and PHP extensions are the same, database users are set up, etc. It's actually a lot more difficult once you want to do something outside the very narrow scope of default configuration that XAMPP supplies.

xampp php

People claim it's "easier" but it's only "easier" insofar as it's what you are used to. Unfortunately many books and tutorials inexplicably still teach XAMPP as the development environment of choice. It was the first thing they were introduced to and they never learned any better or bothered to look into better/alternative solutions. People using XAMPP today are the same kind of people who were still using Internet Explorer 6 well into the 2000s. The answer to the question is invariably no.








Xampp php