

To check your installation, open your browser and type the following URL address: The AMP welcome page appears.Ĭonfigure a local interpreter as described in Configure local PHP interpreters. Save the configuration file and restart the Web server.

Locate the line ServerName localhost:80 and change it accordingly, in this example to ServerName localhost:8080. Locate the line Listen 80 and change it to, for example Listen 8080. To solve the issue, update the server configuration file as follows: This port can be already used by other services, for example, Skype. By default, the Apache HTTP server listens to port 80. If the web server does not start, most likely a port conflict takes place. Use the AMP control pane to start the components. Install and configure an AMP packageĭownload and install the desired AMP package. This folder is write-protected by default, which means that no files can be placed on the server and further processed by the PHP engine. If you are using Windows Vista, avoid installing the package in the Program Files folder. The installation procedure depends on the operating system used, follow the installation instructions provided. It is recommended that you use version 1.7.1 or later. The LAMP package compatible with the Linux distribution used. Lastly, go to your browser and open the link of connection_ packages are operating system-specific. Write a coding below: connect_error)ĭie("Connection failed:". In order to test the user that we created, let create a php file name “ connection_mysql.php“. If you got an error, go to SQL tab, and type: FLUSH PRIVILEGES Step 5: Create a new userįor our own safety, we need to create our user so that the hacker cannot access our account.

We going to used this password for the next tutorial. Set your password such as “1234” at line 21 as shown below. The file is located at C:\xampp\phpMyAdmin When you set the password in mySQL through the phpMyAdmin, you also need to set the password in a file named. Go to Edit privileges and click change password tab. You can choose the user account that you want to set the password. It is better to set the password of your MySQL (Database server). In order to check whether the mySQL is work or not, Open your browser and enter This will bring you to the MySQL setup page: XAMPP only offers MySQL (Database Server) & Apache (Webserver) in one setup and you can manage them with the xampp starter.Īfter the successful installation navigate to your xampp folder and execute the xampp-control.exe Today I going to show on how to access MySQL and phpMyAdmin using XAMPP.
