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.

learn more… | top users | synonyms (1)

67
votes
11answers
7k views

What's the easiest way to set up a LAMP stack?

I set up a new VPS instance of Ubuntu and am wondering what the easiest way is to get up and running with a basic LAMP stack (i.e. which packages are required, which configuration options need to be ...
22
votes
6answers
545 views

What would be the most practical way for a web developer to develop on Ubuntu but test on IE [duplicate]

I work as web developer and have Firefox and Chrome installed on my Ubuntu system. However, most of the nightmares for web developers are getting things to work on Internet Explorer, mostly IE7 and ...
19
votes
3answers
35k views

How do I remove the LAMP stack so I can start over?

I'd like to start over with my webserver and I'd like to reinstall all the LAMP packages, how do I do that?
18
votes
6answers
12k views

What Can Be Done To Secure Ubuntu Server?

I have a project to secure Ubuntu Server as much as I can. The server is a web hosting server. The server will be running LAMP , Mail , and DNS.
18
votes
7answers
9k views

What is the best way to add files to a website on a LAMP Server?

I have just installed Ubuntu Server 10.04 with a LAMP setup. I want to host a website there but I'm not sure which is the best way to get/edit my files on the server. Googling provides many options ...
15
votes
1answer
25k views

Update server php version to 5.4.10 via the command line

Im setting up a vps for the first time from scratch, the host has a one click LAMP installer which took out allot of the leg work, but running phpinfo(); i found im running 5.3.10. So id like to ...
15
votes
5answers
12k views

How to have two version of PHP installed and switch easily?

I want to have both PHP 5.2.17 and PHP 5.3.5 installed on my Ubuntu machine and switch as per my necessity. How can I achieve this?
14
votes
4answers
15k views

Is there a simple mail server I can install?

I have a desktop install of ubuntu, not server. But I am running a localhost LAMP stack for development. Is there a simple mail server I can install so that PHP's sendmail works? Ideally it will ...
11
votes
4answers
20k views

How to update to PHP 5.3.10 in 10.04?

I'm new to Linux and have only the basic experience with Ubuntu and installing LAMP Server. I've successfully installed all using the "apt-get install" method. My problem is I want to update PHP 5.3.2 ...
10
votes
4answers
2k views

Do we need Swap partition on a LAMP server?

Do we need actually swap partition on the ubuntu-server with LAMP? I think I don't need it, but better to know for sure if it will not cause some unpredicted behaviour. Actually my thoughts were: ...
7
votes
4answers
29k views

How to install XAMPP?

Hi all im a noob on Ubuntu/Linux World, So i need some that give a full tutorial to How to install Xampp from apachefriends.org correctly on Ubuntu 11.10 + all beyond Ubuntu for 32 bit and also 64 ...
6
votes
2answers
6k views

Manually Start LAMP Server

I setup a LAMP server on my desktop Ubuntu install for testing web applications. How do I set it to only run when I tell it to rather than at startup? It is not used as a production web server but ...
6
votes
3answers
2k views

'/'var/www/' vs '/home/$USER/public_html'

I recently started using Ubuntu as a LAMP server. I've come across plenty of tutorials that say to place the files at '/var/www/' and I've also seen others that put them in '/home/$USER/public_html/'. ...
5
votes
2answers
274 views

Is portfowarding to my localhost on my personal Ubuntu computer secure?

After installing Lamp on my personally Ubuntu computer, I am running a application that requires to connect to the web and send SMTP mail; for example paypal needs a www address to notify successful ...
5
votes
1answer
5k views

How do I install joomla 1.7 on a lamp server?

I have a joomla 1.7 business live site and would like to know how to install wamp server and joomla 1.7 on ubuntu 11.1. I use it to work on site locally, then back it up and upload it to the live site ...
5
votes
1answer
1k views

Why does tasksel not include an option for LAMP server?

I recently downloaded an Ubuntu 9.10 virtual appliance for VMWare and want to install a LAMP server on it. Normally, I would just sudo tasksel install lamp-server but that seems to just return without ...
4
votes
2answers
9k views

Sending mails with PHP, LAMPP and PostFix

I've been trying for 2 whole days now, and I just can't get the most simple thing to work. The problem: Sending eMails from PHP to my eMail address does not work I've been working with Windows and ...
4
votes
4answers
6k views

http://localhost/ not working

I've just done a fresh install of Ubuntu (10.04.1) plus LAMP (via sudo tasksel install lamp-server) and everything is working fine. However, it does so until I need to work on localhost when I do not ...
4
votes
1answer
2k views

What steps do I follow to run a stock Hello World CGI script?

Assume I have finished installing a modern release of stock Ubuntu, and have the following script. #!/bin/sh echo "Content-type: text/html\n" echo "<html><body>Hello ...
4
votes
1answer
545 views

How do I set up local Joomla sites for web developing?

I plan to develop multiple websites using Joomla. I'm using Ubuntu Desktop, and only need to access the sites and configuration files locally, while logged in to my user account. Previously I tried ...
4
votes
1answer
2k views

How to move a LAMP setup to a new Ubuntu server?

I have an old Ubuntu LAMP server. I'd like to move the webpage over to a newer Ubuntu server and I'm wondering what the easiest way to backup and restore the webpage would be? Or just the easiest way ...
4
votes
2answers
7k views

Cannot start XAMPP on Ubuntu 11.10

When I try to start XAMPP with sudo /opt/lampp/lampp start command it gives me a message like this. Starting XAMPP for Linux 1.7.7... XAMPP: Another web server daemon with SSL is already running. ...
4
votes
2answers
2k views

Can't use symlinks in local /var/www directory

I'm setting up my local LAMP server, and when I go to it, I can't follow symlinks with the Apache user (www-data). At this point, I've tried chowning and chmoding and I've added Options ...
4
votes
1answer
56 views

How can one call programs that are not “rooted” in the operating system

I am currently trying to install a php extension on my computer. I am in the process of developing a new site and I am using LAMPP. I used PECL to install the syck YAML extension so that I can parse ...
4
votes
1answer
16k views

Why do I get “connection refused” errors connecting to a server via SSH?

I've installed Ubuntu 12.04.1 LTS on it with the LAMP stack. I can ping it but when I try to connect to it the server can't be found. When I try to connect with WinSCP I get the error Network error: ...
4
votes
1answer
3k views

Connection failed to open the DB connection: could not find driver

I am newbie for ubuntu and I was trying to run lamp. I installed mysql, and pdo extensions. when i show config(with phpinfo()): Configuration File (php.ini) Path: /etc/php5/apache2 Also I see mysql ...
4
votes
2answers
272 views

Have lampp use PHP code in a directory not under /opt/lampp

I have my lampp installed in the default /opt/lampp directory and the PHP code is in the htdocs folder. Now, to edit any of the files I have to use sudo permissions and have to type my password (or ...
3
votes
3answers
117 views

Where to place my local website starting with the 2.4.7 version of apache2 server?

I recently installed Ubuntu 14.04, then I installed lamp-server and placed my webpages in /var/www directory, but when I opened localhost in the browser there was nothing. I think that happened ...
3
votes
1answer
16k views

How to access localhost on Virtualbox host machine

I created a virtual machine on Virtualbox with Ubuntu 12.04 only to install a LAMP solution and use it with my host machine, but I can't access the localhost using the ip (10.0.2.15) in the browser . ...
3
votes
1answer
6k views

unable to locate package mysqld-server

I just set up a fresh install of Ubuntu 12.04 on my VPS, and I cant for the life of me install or even locate MySQL server.. apt-cache search mysql gives no results on mysql-server/mysqld-server ...
3
votes
1answer
1k views

I've installed Ubuntu 10.04 LAMP server. Where do I best create folders to put my websites?

I've installed Ubuntu 10.04 LAMP server. The only (in addition to all the standard technical users created by installation) user is "administrator" (should I create more?). I doubt it is correct to ...
3
votes
1answer
10k views

Apache gives 403 Forbidden

Server: Ubuntu 12.04 w/ LAMP I can access the default index.html, but I created a symbolic link to a folder in my Dropbox. Whenever I try to access 192.168.2.6/Joomla (Joomla is the symbolic link), I ...
3
votes
4answers
5k views

Tasksel cannot be installed [closed]

I am trying to install tasksel in order to install LAMP but for some reason it always gives me this error: E: Unable to locate package tasksel root@TheShop:~# sudo apt-get install tasksel Reading ...
3
votes
2answers
6k views

Change Apache document root folder to secondary hard drive

I installed the ubuntu 12.04 server edition for my server pc . i had installed lamp server. i need to change the var/www location to my secondary hard disk location. i was configured so many time to ...
3
votes
1answer
16k views

#1045 Cannot log in to the MySQL server

I am totally new in linux/ubuntu I am trying to setup lamp on my OS, however I've installed apache , php , mysql by following commands: sudo apt-get install apache2 sudo apt-get install php5 sudo ...
3
votes
2answers
913 views

Can i run ubuntu from USB and save all information?

Hello i want to install ubuntu to my USB and run it simle on each computer. I want to save all that i do. For example when i install localhost using my home computer, i go to work and run ubuntu ...
3
votes
1answer
3k views

How do I establish an FTP connection from Windows to Ubuntu Server?

I have a LAMP web-server on Ubuntu 11.10, working perfectly. But now I want to develop my website from a Windows 7 system in the same network. I want to set up an FTP connection to Ubuntu so I can ...
3
votes
1answer
51 views

Tens of thousands of failed/denied SSH login attempts [on hold]

Recently a few friends and I came up with an idea for an app. To facilitate the creation of it, we set up LAMP on an Ubuntu Server 12.04. This box is running from my home. We've set up 3 user ...
3
votes
3answers
2k views

Cannot get mysql to work/start even after clean install

I am completely stumped right now, whilst I am not an advanced user, I know my way around Ubuntu and so tried to look into things with the help of certain forum topics. The Problem: Today, quite ...
3
votes
1answer
501 views

local development LAMP server: routing external requests through SOCKS proxy

I've got a (virtualized) local LAMP server on Xubuntu 12.04 that I am using for Drupal development. I'd like to learn how to use web 2.0 integration Drupal modules (eg. youtube, facebook, etc.) but I ...
3
votes
1answer
313 views

Is LAMP strictly for development purposes? [closed]

So basically, is LAMP strictly for development purposes or is it fine for production websites as well? I ask this because I have recently switched to Ubuntu from Windows and if LAMP is anything like ...
3
votes
2answers
178 views

can't resolve dns

I've setup a LAMP server with Ubuntu. It's a dedicated server hosted by online.net. Now, I've purchased a domain name and I've created a A registar mapping to my server's IP address ...
2
votes
2answers
1k views

Changed LAMP WWW directory to Dropbox, now getting 403 Forbidden

I wan to use my Dropbox/Web directory as the server directory for LAMP. I cahnged /etc/apache2/sites-available/default DocumentRoot /home/me/Dropbox/Web #changed from /etc/www <Directory /> ...
2
votes
2answers
366 views

lamp-server wants to install mysql but i want it to use already installed MariaDB

i want to install lamp-server in ubuntu 10.10 (the end goal is to install redmine), i am using sudo tasksel install lamp-server However after downloading packages it asks for a root password for ...
2
votes
1answer
883 views

How do I copy MySQL databases to another Ubuntu machine?

I installed a LAMP server on my pc and created databases. Now I want to copy it to my friend's computer. How can I do this?
2
votes
1answer
3k views

How to install and use php-cgi

I have installed LAMP server via tasksel. Where is PHP directory? How to install and use php-cgi if I don't have it inside PHP directory (I need to copy php-cgi file from there) Thanks in advance.
2
votes
1answer
305 views

LAMP Stack Location

I have installed the LAMP stack on Ubuntu 12.04 LTS using the tasksel command. I checked - it works. But I cant find the location of the installaton, I worked with WAMP - there you have a separate ...
2
votes
2answers
269 views

What is the Ubuntu Server's relationship to LAMP?

Alright, I don't know if it's a good idea to challenge these two, is there any relation between them? I understand LAMPP: it's the installation of Apache, MySql, PHP and Perl (or Python) on Linux. But ...
2
votes
1answer
52 views

Lamp package lamp-server^, auto enter mysql pw?

Is there a way to pass the desired MYSQL password to the prompts in the apt-get install lamp-server^ package in a single command line? Note: I tried finding the package repository to read up on it, ...
2
votes
1answer
1k views

Is it possible to do an unattended/silent lamp installation?

Is there a way to set up and pre-configure a lamp environment within a bash script without user prompting by dpkg and present data like mysql or root user password and such kinds of things?