
Learn: The PHP Developer Profession from Scratch to PRO
Learn MoreWhich Local Server to Choose
In my opinion, the optimal solution is to use Lampp. This local server stands for Linux, Apache, MySQL, and PHP. Lampp provides a convenient environment for developing web applications, allowing developers to test their projects locally. Thanks to its easy installation and configuration, Lampp is becoming a popular choice among programmers. Users can easily manage databases and develop dynamic websites, making it an ideal tool for web developers.
- X or L — operating system (X is the general name, L — Linux).
- A — Apache (HTTP server).
- M — MySQL or MariaDB (database management system).
- P — PHP (scripting programming language).
- P — Perl (programming language).
Lampp does not have serious alternatives, which emphasizes its uniqueness in the market. However, this is not a critical drawback, since Lampp is supported by an active community that regularly releases updates. Among the disadvantages, one can highlight the lack of a graphical user interface (GUI), but for Linux users this is not considered a significant drawback. Lampp remains a popular solution for developing and testing web applications due to its stability and support.
Installing Lampp
This article presents commands tested on Ubuntu 19.04. However, it should be noted that similar actions can be performed on other Linux distributions. This material will be useful for both beginners and experienced users who want to expand their knowledge of the command line.
First, you need to download the installation file from the official website.

After the download is complete, open Terminal and navigate to the directory where the downloaded file is located. Make sure you are in the correct folder to perform the necessary commands with the downloaded file.
Before changing the file access mode, make sure you have the necessary rights and access to the system. To change the access mode, use the appropriate commands or tools provided by your operating system. This will allow you to control who can view or edit the file, ensuring the security and privacy of data. Changing the file access mode is an important part of data management and information protection.
You can now run the installer.
After the installation is complete, the server will be accessible at /opt/lampp. This path indicates the location of your server files and components, allowing you to easily manage it and configure the necessary settings. Make sure you are familiar with the basic functions and settings to effectively use the server in your projects.
How to run Lampp
To run Lampp, enter the following command in the terminal:
To stop unwanted behavior or negative consequences, several steps must be taken. It's important to analyze the current situation and identify the root causes of the problem. Applying effective strategies and techniques can help change negative habits and improve overall well-being. Consider seeking support from professionals or counselors who can offer professional advice and resources. Setting clear goals and planning actions also play a key role in the change process. Don't forget the importance of self-discipline and persistence on the path to success.
To test the system's functionality, go to http://localhost/. You should see a page that matches the expected result. This allows you to ensure that your web application is configured and functioning correctly.

To simplify the process of starting and stopping the server, you can set up aliases. To do this, open the .bashrc file in your preferred text editor. This will allow you to use short commands instead of long ones, which will significantly save time and simplify working in the terminal. After editing the file, be sure to reload the configuration for the changes to take effect. Setting up aliases is an effective way to streamline your workflows and increase productivity.
After saving the file, reboot your system. You will now be able to manage Lampp using the lampp_start and lampp_stop commands. These commands allow you to easily start and stop the server, providing convenient management of your local web development.
How to use Lampp
Website files are located at the following path:
It is not possible to edit files installed as root. To resolve this issue, run the following command:
In this folder, create a file called test.html and add the text "Hello, World!" to it. You can open it at http://localhost/test.html.

To access phpMyAdmin, go to http://localhost/phpmyadmin/. This interface allows you to manage MySQL databases through a web browser, providing convenient tools for executing SQL queries, creating and editing tables, and managing database users. Make sure the MySQL server is running before attempting to connect to phpMyAdmin.

PHP developer profession from scratch to PRO
You will learn from scratch how to program websites and web applications in PHP, master the Laravel framework, write cloud storage and develop a hotel booking service. You can get a job as a Junior Developer.
Find out more
