Questions tagged [lamp]

Acronym for a development stack originally made up of Linux, Apache, MySQL and Perl/PHP/Python

LAMP is an acronym that refers to a stack of open source software used in development. The initial letters come from the following components:

  • Linux (operating system)
  • Apache HTTP Server (web server)
  • MySQL (database software)
  • Perl/PHP/Python (programming language)

Similar terms are used when on other operating systems while keeping the software suite:

  • Microsoft Windows (WAMP)
  • Mac OS (MAMP)
  • Solaris (SAMP)
  • OpenBSD (OAMP)
658 questions
103
votes
6 answers

Tips for Securing a LAMP Server

This is a Canonical Question about Securing a LAMP stack What are the absolute guidelines for securing a LAMP server?
Aditya Shukla
  • 1,031
  • 3
  • 8
  • 3
57
votes
4 answers

best way to debug nginx rewrite rules in config file?

I have a bunch of rewrite rules that I have to port from apache to nginx. It's a rather painful process because I'm not able to see if my rewrite rules and "if" conditions are working as I want them to. Apache did have debugging for its rewrite…
Jiho Kang
  • 967
  • 2
  • 9
  • 8
31
votes
5 answers

Why not use a WAMP stack?

This is a canonical question about the use of a *AMPP's stack. I recently had a talk with some experienced people and they suggested to me not to use a WAMP stack, and instead install apache, mysql and php separately. I don't understand why they…
matang
  • 446
  • 1
  • 4
  • 5
25
votes
5 answers

Can a pool of memcache daemons be used to share sessions more efficiently?

We are moving from a 1 webserver setup to a two webserver setup and I need to start sharing PHP sessions between the two load balanced machines. We already have memcached installed (and started) and so I was pleasantly surprized that I could…
Tom
  • 4,157
  • 11
  • 41
  • 52
24
votes
4 answers

How to Automatically and Temporarily block an IP address making too many hits on the Server in a short timespan?

One of my LAMP servers was recently brought down by some kind of script bot looking for exploits. From the looks of it, it was making so many requests a second, that it overloaded the RAM on the server and brought my entire site down for an hour. …
ProgrammerGirl
  • 449
  • 1
  • 4
  • 8
19
votes
7 answers

How much VPS ram would I need to run Wordpress, Apache, SVN & MySQL?

Does anyone have a ballpark figure of how much VPS ram (without burstable) I would need to have apache with wordpress and subversion as well as the MySQL instance? Apache would host a couple of sites and SSL. MySQL would have just the Wordpress…
Kyle Brandt
  • 82,107
  • 71
  • 302
  • 444
19
votes
4 answers

PhpMyAdmin (on ubuntu lamp): Login without a password is forbidden by configuration (see AllowNoPassword)

My mysql password = '' i try to login to PhpMyAdmin (on Ubuntu 10.04 lamp) and get error: Login without a password is forbidden by configuration (see AllowNoPassword) What should i do for enter to phpMyAdmin without set password? Thanks
Ben
  • 765
  • 4
  • 8
  • 17
19
votes
2 answers

ServerName wildcards in Apache name-based virtual hosts?

On our LAN I've set up several 'fake' TLDs in the DNS server, with the intention of using them for Apache name-based virtual hosting. I'd like to combine this with mass-virtual-hosting (i.e. VirtualDocumentRoot) on an Ubuntu 10.04 LAMP…
Martijn Heemels
  • 7,438
  • 6
  • 39
  • 62
18
votes
12 answers

How to watch logs in real time via Terminal?

This is a basic question - in the movie "The Social Network" there are several scenes when the young Facebook staff is watching the PHP/Apache server logs on in their TERMINAL in real time. I'm familiar with how to do this in a RUBY/RoR environment…
Jamison
  • 289
  • 1
  • 2
  • 4
13
votes
4 answers

.htaccess RewriteCond for REMOTE_ADDR while behind Load Balancer?

I have a web server behind a load-balancer. I need to add a conditional redirect to my .htaccess in order to display a maintenance page whenever we take the site offline for maintenance. This part is straightforward: RewriteEngine on RewriteCond…
Jake Wilson
  • 8,494
  • 29
  • 94
  • 121
13
votes
5 answers

Considerations when chosing AMD processors over Intel

I work for a company with a lot of legacy LAMP web-applications, where we are trying to refresh our hardware from ~250 physical servers to ~40 new servers w/virtualization. We have received two quotes from vendors - one is suggesting Intel…
Morgan Tocker
  • 208
  • 2
  • 12
13
votes
2 answers

Where is php.ini-development on Ubuntu LAMP?

On my development machine I run Ubuntu 10.04.1 LTS. Following the official documentation, I used the following command to install Apache, MySQL and PHP in one go: sudo tasksel install lamp-server Now that I'm testing my PHP scripts, I want to…
Iain Samuel McLean Elder
  • 1,152
  • 4
  • 13
  • 27
12
votes
2 answers

improve our deployment strategy

We have an ecommerce app that we develop at our company. Its a reasonably standard LAMP application that we have been developing on and off for about 3 years. We develop the application on a testing domain, here we add new features and fix bugs etc.…
robjmills
  • 990
  • 8
  • 24
11
votes
3 answers

LAMP Server Performance Tips

What performance tips can be offered to someone running a LAMP server? In the instance that something is Distribution specific, I'm targeting Debian.
Unkwntech
  • 1,762
  • 3
  • 19
  • 24
10
votes
4 answers

How do I set up per-site php.ini files on a LAMP server using NameVirtualHosts?

I have a LAMP server serving a number of different websites using NameVirtualHosts. Until recently having a global php.ini file has been just fine, but recently one of our developers has requested some settings in php.ini that I'd rather not set…
Brent
  • 22,219
  • 19
  • 68
  • 102
1
2 3
43 44