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
0
votes
0 answers

AWS poor performance compared to DigitalOcean's

Why is my Apache2 server with PHP-FPM experiencing significantly lower performance on AWS EC2 instances compared to DigitalOcean Droplets? Despite similar hardware specifications and configurations, the server on AWS is showing higher latency and…
0
votes
1 answer

Using old web application with outdated PHP version behind .htaccess folder protection

I probably need a web server with an outdated PHP Version (7.2.34) for an older HTML/PHP/MySQL based web application. Since it's for a manageable closed user group, I exceptionally considered using a mandatory .htaccess folder protection for the…
0
votes
0 answers

php-fpm 8.1 on ubuntu 22.04 lamp stack ignores directory ACLs

I've been running a pretty fine lamp stack hosting multiple sites. Pools are running okay. Each website has it's own pool and runs as it's own system-user. These system-users are created without /home/.. directories and without shell. Each users has…
Q2Q
  • 1
  • 1
0
votes
1 answer

socket doesn't exist; Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I know the problem isn't new. But I have tried lots of thing. What I couldn't figure out is, socket wasn't available since I downloaded mysql. /etc/my.cnf /etc/mysql/my.cnf /var/lib/mysql/my.cnf None of the above files are available. I had…
0
votes
0 answers

CentOS7 VPS: Install WordPress with existing MySQL and httpd

Requirement: Install Wordpress in CentOs 7 VPS Currently available: Apache : Server version: Apache/2.4.35 (IUS), Server built: Dec 8 2018 02:08:22 MySQL : mysql Ver 14.14 Distrib 5.6.47, for Linux (x86_64) using EditLine wrapper Questions: Should I…
Vishnu
  • 1
  • 1
  • 2
0
votes
1 answer

Web Server Scripting Hack to Maintain State and Keep a Domain Cookieless

I am looking for a solution on a LAMP server to keep a site cookieless such as "example.com", where static content is served from "static.example.com", and with rules in place to rewrite requests for "www.example.com" to "example.com". I am really…
jasonspalace
0
votes
0 answers

New server Apache 2.4 + PHP responds very slowly

a customer asked to migrate their current server with plesk to a HA infrastructure. I've created the structure with haproxy and apache 2.4, but i can see many requests take a looooong time (some of those take about 3 mins). I tried to bypass haproxy…
Nando
  • 1
0
votes
1 answer

Can I install dnsmasq on lamp web server?

Is it possible to install and run dnsmasq on a shared host webserver (standard lamp stack)? And how would one do this? I use Siteground and Dreamhost. I think I can run a lamp stack on my NAS too which I may have more permissions for. Being linux…
AutoBaker
  • 178
  • 8
0
votes
1 answer

Failed to Import MySql database from phpMyAdmin as well as Command line

Well, I have tried to import small size database, it works. However, when I am about import a large database it shows the following error from phpMyadmin. Static analysis: 1 errors were found during analysis. Missing expression. (near "ON" at…
Krishna
  • 1
  • 2
0
votes
1 answer

Postfix emails error, loops back to myself

I'm struggling with Postfix to send out emails from a form on my website: Google Domain, hosting provided by DigitalOcean with a LAMP droplet; this is my DNS config: Mail function on my .php file wants to send an email from: info@mydomain.io to:…
Emi-C
  • 101
  • 2
0
votes
0 answers

Deploying symfony 5 application to shared hosting with just FTP access

I'm trying to deploy a Symfony web application on a server that only gives ftp access, without ssh possibilities, and I could only put files on two root folders: /data and /html folder. I'm trying to put the Symfony files inside de html folder but…
0
votes
1 answer

Apache server error Ubuntu 18: Syntax error on line 1: directive missing closing >

I've been trying to get my Apache server running on Ubuntu, but in my /etc/apache2/sites-enabled/dev.lamp.test.conf file I get this error when I run apachectl stop AH00526: Syntax error on line 1 of…
0
votes
0 answers

How can I stop mail DNS records from showing my main website?

I’m relatively new to all this, so please bear with me. Most of everything I know is based on guesswork, following tutorials, trial & error… Anyway, I have a pretty basic LAMP server going on Ubuntu Server 20.04, with some other stuff like…
Dan
  • 1
0
votes
0 answers

Easy way to update EC2 Instance

I am launching an EC2 instance and it seems the most popular WordPress AMI in the marketplace is the one provided by Bitnami. However, there is a big issue with the software/system update. I ask Bitnami and they said if I want to update LAMP on the…
alancc
  • 141
  • 12
0
votes
1 answer

How to query linux kernel which storage-related operations are currently being run on the level of FS / block layer / SATA controller?

Every once in a while, our Linux LAMP server (using PHP-FPM, XFS on thin LVM on HW RAID, Centos8) becomes inaccessible and stops responding to HTTP(S) requests. Via centralized logging we found out that in those cases, load average quickly shoots up…