Skip to main content

How to Install Apache, MySQL, PHP, and PHPMyAdmin on Ubuntu

How to Install Apache, MySQL, PHP, and PHPMyAdmin on Ubuntu - If you are web programmer which using Ubuntu (Linux), maybe you will need installing Apache, MySQL, PHP, and PHPMyAdmin.
Apache is a name of Web Server. apache can be interpreted as the compact web server, modular, following the standard HTTP protocol, and popular with many people.
MySQL is a database software are free. MySQL have a function as SQL (Structured Query Language) in self and has expanded. And generally used with PHP.
PHP is stands for "PHP: Hypertext Preprocessor", programming language that is widely used for handling the manufacture and development of a website and can be used in conjunction with HTML.
PhpMyAdmin (shortened PMA) is a free software written in the PHP programming language that is used to handle the administration of MySQL over the web.

Below step by step to Install Apache, MySQL, PHP, and PHPMyAdmin on Ubuntu. First, installing apache2, Open your terminal, and write the command at below
sudo apt-get install apache2
Wait it until the progress of installing that package are done. After it, open your web browser to testing that package have installed, write on address bar "http://localhost". If the display like below, so the process of installation has been successful.

Second, installing PHP5. Still on your terminal, use command below
sudo apt-get install php5 libapache2-mod-php5
After it restart that apache2 service
sudo /etc/init.d/apache2 restart
Now, test the PHP5 using this way, create a PHP file on this directory /var/www/, and give name "phpinfo.php".
sudo gedit /var/www/phpinfo.php
On the window of gedit, copy and paste script at below
<?php phpinfo(); ?>
And than save it. After it, open that file using web browser in http://localhost/phpinfo.php, if the display like below, so that process are successful.

Comments

Popular posts from this blog

How to Install CloudSim in Ubuntu (in 3 easy steps)

The contents of this DIY has been tested on Ubuntu 12.04 LTS x64 with CloudSim 3.0.3 beta and JDK8u11 x64. It should work similarly on other distros of Ubuntu and for different version of JDK as long as you use Java version 1.5 or newer. The text shown in RED in the DIY represents the values that will differ depending upon your JDK version and locations. CloudSim is a framework for modelling and simulating cloud computing infrastructure and services. In this DIY we will see how to install CloudSim in Windows easily and efficiently. A more detailed description, APIs and research papers related to CloudSim can be found here . Let us begin. Step 1: Setting up the Prerequisites 1. First of all we need to download the CloudSim and latest version of the Java Development Toolkit (JDK). CloudSim can be found here . 2. CloudSim requires a working Java installation. So, open up a terminal and run the following 1 sudo add-apt-repository ppa:webupd8team/java 2 sudo apt-get...

How To Add or Remove System Icons From The Kali Linux Desktop

When Kali Linux is started, there are always one or more system icons on the desktop. “Computer” is usually a default icon. However, some people might like to remove this icon and/or add other icons like the famous “Trash” icon. All the other tutorials will tell you to use the Linux, “gconfig-editor,” but Kali Linux does not have this system editor! I believe I am the only one who knows of a way to do this, so let me share my knowledge in this simple tutorial. Step one: Start and login to Kali Linux using your account or the “root” account. Step two: Open the main menu. Hover your mouse on “System Tools,” and click on “dconf Editor.” After a few seconds, the dconf Editor will open. Now all you have to do is browse to the correct category and set the options. Step three: When the dconf Editor window opens, click on the plus sign next to “org” (located in the left pane). Step four: Now click the plus sign next to “gnome.” Step five: Scroll down the list in the left pan...

6 Url Shorteners Yang Menghasilkan Uang Selain AdF.ly

Salam sobat GBX nah di pertemuan kita kali ini ane akan membahas 6 Url Shorteners Yang Menghasilkan Uang Selain AdF.ly seperti yang anda tau adf.ly adalah url shortener terbaik yang membayar kita karena telah menggunakan jasannya, tapi selain adf.ly ternyata masih banyak lagi Url Shorteners Yang Menghasilkan Uang, sekarang kita lihat saja ulasan di bawah.  6 Url Shorteners Yang Menghasilkan Uang Selain AdF.ly 1. Adfly adf.ly Yup yang ini memang patut diletakkan di peringkat satu ya, Adfly sudah ada dan terpercaya sejak bertahu-tahun lalu dan sudah menjadi pemendek link / url terbaik selama ini.  Selain menyediakan fasilitas penyingkat url, adfly juga merupakan situs penghasil dollar yang sudah sangat terkenal (melalui Pay Per Click dan Referal). Banyak juga teman-teman di internet yang sudah sukses mendapatkan dollar lho. (adfly ini sudah terpercaya dan ya semoga terus aman begitu dech). Komisi yang telah anda dapatkan dari adfly ini bisa langsung di transfer ke pay...