Questions tagged [lamp]

Acronym for a solution stack of free, open source software, originally coined from the first letters of Linux (operating system), Apache HTTP Server, MySQL (database software) and Perl/PHP/Python, principal components to build a viable general purpose web server.

Filter by
Sorted by
Tagged with
1 vote
2 answers
31k views

Installing LAMPP [duplicate]

I want to install the whole package of apache2, MySQL, PHP and phpmyadmin at a time on my ubuntu 14.04. I want to install the package from terminal. How to do it?
Mostafiz Ur Rahman's user avatar
0 votes
0 answers
41 views

How to create increamental database on mysql

I configured a LAMP server on ubuntu 14.04 now earlier I had a single hard disk with 4 TB storage capacity. And so all the database got stored on /var/lib/mysql/ so now the storage is coming to its ...
J. white's user avatar
3 votes
1 answer
7k views

I installed PHP7 but apache2 directory in /etc is not created. Now what?

Commands I did run: sudo apt-get install php php7.0-common php-pear php7.0-mysql php7.0-fpm After installing, I can see only these directories under /etc/php/7.0/ directory: cli/ fpm/ mods-...
Pavel Janicek's user avatar
0 votes
1 answer
1k views

phpinfo() file blank setting up LAMP

so I am trying to set up a LAMP server on my Ubuntu machine. I have been following this guide: https://help.ubuntu.com/community/ApacheMySQLPHP And I got to the point where I am trying to access ...
nbstrong's user avatar
1 vote
1 answer
5k views

Ubuntu LAMP stack | Localhost not displaying

I'm new to Linux and servers so please have patience. I did search for a solution, prior to posting this. I did find ONE question that was similar, but not the same and there was no solution so I am ...
Gregory Smitherman's user avatar
0 votes
1 answer
347 views

How to organize my home directory? [closed]

I have a VPS server and 3 domains to set up. I will be the only user on the server. How to organize my home directory ? /Home/user1/site1 /Home/user2/site2 /Home/user3/site3 or /Home/user1/site1 /...
Mathieu's user avatar
  • 327
0 votes
1 answer
9k views

how to remove LAMP completely [duplicate]

I messed up by followed certain guideline to install LAMP for wordpress development and now i'm confused for what I have done. So now i want to remove everything and start again. Can u guys show me ...
Hyder Esmail's user avatar
0 votes
1 answer
7k views

Enabling threadsafe php7.0.8 with Apache2.4.18 and Ubuntu 16.04.3 (desktop) for LAMP

I am new to ubuntu and would appreciate help overcoming a block setting up LAMP with software versions in this post's title (current I believe as of 11/2016). The problem seems to be an inability to ...
stuart_h's user avatar
-1 votes
1 answer
67 views

lamp stack on IBM Power 8 [closed]

I'm planning the transition of sugarcrm ce on a ubuntu partition installed on a ibm power 8. Can anyone tell me if I have problems with the lamp stack (apache, php, mysql)? Does anyone have experience ...
bob3321's user avatar
  • 21
2 votes
0 answers
5k views

How to completely remove LAMP in Ubuntu 16.04 to be ready for a fresh installation

I installed LAMP: apache2 libapache2-mod-php7.0 php7.0 php7.0-mysql mysql-server and phpmyadmin. Unfortunately, I did not put a password in when I was questioned to do so. Now I cannot log into ...
bomben's user avatar
  • 2,059
1 vote
0 answers
5k views

The Requested URL Not Found

Edit: I've confirmed that my webserver's DocumentRoot is pointing to var/www where all of my CRM files are. Just to get this out of the way: I have been thrown under the bus, they know I don't know ...
Thomas Hutton's user avatar
0 votes
2 answers
10k views

Cannot install php on Ubuntu 16.04 LTS [duplicate]

Creating config file /etc/php/7.0/cli/php.ini with new version Setting up php7.0-fpm (7.0.8-0ubuntu0.16.04.3) ... Not replacing deleted config file /etc/php/7.0/fpm/php.ini insserv: warning: script '...
John's user avatar
  • 225
