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

learn more… | top users | synonyms

1
vote
1answer
282 views

lighttpd: why using port >= 9000 does not work properly

I had a lighttpd server which works normally. I can access this website from outside(non-localhost) via http://vm.aaa.com:8080. Let's just assume that it's a simple static website, without php or ...
0
votes
1answer
213 views

How to determine if PHP-to-Solr connection is slow?

Hi have a LAMP stack connecting to a Solr 3.6.1 server running on CentOS 6.3. While benchmarking my app, I noticed sudden spikes in the time taken for PHP to send a search query to Solr and getting ...
1
vote
1answer
1k views

I can't access phpMyAdmin on Ubuntu after successful installation

I have ready LAMP environment on my Amazon EC2 micro instance (Ubuntu). I have installed phpMyAdmin distribution of Ubuntu, selected Apache 2 as the server, then selected 'yes' for 'db-common-config' ...
2
votes
1answer
1k views

Optimising busy website with Varnish and lots of ram

[Updated to be much more consise!] I'm new to the world of optimising web servers for lots of traffic, but that's now something I'm getting into. On Monday our webserver was 'slashdotted' - we got a ...
0
votes
1answer
111 views

Server appears to have lost ability to read PHP files with LAMP

I have LAMP installed on a PC that is running Ubuntu 11.10. LAMP was running fine but I had to restart the PC because Unity was messing up (as it often does) and the tool bar had disappeared. When ...
0
votes
2answers
189 views

Serving index.html from a subdirectory

In my document root, I have to directories: home and foobar, both with their own index.html files. How can I set it up so that when someone visits my site at example.com, they see the contents on ...
1
vote
1answer
266 views

Why is my concurrency capacity so low for my web app on a LAMP EC2 instance?

I come from a web developer background and have been humming along building my PHP app, using the CakePHP framework. The problem arose when I began the ab (Apache Bench) testing on the Amazon EC2 ...
1
vote
2answers
145 views

What are the logs to check for a hung LAMP server?

I'm running Centos 5.7. I'm running Apache, MySQL, PHP, Courier-IMAP, Qmail and Plesk control panel in a typical Web hosting server setup. It gets hung often. I had to restart the server via the ...
0
votes
1answer
232 views

How to manage an unmanaged Virtual Private Server [duplicate]

Possible Duplicate: Setting up and configuring a new VPS server I just bought a VPS from constant.com. It is unmanaged. I'm wondering if anyone has a good 101 guide or any tutorial to help ...
2
votes
3answers
1k views

Need scp with www-data without the need for password

I have a DMZ with a web server running Ubuntu 11.04 and an application server running Ubuntu 11.10. I have set things up so that I can scp from the web server to the application server by running ...
0
votes
2answers
604 views

yum update wants to update kernel, is this ok?

CentOS 5.x 64bit w/ Plesk server : yum update wants to update kernel etc, is this ok? this is what 'yum update' outputs : --> Running transaction check ---> Package kernel.x86_64 ...
7
votes
4answers
20k views

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 ...
3
votes
1answer
478 views

High CPU usage resulting in server crash

running out of ideas to explore. First off - let me warn you - I'm a programmer, not a systech :) Here is the situation. Dedicated server (LAMP) running a fair amount of sites. mySQL server is on a ...
1
vote
2answers
4k views

High CPU usage resulting in server crash

running out of ideas to explore. First off - let me warn you - I'm a programmer, not a systech :) Here is the situation. Dedicated server (LAMP) running a fair amount of sites. mySQL server is on a ...
2
votes
1answer
254 views

.php files see Apache environment variables, .html files don't

Consider this environment: $ cat .htaccess AddType application/x-httpd-php .php .html SetEnv Foo Bar $ cat test.php <?php echo "Hello: "; echo $_SERVER['Foo']; echo $_ENV['Foo']; echo ...
1
vote
1answer
828 views

Parsing .html as PHP: how to check which method would be right?

The usual way of parsing .html files as PHP is to add either the first (PHP as an Apache module) or both (PHP as CGI) of the following lines to an .htaccess file: AddType application/x-httpd-php ...
-2
votes
3answers
332 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. ...
0
votes
1answer
630 views

