I
I
Ilya2018-11-25 11:57:48
macOS
Ilya, 2018-11-25 11:57:48

What web server to use on a Mac?

Sorry, I'm just learning. I will describe the question in simple language.
I have a Macbook with Mac OS version 10.14.1.
I'm writing a PHP site in PHP storm. How to watch the site that I get?
Perhaps I'm wrong, but I think it's better not to deploy immediately, but to watch the result of work on a local web server.
This is my question. Please advise which local server is more convenient to use: built-in, MAMP, XAMPP or another.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
Ivan Koryukov, 2018-11-25
@sidorchik

Mamp, xampp and others are not web servers, but a set of programs with a control panel. All of them contain the Apache web server, MySQL DBMS and PHP interpreter.
Therefore, it does not matter at all which assembly you choose. At the initial stage, there is no difference between them - turned on and works. Then either you have to dig deeper and you will love to try different things and even learn how to work directly with programs. Or you don’t have to dig deeper, and then it doesn’t matter what you put.

I
Ivan Shumov, 2018-11-25
@inoise

I started with MAMP, but I quickly stopped getting enough of it and installed everything myself through brew

A
Andrey Surzhikov, 2018-11-25
@Surzhikov

Install vagrant with Linux (ubuntu/debian is best in your case),
install apache2/nginx and everything else via apt (a few simple commands).
And use this link.
Reason: when it comes to production, it will be easier, since the basic knowledge of Linux will already be there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question