It is completely free and easy to install Apache distribution containing MySQL, PHP, and Perl. First, download XAMP from https://www.apachefriends.org/download.html. In the first page, select the components you want to install.
Select the installation directory so that all the components that you choose will be installed in this directory.
XAMP also allows you to easily install PHP based applications. Bitnami module provides the easiest way to install WordPress, Drupal or Joomla among others on top of your XAMP after the installation you will see the control panel.
Once you are done with Xampp installation, let’s move ahead and see how to run a PHP file in xampp server.
-
Download this repository as zip file. Extract it and rename folder as "jobportal"
-
After completion of the installation, you can use the XAMPP Control Panel to start/ stop all servers.
-
Start Mysql and Apache servers.
-
Copy that folder (jobportal) to "htdocs" (C:/Program Files/XAMPP/htdocs)
-
You can also create any folders inside "htdocs" folder and save codes over there.
- Select phpMyAdmin tab
Alternatively, you may access phpMyAdmin via the XAMPP manager / controller, click Go to Application button to access XAMPP dashboard. The main page should look similar to the following
Let's create a jobportal database. To create a database, there are several options.
You may use the Create database feature.
- On the phpMyAdmin screen, select the Databases tab. Alternatively, you may click the New link on the left panel.
- Under the Create database, enter a Database name
- Click the Create button
- On the phpMyAdmin screen, select the jobportal database
- Select the Import tab
- Choose the jobportal.sql file to import
- Click the Go button to run the command.
To access localhost: search http://localhost in any browser.
- To run this project, open localhost/jobportal/index.php or type it in the browser then it gets executed.
Don't forget to star this repository if you find it helpfull!!