-1 votes
1 answer
1k views

LAMP shows index.php in var/www/html instead of project

I have installed LAMP on Ubuntu-16.04. In my var/www/html I have created a file called index.php which shows info about my PHP. Also i have a folder called FMS which is my Codeigniter Project Folder....
Rajan's user avatar
  • 99
0 votes
1 answer
596 views

Getting error to configure php5 mysql packges

I am trying to configure LAMP stack on ubntu14.04 using Digital Ocean Guide. apache2 configured properly but when I am running below command its throwing error. sudo apt-get install mysql-server php5-...
TIGER's user avatar
  • 103
0 votes
1 answer
165 views

Access denied when trying to re-install lamp

I'm trying to install LAMP on ubuntu 16.04. I had everything installed, but accidentally locked myself out of LAMP trying to get phpmyadmin working, I get Access denied for user 'root'@'localhost' ...
Tijmenh's user avatar
  • 83
1 vote
1 answer
5k views

phpMyAdmin not loading correctly

I have made a fresh install of Ubuntu Mate 16.10. I'm setting up a LAMP server for local testing (not serving to the internet). Everything about the Apache and MySQL setup, using Synaptic, and the ...
Questioner's user avatar
  • 6,839
0 votes
2 answers
9k views

Phpmyadmin error HTTP 500 after fresh install

In Ubuntu 16.10 freshly installed LAMP server and installed PHPMYADMIN when i open localhost/phpmyadmin I'm getting HTTP 500 error PHP version 5.6 MySQL Version 14.14 Dist rib 5.7.16 Apache 2 version ...
BlackBerry's user avatar
2 votes
1 answer
8k views

After lamp install, can't run php scripts on localhost

I followed this tutorial to install lamp: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu At step 4: See PHP on your Server, I was told to ...
Metaphysiker's user avatar
2 votes
0 answers
73 views

LAMP-similar package bundle for Python stack

In Ubuntu, we can install LAMP stack in one command easily and start working on PHP. sudo apt-get install tasksel -y sudo tasksel install lamp-server I wonder if there is similar bundle for Python ...
Nam G VU's user avatar
  • 2,268
1 vote
2 answers
4k views

Unable to load dynamic library mongodb.so using AMPPS on ubuntu 14.04

I'm trying to install mongodb dependency from composer for my laravel project and it needs mongodb driver installed. I'm using AMPPS 3.6 on ubuntu 14.04 which by default has mongodb.so extension and ...
Mohammad_Hosseini's user avatar
0 votes
2 answers
331 views

After uninstalling PHPMyAdmin, account user still remains

I am doing a LAMP installation for the first time. I installed Apache, PHP, and MySQL flawlessly on my Ubuntu 16.04 through the terminal. The last thing that I installed was PHPMyAdmin. After I ...
dar's user avatar
  • 1
0 votes
1 answer
993 views

Apache "Restart" not working

I install apache2 package and i run this command line from terminal and it getting me error like this user@user:~$ sudo /etc/init.d/apache2 restart sudo: /etc/sudoers.d is world writable /etc/init.d/...
Harshad Patel's user avatar
0 votes
1 answer
2k views

Auto set password for MySQL root user when install lamp-server via tasksel

As guided here, we can install LAMP viatasksel by one single command sudo tasksel install lamp-server This includes installing MySQL and will prompt us to enter root password. I need to pass the ...
Nam G VU's user avatar
  • 2,268
0 votes
2 answers
90 views

How can ensure that my LAMP server isn't avilable for online access?

I'm currently using LAMP (MySQl + PhP + PhpMyAdmin) for web development class, but I'm kinda scared that someone could access to my data trough it. How can i ensure that my server isn't available to ...
IutbaZion's user avatar
  • 185
0 votes
1 answer
5k views

Force Ubuntu to identify LAMP php installation

