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)
668 questions
2
votes
1 answer

Vagrant saving current state when windows reboots

I am running vagrant with ubuntu as guest os, but when windows reboots, i again have to install LAMP and configure virtual hosts and also all apps like git, memcache again. How can i save the state of the VM using vagrant when the windows shuts…
devops-001
  • 21
  • 1
  • 2
2
votes
1 answer

Alternative to Samba with XAMP stack

I am currently setting up a server on my network for web development work and was wondering if there is any better way of doing what I intend to do. My work machine is a Windows 7 desktop and I am virtualizing an Ubuntu server to act as my LAMP…
danbroooks
  • 131
  • 5
2
votes
1 answer

Apache server not allowing mime type

How does one set mime types in Ubuntu 12.10 for .mp4 and .ogv video rendering? I want to run simple video files through localhost. Please give suggestions. I have kept these 3 lines in /etc/apache2/httpd.conf file: AddType video/ogg .ogv AddType…
user161092
  • 21
  • 1
  • 2
2
votes
3 answers

convenient & easy way backing up mySQL & SVN on Ubuntu machine

I work as a developer in a small company and am far from being a linux-pro or admin. Nontheless I have set up a Ubuntu Server for documentation purposes (LAMP with wiki) and versioning (SVN). Our other environment is completely Windows-based. I…
Michael Niemand
  • 169
  • 3
  • 17
2
votes
1 answer

"tasksel: aptitude failed (100)" installing LAMP on Ubuntu (vagrant)

vagrant@precise64:~$ sudo tasksel install lamp-server tasksel: aptitude failed (100) I'm hoping to get a LAMP server from a clean install of ubuntu. All the googles suggest tasksel, which going into a pretty ascii gui, downloads stuff, then dies…
John Mee
  • 2,548
  • 1
  • 24
  • 27
2
votes
1 answer

Secure against c99 and similar shells

I'm trying to secure my server as much as i can without limiting my options, so as a first step i've prevented dangerous functions with php disable_functions = "apache_child_terminate, apache_setenv, define_syslog_variables, escapeshellarg,…
user148366
2
votes
1 answer

PHP errors not being displayed

I'm using PHP with Apache on Ubuntu 12.10. Errors are not being displayed to the browser for some reason and I can't figure it out. I have the following in my php.ini file: error_reporting = E_ALL & ~E_DEPRECATED display_errors =…
Mike
  • 689
  • 3
  • 9
  • 27
2
votes
1 answer

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 massive surge of traffic (85,000 visitors in an…
John Hunt
  • 428
  • 3
  • 10
  • 20
2
votes
3 answers

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 ssh-keygen ssh-copy-id peter@192.168.1.6 where…
OtagoHarbour
  • 187
  • 3
  • 10
2
votes
4 answers

The best way to learning Linux/Apache server administration

What is the best way to start learning Linux/Apache server administration? I am a web developer using LAMP platform.
Colargol
  • 133
  • 1
  • 3
2
votes
2 answers

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 seperate box. Last couple weeks, performance has…
Ryan
  • 53
  • 1
  • 5
2
votes
1 answer

.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 $ cat test.html
dotancohen
  • 2,590
  • 2
  • 25
  • 39
2
votes
1 answer

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 DNS Domain Name for this server is…
JoeyH
  • 113
  • 4
2
votes
4 answers

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 advantage of this is you're using reliably built…
zuallauz
  • 143
  • 1
  • 10
2
votes
2 answers

What are some optimized LAMP or LEMP stack scripts with email?

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 APC, Postfix... basically something that would…
PatrickS
  • 360
  • 1
  • 3
  • 12