var/www permissions and FTP

There are many threads about this topic but many are subjective since it's such a flexible subject, so I hope I'm asking an objective question relevant to my setup which is: is this is a sensible ...
7
votes
2answers
10k views

Apache “httpd” process, utilizing all my servers memory

My small ec2 instance with 1.7 GB memory, running the Amazon AMI based off of CentOS, has an issue with Apache utilizing way too much memory than it should. If you take a look at the screenshot, the ...
0
votes
2answers
504 views

Will compiling PHP 5.4 work on a server that has PHP 5.3 installed?

I have a dev machine with Ubuntu 12.04. I installed AMP by following directions from http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-12.04-lts-lamp. Will it work ...
1
vote
1answer
674 views

Who should own /var/www? [duplicate]

Possible Duplicate: How should I structure my users/groups/permissions for a web server? I've seen a few answers to this on the internet, but I'm looking for a definitive answer. I have a ...
3
votes
1answer
1k views

Getting OTRS to work with XAMPP

Setting up a testing environment on a RHEL5 server to test out OTRS ticketing system. I installed XAMPP for the ease of use factor for testing but can't seem to get the ticketing system to start with ...
0
votes
1answer
607 views

Bitnami lampstack install libapache2-mod-proxy-html

I was trying to install libapache2-mod-proxy-html on a Bitnami Lampstack by using sudo apt-get install libapache2-mod-proxy-html However, when I add the following line to httpd.conf LoadModule ...
0
votes
3answers
4k views

Upgrade Apache 2 to 2.2.22 on Debian 6.0

How I can upgrade Apache 2 from 2.2.17 to 2.2.22 on Debian 6.0 (x86)?
1
vote
1answer
97 views

Best way to Install Lampp setup on Ubuntu

What is the best way to install a lampp setup in ubuntu? I know to install using xampp. Is it ok for using as a central development server? Or if am installing individually what are the packages i ...
-2
votes
1answer
168 views

LAMP server hosting multiple domains - how to ensure each domain's files and users locked to only that domain? [closed]

I have a LAMP server (Ubuntu) running PHP. I want to host multiple domains on it. My plan is to create different user for each domain because I want to make sure if one domain gets hacked, it wont ...
0
votes
2answers
115 views

“Server Error” on localhost LAMP server

I'm not too experienced with server issues and stuff like that. I have a LAMP server setup on Ubuntu 12.04 for local PHP and web development. It was working fine just a little bit ago, then one time ...
3
votes
2answers
12k views

Installing PDO_DBLIB for PHP [closed]

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: ...
0
votes
1answer
687 views

LAMP server error Unable to initialize module

While doing a tail -f on my httpd error_log I got the following error on every request [Sun Jun 03 15:52:48 2012] [error] [client xxx.xxx.xxx.xxx] PHP Warning: PHP Startup: timezonedb: Unable to ...
0
votes
2answers
274 views

UCEProtect Level 3 - Emails land in SPAM

I am not sure how i can have remove the IP from UCEPROTECT Level 3. Or a way in which i can send emails without them landing into spam. The IP which i have used has only sent emails to the users ...
1
vote
0answers
253 views

Podcast byte-range requests

Background Apple podcasts must be served from a byte-range enabled server. This allows users to stream episodes. More info here: http://www.apple.com/itunes/podcasts/specs.html. I have Lamp stack ...
2
votes
1answer
517 views

CentOS 6 Apache Virtual Host Config Help for Development Server

I have setup a LAMP server with CentOS. It will be used as a development server within our domain. It is our first Linux server and would like to actually put one into production in the future. The ...
6
votes
1answer
2k views

1 EC2 instance per website - manage multiple websites on Amazon cloud using EC2

I'm managing multiple websites, most based on WordPress and all are based on LAMP stack. I'm moving all my websites to Amazon cloud. I'm new to AWS and my plan is moving 1 website by one, starting ...
1
vote
1answer
307 views

Apache2 mod_proxy: backend servers log frontend server as source of all requests

