How to install ampps web server in Ubuntu

To install ampps web server in Ubuntu

AMPPS is a pack of PHP, Perl, Apache, MySQL, MongoDB and Python. It can stack more than 300 PHP web applications, more than 1000 PHP classes. Installation of Ampps web server in Ubuntu is explained in this article.

Features

  • Softaculous with 250+ Script
  • MySQL
  • Apache
  • phpMyAdmin
  • SQLiteManager
  • MongoDB
  • RockMongo
  • PHP
  • PERL
  • Python


Install ampps

Download Ampps setup file from official web site and copy the Ampps setup download link,

Paste the download link in terminal using the “ wget” command.

root@linuxhelp:/home/user1/Downloads# wget http://s4.softaculous.com/a/ampps/files/Ampps-3.5-x86_64.run
--2016-07-13 12:01:04--  http://s4.softaculous.com/a/ampps/files/Ampps-3.5-x86_64.run
Resolving s4.softaculous.com (s4.softaculous.com)... 138.201.24.83
Connecting to s4.softaculous.com (s4.softaculous.com)|138.201.24.83|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 375936801 (359M) [application/octet-stream]
Saving to: ‘ Ampps-3.5-x86_64.run’ 
Ampps-3.5-x86_64.run    100%[==============================> ] 358.52M   298KB/s    in 24m 14s
2016-07-13 12:25:18 (253 KB/s) - ‘ Ampps-3.5-x86_64.run’  saved [375936801/375936801]
root@linuxhelp:/home/user1/Downloads#

Set execute permission to the downloaded file using “ chmod” command.

root@linuxhelp:/home/user1/Downloads#  chmod 0755 Ampps-3.5-x86_64.run
root@linuxhelp:/home/user1/Downloads#

Run the Ampps setup file to install Ampps.

root@linuxhelp:/home/user1/Downloads# ./Ampps-3.5-x86_64.run
Creating directory /usr/local/ampps
Verifying archive integrity... All good.
Uncompressing AMPPS by Softaculous.......................................................................................................
.
.
.

Applying Permissions...
Configuring Apache...
Configuring Pure-FTPd...
Configuring PHP...
Configuring Softaculous...
Done
If you are facing any issues, you can open a ticket.
http://www.ampps.com/support
You can refer our wiki:
http://www.ampps.com/wiki
You can register on our forums and get more help:
http://www.softaculous.com/board
Follow us on Facebook:
http://www.facebook.com/softaculousampps
Follow us on Twitter:
http://www.twitter.com/AMPPS_Stack

Change the working directory to “ /usr/local/ampps/” .

root@linuxhelp:~# cd /usr/local/ampps/

List the files by using “ ls” command

root@linuxhelp:/usr/local/ampps# ls

ampps       libQtCore.so       mysql    php-7.0        tmp
Ampps       libQtCore.so.4     perl     phpMyAdmin     var
Amupdate    libQtGui.so        php      private        version
apache      libQtGui.so.4      php-5.3  Pure-FTPd      version~
conf        libQtNetwork.so    php-5.4  python         www
extra       libQtNetwork.so.4  php-5.5  RockMongo
install.sh  mongodb            php-5.6  SQLiteManager


To Launch Ampps

Run the Ampps command to start Ampps.

root@linuxhelp:/usr/local/ampps# ./Ampps

The “ softculous AMPPS” page appears as follows.

Next select control center and start apache

Then start mysql

Open the browser and navigate to http://< IP_address> /ampps


In the web control panel you can access all services.

Comment
parthiban
Aug 27 2018
@Naga you don't have a write permission for /usr/local directory for the user you have logged in. Please check it.
fadicodi
Jun 29 2018
I have the same problem anyone knows whats wrong ?? I am using ubuntu 18
naga
Apr 05 2017
Error: Creating directory /usr/local/ampps mkdir: cannot create directory ‘/usr/local/ampps’: Permission denied Cannot create target directory /usr/local/ampps You should try option --target OtherDirectory
Add a comment
FAQ
Q
How to check the version of the php in AMPPS?
A
To check the version use this command
Syntax: "php -V"
Q
How to manually update php in AMPPS in Linux?
A
Change the directory to the project directory. cd \Ampps\www\project_name.
Now run “php composer.phar self-update”.
Q
What is cron command for Linux to view the AMPPS?
A
For Linux and Mac OS X, type this command in Terminal
"/Applications/AMPPS/php-5.3/bin/php" -c "/Applications/AMPPS/php-5.3/etc/php.ini" "/Applications/AMPPS/ampps/softaculous/cron.php"
Q
what is the default working directory for AMPPS?
A
"/usr/local/ampps/" this is the default working directory that comes with the installation of ampps
Q
How to run AMPPS using command in Linux?
A
simply run the following command
Syntax: "./Ampps"