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)

69
votes
11answers
11k 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
639 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 ...
21
votes
6answers
17k 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.
21
votes
2answers
21k views

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

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 ...
20
votes
3answers
53k 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
7answers
10k views

Should I symlink my /var/www directory to my home?

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 ...
17
votes
2answers
43k 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 ...
17
votes
5answers
22k 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
17k 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
24k 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 ...
11
votes
6answers
3k 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: ...
8
votes
4answers
32k 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 ...
7
votes
2answers
26k views

How to solve the phpmyadmin not found issue after upgrading php and apache?

Recently I have install the PHP, Apache, MySQL, phpMyAdmin, python in my Ubuntu Desktop 12.04.3 LTS to use it as a LAMP server. The commands I used to install these are given below: 1: sudo passwd 2: ...
7
votes
3answers
3k 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/'. ...
6
votes
2answers
10k 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
2answers
10k 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. ...
5
votes
4answers
31k views

How to add custom directory e.g. phpmyadmin?

As my knowledge about apache is minimal. I'd like to let it grow so I'd have more experience with LAMP. My hot question for today is: How to add custom directory to webserver? (e.g. phpmyadmin)? My ...
5
votes
2answers
307 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
2answers
13k 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 ...
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
4answers
8k 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
3k 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
8k views

Magneto not seeing mcrypt in LAMP

I am running Ubuntu 13.10 desktop and installed a lamp stack (Apache 2.4.6, and PHP Version 5.5.3-1ubuntu2), and I set up virtual hosts. I also apt-get'ed php5-curl, and php5-mcrypt (no errors when ...
4
votes
1answer
24k 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 . ...
4
votes
1answer
10k 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 ...
4
votes
2answers
15k 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 ...
4
votes
1answer
689 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
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 ...
4
votes
3answers
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
61 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
22k 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
4k 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
327 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
1answer
6k 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.
3
votes
1answer
2k 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?
3
votes
2answers
10k views

403 Forbidden clean apache2 install

I recently reinstalled Ubuntu and then installed the lamp-server bundle via tasksel and the installation went fine. I had backed up the files from the /var/www/ folder and planned to just place them ...
3
votes
1answer
20k 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
1answer
97 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, ...
3
votes
2answers
1k views

Why isn't there a viable alternative to XAMPP in Linux, I have tried everyone that I've come across and none yet have completely installed

As per the title why isn't there a alternative to XAMPP which completely installs in Linux
3
votes
3answers
21k views

How to create files and directorys in var/www? [duplicate]

Possible Duplicate: Whats the simplest way to edit and add files to “/var/www”? I've just finished installing LAMP on Ubuntu and I've gone to start created a website directory ...
3
votes
1answer
13k 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
6k 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
2k views

Making Apache secure on Ubuntu 14.04

I am wanting to host a small site at home and have installed Apache etc like this : sudo apt-get update sudo apt-get install tasksel sudo tasksel install lamp-server That all worked and ...
3
votes
1answer
240 views

“on demand” LAMP stack

I'd like to install a LAMP stack on my laptop in order to be able to locally develop PHP websites. However, since my computer is a laptop, and since I don't always need having apache and MySQL server ...
3
votes
1answer
2k 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?
3
votes
1answer
1k views

Give apache permission to write to /home/*/www/ directories

LAMP server newbie here: I have a web server (on a VPS that I have full root access to), in which I'm setting up a few users with websites for. I have apache2 and php set up, and I have manually ...
3
votes
2answers
926 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
4k 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 ...