Questions tagged [lamp]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
89 views

How to set up virtualhosts on Ubuntu dev machine in arbitrary directories, with write permissions for Apache and me?

I am on my XUbuntu 12.04 development machine, and I have installed the LAMP stack using tasksel install lamp-server. I've been trying to set up virtualhosts in my personal projects directories, ...
Dan Ross's user avatar
  • 175
0 votes
2 answers
326 views

Centos 6 webserver - best use of spare memory [closed]

Just after any quick easy suggestions about where I should try tweaking my web server to use some of the spare memory and reduce CPU usage. Sorry if I'm a bit vague, but this isn't really my area. I ...
Chris Leather's user avatar
1 vote
3 answers
133 views

Is this normal that www-data still needs to have read and execute permissions on htdocs when using PHP-FPM?

I have setup an Apache+PHP-FPM environment and I have set the following in the PHP-FPM pool file: [www] user = mary group = mary listen = 127.0.0.1:9000 pm = dynamic pm.max_children = 8 pm....
bobo's user avatar
  • 619
0 votes
1 answer
4k views

Where should I start to try and debug a CPU spike and timeout when logging in to a Moodle site?

apologies for the newbie nature of this question .. I am a web developer though don't have too much experience maintaining servers or debugging and fixing performance issues. I have a Moodle site (...
undefined's user avatar
  • 654
4 votes
4 answers
2k views

Setting up dev environments with big databases

This is my first time here. I recently joined as a system admin at a company and my recent assignment is to make friendlier dev environments for our devs. Until now our devs connect to our remote box, ...
Prakhar's user avatar
  • 145
2 votes
1 answer
76 views

Need advice on documenting LAMP web site

I need to document my web site. It is a music web site on Linux/Apache/MySQL/PHP on AWS. I need to document everything: architecture (5 servers), database (100+ tables), php classes, programming ...
molbit's user avatar
  • 21
3 votes
1 answer
448 views

IO related performance bottleneck on a LAMP server

I am administering a big LAMP server with some thousand users. About a week ago, things slowed down, and the only thing I see that the IO latency is increased dramatically. Users experience slow page ...
hgj's user avatar
  • 85
0 votes
1 answer
198 views

server out of memory - mysql processes?

I have inherited a system build in PHP (LAMP) and it keeps going offline due to running out of memory every week or so. There's 4gb of RAM available. I've asked my hosting provider twice to look in to ...
Tim's user avatar
  • 101
1 vote
1 answer
415 views

Optimal setup for bulk CSV import

We're currently running a Wordpress site but need to import 10,000 - 20,000 posts per day from CSV files. Our current setup is an all-in-one LAMP server with 8GB RAM and 8 Virtual Cores. The import ...
user2028856's user avatar
0 votes
2 answers
304 views

Amazon Ec2 with LAMP and RDS: how to easely replicate in different regions

I'm a newbie about Amazon cloud and I need an help in order to reduce the geographically latency of a website. I have an Amazon Ec2 with LAMP and RDS in EU Irland. I wish to have the same ...
Luca's user avatar
  • 123
3 votes
1 answer
15k views

Which PHP modules are required to install wordpress?

I have 5 wordpress sites. I use hostgator shared hosting for all of them. Now I have decided to switch on to a VPS. I got a unmanaged VPS and configuring it for wordpress. I am following this ...
user58859's user avatar
  • 518
0 votes
1 answer
173 views

Why are permalinks not working on LAMP install?

I just upgraded to the latest Ubuntu release on a VPS. When it finished the permalinks no longer worked. My .htaccess file looks like: # BEGIN WordPress <IfModule mod_rewrite.c> ...
David Mackey's user avatar
0 votes
1 answer
222 views

Digital Ocean LAMP stack z-panel installation "cannot execute binary file" on Ubuntu 12.04

Having an issue installing z-panel on a Digital Ocean VPS running Unbuntu 12.04. Specifically, when I try to execute the installer I get the following error: installer-10-1-0-ubuntu-64.sh.x: cannot ...
AJB's user avatar
  • 103
2 votes
1 answer
3k views

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 ...
devops-001's user avatar
-1 votes
2 answers
1k views

Apache DDOS Prevention

Moved from Stackoverflow. I have a LAMP server running Ubuntu with security programs such as Denyhosts, Fail2ban and with Mod_security installed but seem to constantly be the target of a DDOS attack. ...
Thomas's user avatar
  • 11
0 votes
1 answer
686 views

LAMP stack everything seems to be working except sites are blank

I have a LAMP stack, Ubuntu 12.04.3 LTS PHP 5.3.10-1ubuntu3.8 with Suhosin-Patch (cli) (built: Sep 4 2013 20:05:42) Apache/2.2.22 (Ubuntu) MYSQL 5.5.32-0ubuntu0.12.04.1 (Ubuntu) Codeigniter 2.1.0 ...
ThomasReggi's user avatar
0 votes
1 answer
239 views

