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

learn more… | top users | synonyms (1)

58
votes
5answers
7k views

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?
1
vote
1answer
1k views

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

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.
9
votes
3answers
3k views

Secure LAMP server for production use

What is the procedure for securing a Linux, Apache, MySQL, PHP Server (or even Perl) for production use? Other than setting the MySQL password and the root password for Linux what other (maybe not so ...
5
votes
13answers
2k views

What are the Benefits of Server Hardware? [closed]

What are the benefits of using Server Hardware versus just placing server software on top of Desktop Hardware? I've been running a small time webserver for a couple of websites, a blog and a ...
21
votes
5answers
19k views

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 ...
9
votes
4answers
14k views

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 ...
4
votes
1answer
457 views

Cost and Trade-offs of EC2 vs Hosted VPS for a LAMP site with 1M uniques

Does anyone have first hand experience with EC2 vs Hosted VPS cost analysis and trade-offs? It's for a LAMP site with 1M monthly uniques. It would be great to hear some opinions and any analysis ...
4
votes
4answers
664 views

How hard is it to host from home? [closed]

I have always payed a company to host on dedicated servers which is really expensive, 1 of my sites has 2 servers right now, a web/http server and a seperate mysql server. What would it take for me ...
8
votes
4answers
1k views

VPS Administration for the Absolute Beginner

I have a new site that I want to build, something that I as a programmer wish existed. While there is no way this site would ever reach StackOverflow levels of success, I do hope that it will have a ...
5
votes
11answers
13k views

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 ...
3
votes
6answers
1k views

Best Linux flavor for web application development (LAMP)

Currently I am using Fedora 12/13 for web application (LAMP) development. Would serious users of LAMP consider any other flavor. Usage is for my laptop. If you require more info, pls request, just ...
0
votes
1answer
9k views

Server not responding to SSH and HTTP but ping works

I requested an hard reboot because none of ssh and http worked. Ping worked normally. Which logs should i check to understand what was the problem? Thanks! (debian 6 on lamp) Edit: my memory and ...
4
votes
1answer
609 views

How to maintain PCI compliance on a LAMP server when repositories don't keep up with versions

We run Ubuntu Lucid 10.0.4 as the foundation of our LAMP environment. We are trying to become PCI compliant so that we can pass CC info through our server. We have run some third-party scans on our ...
1
vote
5answers
883 views

linux install without yum or gcc

Hulo All, Linux newb here. I just ssh'ed into my first shiny new CentOS virtual server to install a LAMP stack. No yum, so I had to install yum. Yum needs gettext, so it got gettext. Gettext ...
0
votes
1answer
774 views

/var/www/ downloads php files instead of viewing them in browser [duplicate]

Possible Duplicate: My php homepage downloads index.php instead of being processed on Gandi.net hi im a newbie with servers so thats why i come here with my prob hoping you can help me. so ...
-2
votes
3answers
266 views

Recover Linux server following accidental `rm` in /etc [closed]

I have a linux server (Debian squeeze) set up. It's primary focus is to run LAMP. I also use it for stuff like mumble (voice chat) and minecraft servers. In the beginning everything was running fine. ...
14
votes
7answers
17k views

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 ...
6
votes
1answer
9k views

What user should own /var/www on Ubuntu 9.04 Server?

I've got LAMP on Ubuntu 9.04 Server and the default installation has root:root owning the /var/www folder. I discovered this when another service, Hudson, could not write to that directory. I want ...
5
votes
6answers
502 views

What are some essential concepts I need to know as an inexperienced server administrator?

I (as this title implies) am very new to this server configuration stuff. I have recently been pushed to learn how to configure developing/production environments. My history with actual ...
2
votes
6answers
811 views

24 Core Server Performance

I have a quad hexacore system based on the Opteron 8345 chips - that's 24 cores in all with 48GB of ram. This box was meant to replace the current six Intel core box which my current LAMP stack runs ...
5
votes
2answers
529 views

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?
4
votes
1answer
6k views

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. ...
2
votes
1answer
804 views

Highly Available Web Application (LAMP)

I work for a small company who provides a web application for thousands of users. Earlier this year they had one server hosted one company. We recently acquired another server in a different location ...
1
vote
2answers
793 views

How to install different versions of memcache with different versions of lampp

I need to use different versions of lampp (xampp for linux). I recently also need to use memcache with any version of lampp I might need to use. Everything is going right if I use the last lampp ...
3
votes
6answers
2k views

How can I block access to my website from certain countries using the LAMP stack?

I have a website that I do not want to be viewed by entire countries. The website is running on a LAMP server. How can I achieve this?
2
votes
1answer
111 views

Another website in a IIS subfolder

A friend of mine has an ASP.NET site hosted on windows server with IIS7 web server. He wants to install a wordpress blog without using subdomains for SEO reasons. In practice, he would like to have a ...
2
votes
4answers
197 views

Help running multiple websites on apache2

Apache newb here. I've read a few tutorials and I'm not sure what I'm doing wrong. I have my default site enabled, and that one works fine: <VirtualHost *:80> ServerAdmin ...
1
vote
4answers
380 views

SSL causing same content on multiple domains [duplicate]

I have setup a Debian LAMP server where I host multiple websites. As far as I know I can only use SSL on one of them, if I'd like to use SSL on two or more sites I'd have to add another IP - so far so ...
1
vote
1answer
1k views

How to point a subdomain to local server with dynamic IP

I see there are many related questions to this one, however the answers given seem to be a little vague for a novice like me. I've got a dedicated LAMP stack running Fedora 16 locally on my home ...
1
vote
1answer
756 views

How to prevent the slow first load startup for a website?

I'm sure you've noticed that for many servers, the website loading time is quite long if you're the first visitor for a couple of hours. Do you have any idea why this is the case (is it just server ...
1
vote
2answers
691 views

Is it recommended to use XAMPP(software bundle) on production environment and why?

http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29 Using it will save lots of time, though...
1
vote
2answers
532 views

how to enable php4 only, no php5

I have a LAMP server with Ubuntu 9.10, Apache 2, Mysql 5 and PHP5. I want to disable PHP5 and use only PHP4. Can anyone explain how to do this? I'm doing this because I need to simulate an ...
1
vote
1answer
2k views

Local .htaccess strangely allowed running PHP in CGI/FastCGI mode in Apache under shared hosting environment

I am using a shared web hosting service. Running phpinfo, I can see the Server API shows CGI/FastCGI rather than Apache 2 Handler. In this article: ...
0
votes
2answers
494 views

Apache doesn't parse PHP on VHOST while it works on default

I set up a Debian 6 VPS to host couple of small sites and it works beautifully for default one. Next i created new user and copy/paste default vhost file and enabled it with a2ensite and only ...
0
votes
1answer
135 views

MySQL using large amounts of CPU while idle

A webserver (Apache + MySQL) locked so badly that I had to powercycle it, and immediately logged in to see what was going on afterward. Load average was over 3%, with MySQL hovering between 20% and ...
0
votes
1answer
233 views

Xdebug on production server for single account

I have a situation where i have a development site on the same server as a number of production sites, not ideal i know. I would like to use xdebug for the development site but i'm concerned it will ...
0
votes
1answer
139 views

download prompt instead of default index because of a site dir name change

cakephp v1.3.2 unchanged at /var/www/cakephp displays the cakephp default index page cakephp v1.3.2 unchanged at /var/www/iloved prompts me to download a phtml file a2enmod php5 says php5 is ...