1. Install the operating environment
Install one of the following programs:
XAMPP
WampServer
Laragon
Laragon or XAMPP are recommended for beginners.
2. Start the services
After installation, start:
Apache
MySQL
Their status should be Running.
3. Copy Project Files
Place the project files in the following folder:
XAMPP
C:\xampp\htdocs\
Example:
C:\xampp\htdocs\myproject
Laragon
C:\laragon\www\
Example:
C:\laragon\www\myproject
4. Create the Database
Open:
http://localhost/phpmyadmin
Then:
Click New
Enter the database name
Click Create
Example:
digital_marketplace
5. Import the SQL File
If the project contains a file:
database.sql
or
backup.sql
Do the following:
Open the database.
Click Import.
Select the SQL file.
Click Go.
6. Modify the Database Connections
Look for the connection file, such as:
config.php
or
db.php
or
database.php