Guidance for LAMP memory configuration [duplicate]

I'm trying to configure a LAMP server. Actually I opted for Nginx but I guess it's irrelevant to the topic. The server is to be used as a wordpress host. I'm planning to use APC to fully cache pages (...
Dmitry's user avatar
  • 9
-1 votes
2 answers
709 views

Connective Lamp Server to Windows Domain

I recently made a centos lamp server running apache mysql and php. I have wordpress and phpbb3 installed and running on the server. The linux server is running in the same building as a windows 2003 ...
user187558's user avatar
0 votes
1 answer
375 views

How to stop DDOS from unique ip addresses? [duplicate]

I have a problem with a LAMP server where Apache keeps getting lots of request "POST / HTTP/1.1" but always from new IP addresses. Blocking the IPs using iptables obviously won't help. Any ideas how ...
bauer's user avatar
  • 3
0 votes
1 answer
2k views

Connecting to databases through VPN

We want to create a web application using the usual LAMP stack. However, the app needs to also fetch data from a remote database, and that database can only be connected to if you are inside a VPN. ...
royappa's user avatar
  • 297
0 votes
2 answers
605 views

MySQL geographic replication cloud

I currently have a standard local LAMP setup, (2 web servers, master/slave MySQL, load balancer). This is severing me well locally, but my global users experience slowness. I want to setup some ...
tdbui22's user avatar
  • 103
3 votes
2 answers
9k views

Permission forbidden on localhost with apache2

Here is what I am trying to do. I tried to add another folder to apache and I get the following error when trying to acces testing/index.html. The idea is that I would like to have for every ...
N Alex's user avatar
  • 131
-7 votes
1 answer
142 views

LAMP Installation and security [closed]

I installed LAMP server on Ubuntu 13.04 using this tutorial word to word. It worked nicely. But I am hardly able to understand these steps : $ sudo usermod -a -G www-data your_user $ sudo chgrp -R ...
user58859's user avatar
  • 518
-1 votes
1 answer
1k views

Lenovo ix4-300d - apt-get not working [closed]

I just bought a NAS (Lenovo ix4-300d) that's running Debian, and I just found out how to enable SSH. I want to install Apache, MySQL and PHP for local development. When I'm trying to use apt-get, I ...
Jonathan Lafleur's user avatar
-7 votes
1 answer
1k views

2GB RAM VPS with LAMP. How can i improve performance and loading times? [closed]

I recently upgraded my VPS(OpenVZ VT) to 2GB of RAM. Despite the configuration changes i make to the LAMP stack the websites loading times take up to 5-10 seconds to fully load. I use prefork with apc ...
vsapountzis's user avatar
0 votes
1 answer
221 views

How to build a Drupal-supporting EC2 instance?

After trying to retrofit an existing Ubuntu Raring Amazon EC2 node to support Drupal (see PHP5 is installed, but Apache is displaying PHP as uninterpreted text. How can I get it to process it as PHP?),...
Christos Hayward's user avatar
0 votes
1 answer
129 views

different php-versions on server with multiple v-hosts [duplicate]

I have a server and host multiple clients websites there as vhosts. My Lamp-version is very outdated from 2008 and for a new project and want to have a newer one without changing my old websites, ...
Sebastian Viereck's user avatar
-1 votes
1 answer
125 views

How can I duplicate LAMP install stack on another Centos 6.4 with minimal commands

I have just made new amazon ec2 instance and i want to install LAMP stack with all plugins or modules required. I already have local host where i have everything installed. Is there any way that i ...
user1513613's user avatar
0 votes
1 answer
319 views

Apache2 Ubuntu File Permissions

With a fresh Ubuntu LAMP stack, I'm wondering why Apache serves up a Forbidden: Permission Denied error for my site. Apache2 was setup with the default user/group www-data. It's document root is /...
CP510's user avatar
  • 189
1 vote
3 answers
2k views

MySQL server keep on crashing

I'm facing a problem that i can't figure out, for some reason my MySQL server keeps on crashing after 30-40minutes the server load itself isn't too high, it's not even 0.5 (for 2 cpu machine) i've ...
user avatar
0 votes
2 answers
3k views

LAMP -> CPU usage of Apache processes too high

I have a LAMP system with CentOS 6.4, Apache 2.2.15, MySQL 5.5.32 and PHP 5.3.26 with APC 3.1.10 using a Drupal CMS (https) on a virtual machine with 4 CPUs and 6 GB RAM. My problem is the CPU usage ...
Tim's user avatar
  • 600
0 votes
1 answer
693 views

hosting multiple domain on LAMP local server [closed]