I have five servers running Ubuntu (LAMP). One of them (called Server1) receves all incomming requests from the internet, and uses VirtualHosts and mod_proxy to deliver the correct request to the ...
-3
votes
1answer
197 views

LAMP servers performance: Can I improve them by adding more RAMs? [duplicate]

Possible Duplicate: How do you do Load Testing and Capacity Planning for Web Sites Let me refine my questions: 1. How can I improve MySQL performance? 2. Will adding more RAMs help? 3. Will ...
2
votes
4answers
2k views

Need working guide to install latest Apache or Nginx, PHP & MySQL for production

Ok I'm told the best and easiest way to install Apache/Nginx, PHP, MySQL for production these days is to pull in the software using apt-get or similar package manager for your specific distro. The ...
-4
votes
3answers
109 views

Suggestion needed for improvement of current server configuration [closed]

I have a LAMP server with following configuration - 32 Bit OS Debian Etch Apache 2.2 PHP 5.2 MySQL 5.0.32 Hardware 3 GB memory 2 Intel(R) Xeon(R) 1.86GHz CPUs Each Apache process taking ...
0
votes
3answers
411 views

What is the middleware in a typical Debian LAMP stack? [closed]

I am researching on the topic of scaling, and I discovered something called the middleware which is basically handling the requests, correct? If that is true, what is the middleware in a LAMP stack? ...
1
vote
1answer
680 views

Is suPHP any more secure than alternatives?

I have a web application needs write access to certain folders on a LAMP server. Since suPHP / suEXEC escalate operations to an account you specify, it seems like your server is no more secure ...
4
votes
4answers
2k views

Linux Web Server Permissions - Best Practices

On a privately owned server with one website, is there any reason the files/directories within /var/www can't be group owned by www-data? My understanding is that security risks with www-data having ...
0
votes
1answer
670 views

Optimized LAMP/LEMP stack scripts

In the "let's try not to reinvent the wheel" perspective, I've been looking for a packaged LAMP (or LEMP) stack for some time now, not only the basic Mysql, Apache , PHP etc... but ideally stuff like ...
4
votes
5answers
4k views

PHP broken after upgrading to php 5.4

on an ubuntu 12.04 i have upgraded to PHP 5.4 according to this tutorial http://www.upubuntu.com/2012/03/how-to-upgrade-install-php-540-under.html But when i call php5 -v i get PHP Warning: PHP ...
4
votes
3answers
119 views

Local and remote servers with different Linux distros?

I'm running a remote web server on Red Hat Enterprise Linux and want to host a local server with a copy of my LAMP web applications for in-house development. Is there any reason that I would need to ...
1
vote
1answer
505 views

Adding Apache to a Developer Group (Web Permissions)

On a private server with an application that needs write access (Wordpress), is it better to add Apache's web user (www-data) to the "developers" group that owns /var/www or use fastcgi / suphp ...
1
vote
2answers
95 views

What is the recommended linux user to create MySQL databases under LAMP?

I'm trying to set up a simple LAMP system while keeping some basic security in mind. If I want to create a MySQL to be accessed by PHP, under what user should create databases? Any references to best ...
2
votes
2answers
512 views

How to tell number of active users logged into a Django site

Is there a way to find the number of users that are currently logged into a Django site running on Linux? I need to restart the server and I want to make sure there are 'few enough' people that it ...
1
vote
3answers
758 views

Firewalls (ufw vs apf) on Ubuntu

On my LAMP servers, do either of the firewall interfaces (ufw or apt) allow you to setup rate limiting to automatically ban brute force attempts (e.g. via SSH)? Or, is it best to install fail2ban in ...
1
vote
1answer
90 views

What is wrong with my redirect?

I need haproxy to redirect product.company.com to company.com/about/product acl newproduct hdr(host) –i product.company.com redirect location http://company.com/about/product if newproduct I know ...
1
vote
1answer
1k views

Allow outgoing connections for cURL on LAMP stack

I've been trying to setup a LAMP stack to use as a web development server and it's proving to be very frustrating for a novice like myself. On a Fedora 16 machine, I've got Apache, MySQL, PHP, cURL, ...
2
votes
1answer
3k 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 ...