I have installed LAMP in my ubuntu environment (16.04) which has apache, php (7.0.9), mysql... Although the php functionality is there, when i type 'php -v' in the terminal, i get the message The ...
Mario's user avatar
  • 133
3 votes
1 answer
1k views

How to get PHP 7.0 running with Apache2

I am totally new to Linux, servers and websites. I recently set up Apache2, Python, PHP, and MySQL for setting up a LAMP server. I am using Xubuntu 16.04 and PHP 7.0.11. I followed a guide and placed ...
Kishore's user avatar
  • 33
3 votes
1 answer
8k views

Stop LAMP in 16.04

I use LAMP for testing in local environment. I would like to try AMPPS, but LAMP is interfering with it. Is there any command to stop LAMP ? I would like to know how to start LAMP if my experience ...
user227495's user avatar
  • 4,069
1 vote
1 answer
2k views

Path in url to access var/www/html files

What should I type in url to see my lamp files. In localhost is like "localhost/folder_name/file_name" Here, should it be something like "192.168.0.1/what_here"? It goes to my Router page not my lamp ...
shahin tamjidi's user avatar
1 vote
1 answer
617 views

Installing LAMP Server in Ubuntu 14.04

I used sudo apt-get install lamp-server^ because someone in this forum said "This will install Apache, MySQL, PHP and also configure it for you. All you need to supply is a password for MySQL and ...
joeyz101's user avatar
1 vote
0 answers
56 views

Why Apache isn't using RAM but Showing Error?

I am trying to Optimize LAMP stack. Here's the Configuration of Server. CPU:4 vCore Ram:4096 MB Storage:90 GB SSD Bandwidth: 4000 GB When I try to test the server with 800 Con-current visitors, I ...
Adarsh Sojitra's user avatar
3 votes
1 answer
26k views

Apache 403 Forbidden Error [closed]

I have apache 2.4.23 installed on my elementary os freya(Ubuntu 14.04). i installed it as a LAMP stack... I keep getting the 403 permission denied error any time i tried to run http://localhost on my ...
Egberinde Bolawa's user avatar
1 vote
1 answer
416 views

How to display the content of my included PHP file on my included HTML file (Ubuntu Server 14.04)?

I have created two files: an .php file and a .html file. I am running a LAMP stack on an Ubuntu Server (version 14.04). My .php will pull from an already-composed database on the same server. My ...
Alnichols's user avatar
1 vote
1 answer
806 views

Mongo wont load - Ubuntu 14.04 - PHP5 - Apache2

I have a Digital Ocean droplet where I recently installed Ubuntu 14.04, php5, apache2 and the whole LAMP stack. I also installed mongo server and mongo driver for php with help from all the online ...
enemetch's user avatar
  • 131
0 votes
0 answers
53 views

Would LAMP stack break my daily use Ubuntu 16.04? [duplicate]

If I install LAMP in my Ubuntu 16.04 Desktop and make it as my web development environment, would it break my Ubuntu 16.04 desktop?
Project RK's user avatar
5 votes
2 answers
15k views

How to install LAMP in Windows 10 Ubuntu Bash

I want to install LAMP in Ubuntu. I have installed Apache. After the command sudo ufw allow in "Apache Full" it shows "unable to resolve host". How can I solve this?
Apurba Podder's user avatar
2 votes
3 answers
4k views

How do I open phpMyAdmin? I have PHP script output

How do I open phpMyAdmin? If I open my localhost/phpmyadmin I have PHP script output but not the phpMyAdmin interface. (Click image to enlarge)
Bazheeng's user avatar
1 vote
1 answer
848 views

Bitnami LAMP - Can't connect to localhost

ok so I installed Bitnami LAMP. Everything is ok, but i'm unable to access the phpinfo.php or any other project I have in the docs folder. I get following error: This site can’t be reached localhost ...
Brian Moreno's user avatar
0 votes
1 answer
57 views

Need help with error after setting permission to save anything in var/www/html?

