0% found this document useful (0 votes)
2 views

Assignment_4_Steps_PHP_and_MySQLAdmin[1]

The document outlines the steps to install and configure the XAMPP server on a Linux system, including downloading the installer, setting permissions, and starting the Apache and MySQL services. It also provides instructions for changing the port numbers if there are issues with starting the services and details on how to copy .php and .html files into the htdocs folder. Finally, it includes how to access the files via a web browser using localhost.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Assignment_4_Steps_PHP_and_MySQLAdmin[1]

The document outlines the steps to install and configure the XAMPP server on a Linux system, including downloading the installer, setting permissions, and starting the Apache and MySQL services. It also provides instructions for changing the port numbers if there are issues with starting the services and details on how to copy .php and .html files into the htdocs folder. Finally, it includes how to access the files via a web browser using localhost.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Steps to Install and configure XAMPP server

1) download xampp
2) cd Downloads
3) sudo chmod +x xampp-linux-x64-8.2.0-0-installer.run
4) sudo ./xampp-linux-x64-8.2.0-0-installer.run
5) click on manage server
6) Start Apache server
if not starting then check Apache service using following command :
sudo service apache2 status
sudo service apache2 stop
start apache
if problem occurs for Apache2 then configure and change port number to 81
7) if not starting then check mysql service using following command :
if problem occurs for mysql then click configure and change port number to 3307
start mysql

Steps to copy paste .php and .html files in htdocs folder


1) To change the privilege of htdocs file do the following: Open new terminal
2) sudo su
3) enter password
4) chmod -R 777 /opt/lampp/htdocs
5) After this copy and paste the .php file and .html file in htdocs
6) Go into the browser
7) localhost:81/phpmyadmin
8) localhost:81/contact.html

You might also like