Answer the question
In order to leave comments, you need to log in
Lamp or Denwer? Explain in detail: what is Lamp?
I have two OC:: Linux and Windows. I want to start learning php. Where is it better to do this on windows (denwer) or linux (lamp). And I also don’t really understand what LAMP is: is it a server that you can connect to via the Internet and host a website on it or can it work locally? Please explain in detail.
Answer the question
In order to leave comments, you need to log in
ready-made webserver (package) for linux which includes php5.6 apache and mysql
to host the site can work (but for this the server must have a permanent ip address and domain name)
I recommend installing open_server or winginx (under windows)
for most people both tools fit
Install OpenServer and start programming. You will still have time to suffer with LAMP configs. Forget Denver.
PHP is enough to start learning PHP.
Ubuntu 16.4: apt-get install php7.0-cli
Then from project folder: php -S localhost:8080
don't listen to the LyberTeam ... that's the stupid tip of the week. do not fill your brain with unnecessary information about Linux ... which will now swell anyway. work in a familiar environment.
put Denver and spur forward. and solve questions as they come!
It doesn't matter at all which OS to use for learning, especially since you're learning the basics.
Do it under a system that is more convenient for you personally, under which there is a more convenient editor / browser / other programs for you personally.
The only thing - if it is Windows, spend half an hour reading about the file system on Linux, or rather about the fact that in Linux the case of letters matters, that is, File.txt and file.txt are two different files, and that the section does not start with letters a from the root /, after that just write in such a way that it would be easy to make your project work under any OS.
https://ru.wikipedia.org/wiki/LAMP you just install Apache, php and mysql on your linux and it turns into a web server.
whatever you want to start. no difference. what will be comfortable for you.
LAMP is not a server, not a service, not a host, not Yura, not Zhora, not Gosh :) LAMP is just an abbreviation for a certain development technology - L inux, A pache, M ysql, P HP. The same can be done in Windows, where the same abbreviation is called WAMP.
Denwer is not worth using - if you want to work in Windows - well, work. Install apache, mysql and PHP yourself - this will be more useful, otherwise you will end up like a "blonde at the wheel" who was taught to drive a car, but forgot to say that sometimes you need to fill it with gasoline :)
A lot of advice, and no one offered to buy hosting.
150 rubles / month - a penny in our time.
You can easily change the php version through the admin panel. Convenient log storage for tracking errors.
I have already brought 3 people from the Toaster, I can recommend you too.
LAMP:
Linux -
Apache OS -
MySQL server -
PHP server - PL + compiler
Install OpenServer, it has a very convenient desktop socket for management and configuration. Denver just doesn't compare, it's like the moon with seeds.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question