sudo adduser <your username> www-data sudo chown -R www-data(username):www-data(group) /var/www sudo chmod -R g+rwX /var/www I had permission problem which was solved and I have edited my ...
harron's user avatar
  • 5
0 votes
1 answer
2k views

403 Forbidden on virtual host with mod_rewrite

I managed to install virtual host on LAMP server and created the config file /etc/apache2/sites-available/site.com.conf <Directory /home/ihab/Workspace/Webdev/site.com/public_html> ...
user avatar
4 votes
1 answer
30k views

How can I install php5-mcrypt

When I try to use sudo apt-get install php5-mcrypt to install php5-mcrypt, I receive the following error. I used sudo apt-get install lamp-server^ to install the php5 ahmad@ubuntu:/var/www/html$ sudo ...
Ahmad's user avatar
  • 612
0 votes
1 answer
2k views

Install older version of LAMP in Ubuntu 16.04 LTS

I recently installed Ubuntu 16.04 LTS (I used to have 14.04 LTS and I had to reinstall everything), since I'm still working with PHP 5.6 I must install lamp environment that'll work with that, ...
Itay's user avatar
  • 101
31 votes
3 answers
67k views

Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}

hi every body after clean install of ubuntu 16.04 and tasksel lamp apache2 got this error : [Mon Jul 18 22:42:00.114578 2016] [core:warn] [pid 4654] AH00111: Config variable ${APACHE_LOCK_DIR} is ...
tal shulgin's user avatar
3 votes
1 answer
150 views

Are manually installed dependencies better than auto installed ones?

There is a VERY good question and answer here: Should I use tasksel, tasks in APT or install regular metapackages? (which incidentally I got to from here: What's the easiest way to set up a LAMP ...
Madivad's user avatar
  • 687
0 votes
1 answer
2k views

why the localhost page isn’t working in lampp (ubuntu)

I am trying to run my cakephp project in LAMP. My LAMP is already running phpmyadmin and it is also working well for another project. When I search http://localhost/mobishop/ then it works only home ...
Alamin Dawan's user avatar
0 votes
1 answer
6k views

How to configure Apache 2 to run PHP 7.0

I've installed both Apache2 and PHP7.0 on my Ubuntu 14.04 and on running localhost I get a Apache welcome page but placing a info.php file inside /var/www/html/ doesn't give me any specific page but ...
Shivam Aggarwal's user avatar
2 votes
2 answers
12k views

How do I change phpMyAdmin access URL?

Could someone please tell me how to change phpMyAdmin's access URL, I would like it only to be accessible from a specific URL: database.example.com. example.com would be replaced to my actual domain. ...
Sam Edwards's user avatar
3 votes
1 answer
5k views

How to manually install PHP and Apache in Ubuntu 14.04 without using apt-get

I'm trying to configure my machine(Ubuntu 14.04) for LAMP but I want to install PHP and Apache HTTP Server the hard way i.e. without using apt-get or any other package manager.(I've chosen the hard ...
Shivam Aggarwal's user avatar
2 votes
1 answer
887 views

How can I view the output of a .sh file placed in rc.local?

I wrote a short script to run lampp's php script. It is residing on rc.local where I first run opt/lampp/lampp and then, run the sh (which is infinite) that is echoing to the output buffer infinitely. ...
Ted's user avatar
  • 965
1 vote
2 answers
1k views

Change MYBB landing page from var/www/html to var/www/html/mywebsite

So my problem is that when I access www.my-website.com I land on the page related to var/www/html instead of my actual website directory var/www/html/mywebsite. How can I change that please ? I'm ...
MoodyW's user avatar
  • 23
1 vote
1 answer
385 views

Help removing all LAMP, website and related configurations on Ubuntu 16.04 LTS

I'm very new to Ubuntu and I set up a website (mybb forum) by creating a user called webmaster then installing LAMP etc and the website folder was var/www/html. Anyways everything worked well until ...
MoodyW's user avatar
  • 23

1
4 5
6
7 8
16