Upload
groupaid
View
238
Download
0
Embed Size (px)
Citation preview
8/6/2019 How to Install and Configure Apache,PHP,MySql and Php My Admin on Ubuntu
1/7
8/6/2019 How to Install and Configure Apache,PHP,MySql and Php My Admin on Ubuntu
2/7
Step 1:Installing apache
Go to Application Accessories Terminal. And type the below code in terminal andhit enter.
Type your ubuntu password and press enter.
Type y and hit enter to confirm apache installation. After the successful installation , open yourfavorite browser and type
in the address bar and press enter. If you will see It works! , then your apache works fine.
Step 2:Installing PHP
Go Application Accessories Terminal. And type the code below in terminal and hit enter.
Type your ubuntu password if needed.
Type y and hit enter to confirm PHP installation.After the successful installation restart Apache using the below code
GroupAID Support Systems Inc. | GroupHUB, 25-32 New Capitol Estates 1, Batasan Hills, Quezon City, Philippines
sudo apt-get install apache2
http://localhost/
sudo apt-get install php5 libapache2-mod-php5
sudo gedit /var/www/phpinfo.php
8/6/2019 How to Install and Configure Apache,PHP,MySql and Php My Admin on Ubuntu
3/7
8/6/2019 How to Install and Configure Apache,PHP,MySql and Php My Admin on Ubuntu
4/7
Type your ubuntu password if needed
Type y and hit enter to confirm MySql installation.During the installation you will be prompted for a password. Choose something secure andtype the password and hit enter.
Repeat the password and hit enter
GroupAID Support Systems Inc. | GroupHUB, 25-32 New Capitol Estates 1, Batasan Hills, Quezon City, Philippines
8/6/2019 How to Install and Configure Apache,PHP,MySql and Php My Admin on Ubuntu
5/7
Step 4:Installing phpMyadmin
phpMyAdmin is a free software tool written in PHP intended to handle the administration of
MySQL over the World Wide Web.Go to Application Accessories Terminal. And type the below code in terminal and hitenter.
Type your ubuntu password if needed.
Type y and hit enter to confirm phpMyadmin installation.During the installation you will be prompted for a webserver configuration.Select
(already selected)press enter.
GroupAID Support Systems Inc. | GroupHUB, 25-32 New Capitol Estates 1, Batasan Hills, Quezon City, Philippines
sudo apt-get install phpmyadmin
apache2
8/6/2019 How to Install and Configure Apache,PHP,MySql and Php My Admin on Ubuntu
6/7
Now you will be prompted for phpmyadmin configuration
Select
and press enter
Type below command in terminal
restart your apache server using
Open your browser and typein the address bar and press enter.
GroupAID Support Systems Inc. | GroupHUB, 25-32 New Capitol Estates 1, Batasan Hills, Quezon City, Philippines
No
sudo cp /etc/phpmyadmin/apache.conf /etc/apache2/conf.d
sudo /etc/init.d/apache2 restart
http://localhost/phpmyadmin
8/6/2019 How to Install and Configure Apache,PHP,MySql and Php My Admin on Ubuntu
7/7
Type your mysql root username and paasword to login.
Youre now ready to start building your local website. just put all of your files into
GroupAID Support Systems Inc. | GroupHUB, 25-32 New Capitol Estates 1, Batasan Hills, Quezon City, Philippines
/var/www