Friday, September 9, 2016

Starting XAMPP in macOS Using Terminal

XAMPP is a free and open source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages. XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P). It is a simple, lightweight Apache distribution that makes it extremely easy for developers to create a local web server for testing and deployment purposes. Everything needed to set up a web server – server application (Apache), database (MariaDB), and scripting language (PHP) – is included in an extractable file. XAMPP is also cross-platform, which means it works equally well on Linux, Mac and Windows. Since most actual web server deployments use the same components as XAMPP, it makes transitioning from a local test server to a live server extremely easy as well. (Wikipedia)

How to starting XAMPP using Terminal in macOS?

1. Open your Terminal
2. Type the following command then press Enter
sudo /Applications/XAMPP/xamppfiles/xampp start
3. Type your password and press Enter again

Now open your browser and go to 127.0.01 or localhost to make sure that XAMPP is already started successfully
If you're starting XAMPP in the first time, you'll be redirected to the following address such as this picture :

Just click on what language you'll be used. But if you have ever open it you'll be redirected to this address :

No comments:

Post a Comment