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
6
votes
1 answer

How much memory is required for base lamp setup?

I am planning on renting a VPS. How much memory is required for a base setup of Debian, Apache, Mysql, PHP? By base, I mean not considering traffic (which will be below 1k hits a day). No complicated databases or memory eating scripts. For…
user606723
  • 544
  • 1
  • 4
  • 10
6
votes
2 answers

Troubleshooting mysterious server freezes on Amazon EC2

I have an Amazon EC2 instance running LAMP on Ubuntu Natty/11.04. On three separate occasions within the last few months, two of which in the last two weeks, the server has just... stopped. It becomes unresponsive and stops responding to connection…
pjohansson
  • 249
  • 2
  • 8
6
votes
1 answer

Can the HAL daemon be safely disabled for servers?

I'm running a LAMP server with openSUSE 11.3 for a hobby, and wonder whether the HAL daemon have any function on such machine. So far it also seems to consume memory, and DBUS/udev can already handle hardware changes. Is this correct, and can I just…
vdboor
  • 3,630
  • 3
  • 30
  • 32
6
votes
2 answers

Will there a difference in performance when a server (httpd or mysql) by building it from sources vs installing it using yum/apt repositories?

I have a web app on the LAMP architecture. Right now all the servers are installed from the binaries available in the platform repositories (apt / yum). However, I think it would be best to install the servers by building them from the source and…
kopos
  • 163
  • 3
5
votes
1 answer

Sum of memory of few processes in top is greater than 100%

I'm trying to calculate the amount of memory used by AMP in an LAMP stack machine. top -bn1 | grep -E '(mysql|httpd|php)' | awk '{mem += $(NF-2)} END {print mem}' But the sum generated using the above command is greater than 100%, but I was…
Prakash
  • 203
  • 3
  • 8
5
votes
3 answers

How do you know if your Apache Install is Secure?

I'm a hobbyist IT guy and I am running my own Ubuntu server to serve up my website. I was wondering if there are any good ways to find out how secure my setup is, as I'd really prefer not to have my network compromised. Do you know of any automated…
Thunder3
  • 347
  • 2
  • 5
5
votes
2 answers

Installing PDO_DBLIB for PHP

I'm trying to get PDO's to work with SQL Server and I'm completely lost. I found this : http://www.php.net/manual/en/ref.pdo-dblib.php http://pecl.php.net/package/PDO_DBLIB and told to try this: sudo apt-get install php5-mssql I downloaded the…
Will
  • 211
  • 1
  • 3
  • 8
5
votes
1 answer

Outgoing mail from linux not being delivered

I can't seem to send mail through my php scripts or through the linux console on my Centos 5.5 LAMP server, when the email is addressed to go to a domain that is hosted by my box. I think it is something to do with the email routing internally, or…
Jason
  • 361
  • 6
  • 19
5
votes
2 answers

Is it feasible/common for people to use only AWS to host PHP/MySQL websites?

What are the drawbacks/limitations when compared to a more traditional managed shared/virtual/dedicated host?
Ryan
  • 153
  • 4
5
votes
5 answers

What inconsistencies should I expect between WAMP and LAMP stacks?

I am used to a LAMP (Linux, Apache, MySQL, PHP) stack, but occasionally I must use a WAMP (Windows ...) stack to meet certain client requirements. I haven't run into any significant differences, but I'm seeing this requirement more and more, with…
Adam Davis
  • 5,366
  • 3
  • 36
  • 52
5
votes
3 answers

EC2: Regular performance issues without obvious resource contention

We are running LAMP+memcached on an Ubuntu 9.10 x64 xlarge Amazon EC2 instance. This server handles a few hundred requests per second, of which about 60% are static and the remainder all interact with mysql and/or memcached in some way. This server…
pjohansson
  • 249
  • 2
  • 8
5
votes
5 answers

Adding PNG & JPG support to ImageMagick in PHP on CentOS

I have installed the ImageMagick extension for PHP on CentOS, but it does not have support for PNG or JPG, how do I add support for these file types to ImageMagick?
Unkwntech
  • 1,762
  • 3
  • 19
  • 24
5
votes
2 answers

How can I tell which page is creating a high-CPU-load httpd process?

I have a LAMP server (CentOS-based MediaTemple (DV) Extreme with 2GB RAM) running a customized Wordpress+bbPress combination . At about 30k pageviews per day the server is starting to groan. It stumbled earlier today for about 5 minutes when there…
5
votes
3 answers

Where can I find the include files for MySQL on Linux?

Where can I find the include files for MySQL on Linux? I looked in /usr/include/mysql according to this but they are not there. My apache web server works fine with MySQL 5.1 up and running with PHP 5, but I can't find where the includes directory…
deownefin
5
votes
6 answers

smallest possible linux installation with apache

I want to setup a linux vm with apache and php and mysql support, which version of linux should I pick up. I dont have a good bandwidth, preferably a smaller ISO of the installer is also appreciated.
John G
  • 151
  • 1
  • 3
1 2
3
43 44