I want to have multiple domains on my apache2.2 local server on Linux. I have edited the httpd.conf and inserted these codes after going through various posts on the internet. NameVirtualHost *:80 &...
Ratnesh Ray's user avatar
-1 votes
1 answer
99 views

Custom file name extension for Apache webserver

I pay for a very common LAMP webhost. I was wondering if I could have custom extensions for my files. Let' say I have this url, for instance: http://www.mysite/custom.php how do I change that to ...
Andres Guzman's user avatar
0 votes
1 answer
436 views

Ubuntu IPv6 setup for LAMP and Mail Server

I noticed my ip6tables are not configured on my newish server, but well supported by my VPS and I have some idea about how to implement ipv4 rules, but know nothing about ipv6, I've tried looking ...
ChrisAdmin's user avatar
0 votes
2 answers
1k views

Package to enable php from command line, and execution of bgr processes with exec

I've ubuntu 12.04 running LAMP. Script requirements are: Ability to run PHP from the command line (CLI) with exec() Ability to execute background processes with exec("binary > /dev/null &") ...
user avatar
1 vote
2 answers
3k views

No such file or directory

I'm building an EC2 LAMP server for the first time, and so far so good. Except I can't seem to get the require 'vendor/autoload.php'; working right I get this error message whenever I write that ...
user avatar
0 votes
1 answer
98 views

Troubleshooting a connection to a new LAMP setup

So, I just set up my first LAMP server. I think. I followed this guide and then proceeded to connect to it using Filezilla, so that means that it exists, at least. I made an index.html and placed ...
user avatar
-2 votes
1 answer
83 views

How to launch a site with high future growth potential. [closed]

I hope I have what is a straightforward question. As I am sure the steps of setting this up are complicated I would like to know a few things. We have a team that has been working on a great ...
DEVPROCB's user avatar
  • 101
1 vote
1 answer
1k views

Apache2 many CLOSE_WAIT. LAMP. Locating the issue

I've got a LAMP setup running and I seem to have many CLOSE_WAIT connections for apache2 program when I netstat (several hundred). This eventually causes my apache to become unresponsive. Bellow is ...
D.Mill's user avatar
  • 379
-1 votes
2 answers
1k views

LAMP make website public [closed]

POST EXISTS IN UBUNTU FORUMS ALSO Hello all, As the title describes i am trying to make my website public from a LAMP setup. I trying but i am failing... so if you could give that extra push it would ...
czioutas's user avatar
0 votes
2 answers
150 views

High Processor Usage

I have a Linode VPS and am getting alerts regarding high CPU usage every few days - a reboot solves the problem - but would rather find the issue. I'm running Ubuntu 12.10 and other than PHP, MySQL ...
gbuckingham89's user avatar
0 votes
1 answer
72 views

LAMP not working after php.ini change (even if resetted)

My LAMP machine on Ubuntu 12.04 was working fine, then I tried to modify the etc/php5/apache2/php.ini file opening nautilus through the terminal with sudo nautilus. I have edited this line: ...
don's user avatar
  • 215
-2 votes
1 answer
1k views

Full-featured web server (cPanel, Softaculous) running under VMware for multiple projects? [closed]

I love working on WordPress installations locally, mainly because of the speed. No lag, no overworked web hosts. Super-snappy, instant response. I found quite a few ready-to-use solutions in the ...
Flix's user avatar
  • 5
-1 votes
3 answers
6k views

Is it possible to automatically restart crashed services in Linux? [duplicate]

I am Using Ubuntu Server and would like to know if it's possible to automatically restart services that go unresponsive. I am operating a standard LAMP stack and occasionally vital services need to be ...
chrisjlee's user avatar
  • 1,015
0 votes
2 answers
4k 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 ...
dzhi's user avatar
  • 830
2 votes
1 answer
214 views

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 ...
danbroooks's user avatar
1 vote
4 answers
3k 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 ...
spacebiker's user avatar
0 votes
1 answer
433 views

Ubuntu LAMP Permissions

I just installed Ubuntu Server 12.10 and I selected the LAMP, OpenSSH and mail server packages during the install. The only other thing I've done is install nmap via apt-get. I can SFTP to my server ...
dev_willis's user avatar
1 vote
3 answers
120 views

Symlink only if file is not present

I have a LAMP-based website/application and I'm preparing to start serving clients. With my current system, each client would need a full website instance (full folder structure from web-root up). I ...
user1259576's user avatar
0 votes
2 answers
78 views

Testing after migrating LAMP install on CentOS 6

I copied the /var/www/html/site directory to a new server and all of the /etc/httpd conf files, installed the necessary Perl modules, php, and ran cat mysqldumpfile.sql |mysql db_name to import the ...
user avatar

1
3 4
5
6 7
14