Questions tagged [lamp]
Acronym for a development stack originally made up of Linux, Apache, MySQL and Perl/PHP/Python
658
questions
0
votes
0
answers
22
views
A strange file found to my user home directory (Linux)
I recently found a strange file in my user home directory.
~$ ls -li
total 16
...
262994 -rw-r--r-- 1 user1 user1 0 Jul 14 12:13 ''$'\020\243''end'$'\202\243''row̹'$'\246''column'$'\316\001'
...
I ...
0
votes
1
answer
21
views
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 ...
1
vote
0
answers
30
views
PHP upgrade 7.2 to 8 is not recognized by Wordpress
I have a VPS with LAMP stack and I tried to upgrade to PHP 8. When I run php -v the version is 8.1, but WordPress tells me it is 7.2.
So I created a php file
<?php phpinfo(); ?>
which tells me ...
1
vote
1
answer
120
views
Forbidden ... denying access to be safe [closed]
Total n00b here.
I'm running a LAMP stack using Raspbian OS on a Raspberry Pi 4 Model B.
I tried googling around, but I couldn't find a thread that matched my issue.
My jenga tower seemed pretty ...
0
votes
1
answer
482
views
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 ...
0
votes
1
answer
71
views
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 ...
0
votes
0
answers
531
views
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 ...
1
vote
0
answers
219
views
Apache configuration doesn't update on restart
I'm running a LAMP development server with
Apache/2.4.41 on Ubuntu 20.04.3 LTS (5.11.0-38-generic).
When I modify apache or php configuration files such as apache2.conf or php.ini and then run
service ...
0
votes
1
answer
343
views
Apache server error Ubuntu 18: Syntax error on line 1: <VirtualHost> 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
35
views
How can I stop mail DNS records from showing my main website? [duplicate]
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 ...
0
votes
0
answers
90
views
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 ...
0
votes
1
answer
62
views
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 ...
0
votes
0
answers
101
views
Bitnami AWS LAMP stack Bncert tool using new certificate for all domains
I am using the AWS Bitnami LAMP AMI on AWS to host multiple WordPress and PHP sites.
I am having an issue when I generate a new SSL certificate for a domain using the BNCert tool it’s updating all the ...
0
votes
1
answer
219
views
How to Enable SSL for Amazon EC2 Instance(LAMP packaged by Bitnami)?
I launch an EC2 instance with an AMI from the marketplace, which is called LAMP packaged by Bitnami.
After the instance is launched, I find I can only access its DNS name or IP via HTTP, not HTTPS. It ...
1
vote
0
answers
214
views
Can't connect Wordpress and MariaDB on LAMP stack with docker-compose
I'm new here and that's my 1st question so tell me if anything is wrong in the way I put it.
So here's the problem: I'm building a LAMP stack with 3 separate containers for nginx, maiadb and wordpress....
0
votes
1
answer
120
views
Changing or updating the passphrase in gcp lamp vm
I am trying to download files from a particular folder from one of my vm's on gcp using the following command
gcloud compute scp --recurse VM_NAME:REMOTE_DIR LOCAL_DIR
After running the command the ...
0
votes
1
answer
2k
views
Apache "can't locate API module structure" with php73
newbie here. I was working on installing a LAMP environment on Manjaro for testing, trying to use older versions to match the production environment I have to work with (PHP 7.3, MySQL 5.6; got them ...
0
votes
0
answers
73
views
Cannot run bash script via php possible permissions
I have ffmpeg installed on a CentOS 7 machine running a standard LAMP stack. I can run ffmpeg fine by itself in a terminal, like so:
ffmpeg -i "rtsp://admin:password@10.0.0.152/play2.sdp" ...
0
votes
0
answers
42
views
Google LAMP trying to update sudo
I was trying to update sudo on my LAMP cloud server at Google, but to no avail it seems.
Doing sudo apt update, then sudo apt install --only-upgrade sudo if finds the same sudo as on the system: Get:1 ...
3
votes
1
answer
269
views
Web server CPU Utilization slowly increasing with LAMP stack?
I made a ton of changes to my website this year and noticed that my CPU Utilization has been gradually increasing for a couple of months (it slowly went from around 0% to 60% in about 2 months). After ...
0
votes
1
answer
51
views
How to run updates on Ubuntu command line without upgrading PHP
I run an Ubuntu server on 16.04 using LAMP stack. I ran into an issue last week when updating using:
sudo apt update
Basically PHP was automatically upgraded from 7.4 to 8.0 during the upgrade &...
3
votes
0
answers
3k
views
ERROR 1006 (HY000): Can't create database 'webdata' (errno: 2 "No such file or directory")
On Debian 10, I'm logging into MariaDB with
sudo mysql -u root -p
Then trying to create a DB
create database webdata;
ERROR 1006 (HY000): Can't create database 'webdata' (errno: 2 "No such file ...
3
votes
3
answers
2k
views
MySQL is extremly slow, is it possible that it's because the storage engine is located on NAS?
We have two similar spec HDD CentOS 7 servers for two different clients in different countries, both clients have the same database and same indexes.
Client A: The server is only running MySQL 8 and ...
5
votes
3
answers
3k
views
High availability MariaDB only two servers
I'm not worried about split brain since the connection between the two servers is solid (and because I don't have a third machine)
I want to have some MariaDB replication with automatic failover so ...
0
votes
0
answers
287
views
How to actually set up MariaDB replication/high availability
I'm setting up a high availability LAMP stack - so far, I have two servers with HAProxy running on both their frontends that own a floating IP. HAProxy redirects requests to backend Apache servers ...
0
votes
1
answer
740
views
Lightsail LAMP - Virtual Hosts stopped working after adding SSL
After hours and hours of efforts on research, I'm posting this.
I'm trying to add a domain and its sub-domain on a single static IP created in LAMP instance in Amazon Lightsail, and add Let's Encrypt ...
1
vote
0
answers
193
views
Number of MySQL connections spikes, but no spike in number of queries
I am running LAMP stack with CakePHP and MySQL compatible AWS Aurora instance. The Aurora instance is set up with a writer and read replica. Using CakePHP request routing, the read replica is only set ...
0
votes
0
answers
176
views
What is the name of the apache process owner?
After running
$ps aux | grep httpd
the terminal output is
root 26923 0.0 0.0 14428 1044 pts/0 S+ 17:43 0:00 grep --color=auto httpd
I'm trying to change the owner of a path on a ...
4
votes
4
answers
9k
views
How to do mysql_secure_installation via ansible playbook?
I managed to install Apache Mysql/Mariadb and PHP using playbook. How can I do mysql_secure_installation using ansible?
I am a beginner in Ansible. I want to set a new password to MySQL server and ...
-2
votes
1
answer
597
views
Regarding Hosting Static website in Digital ocean spaces [closed]
I need to host my static website in Digital ocean space. I am looking for something similar that we do in AWS S3 static website hosting in the Digital ocean. Is the feature is available in DO? Looking ...
0
votes
2
answers
118
views
Configuring an Ubuntu 20.04 server
this is the first time I am setting up an Ubuntu server. It is going to run a low-usage app for a company but I want to make sure not to leave any security issues out.
1) I installed a fresh Ubuntu ...
0
votes
1
answer
2k
views
XAMPP on Catalina - Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' [closed]
i installed xampp to make a local website. i finished the website and tried to export the db to switch to production and i noticed that the DB in php my admin seemed to be empty ( which couldn't be ...
0
votes
1
answer
3k
views
How do I comletely remove the LAMP -Linux, Apache Mysql and php from ubuntu 18.04 installing in VM
How can I completely uninstall LAMP installed in the Ubuntu 18.04 which is running in the VM, from the code I like to remove and make completely free now.
0
votes
0
answers
43
views
How to get a server ready for hosting a website? [duplicate]
Currently, my companies' website is hosted on a web hosting company which they provide everything (WHM, cPanel, E-mail server, LAMP, security and etc...)
We have to move the website to a private ...
0
votes
0
answers
78
views
I am using 'sudo apt-get clean' too often nowadays, how can I avoid using it again?
I have a LAMP server hosted by Digital Ocean that has been running for more than 3 years. I use the server to run an ERP page where users have to log in to do what they need to do.
Up until recently ...
0
votes
3
answers
541
views
Stable headless LEMP server Debian vs Ubuntu
I used Debian for my servers for several years now.
I'm looking for stability only doing security updates. In the past I had some issues with Ubuntu after an update. Debian has always been rock solid ...
0
votes
1
answer
93
views
Can undefined variables and notices cause a cpu spike?
We're running centos 6.7, PHP 5 and MySQL 5.5 and Apache 2.2.15. Sometimes we see high CPU usage, mainly caused by MySQL so we take all the logs we can get. We're addressing MySQL optimization ...
0
votes
2
answers
144
views
Apache crashes due to bots
I am running a LAMP stack on an AWS Ubuntu server. Every now and then (perhaps once a week, once every other week) Apache will crash and the site will go down. Looking at the Apache error logs, I have ...
0
votes
0
answers
171
views
Memory leak - a simple phpinfo() page increases container memory usage
I have a PHP Info page containing the following:
<?php
print(phpinfo());
?>
But every time the page is reloaded, a docker stats commands shows that the memory usage goes up by 0.25%
I have ...
-5
votes
1
answer
40
views
Startup with no devops experience, having scaling issues [closed]
hopefully I can get some help here, even though I have a pretty vague issue.
We created a startup that is starting to get quite a bit of traffic. We set up a load balancer to 2 pretty large servers. ...
1
vote
1
answer
84
views
Site becomes slow on traffic spikes but no load on server
Excuse me for my limited server knowledge
I run a website on a Centos LAMP dedicated server, Core i7 with 32 GB RAM on a 1 GBPS line with 2 TB Traffic quota... when traffic goes up (bout 600+ users ...
0
votes
1
answer
7k
views
htaccess file not redirecting routes on my React App
I am currenlty hosting my React App on an Amazon Lightsail LAMP instance. I have two versions of an htaccess file. One works for me when I host my React App on GoDaddy cPanel webhosting. I found the ...
2
votes
1
answer
2k
views
MySQL (aka MariaDB) Service Won't Start After Upgrading from MySQL 5.6 to MariaDB 10 On Centos 6
I could use some help figuring out why upgrading from MySQL 5.6 to MariaDB 10 On Centos 6 is proving so difficult.
Below are the steps I am using followed by the error
cat /etc/centos-release
...
0
votes
1
answer
37
views
Cannot reset MySQL server password even uninstalling everything
i'm struggling with a shiny new ubuntu server. My MySQL root password is not working and I cannot change it.
What I've tried:
sudo service mysql stop
sudo mysqld_safe --skip-grant-tables &
mysql
...
0
votes
0
answers
50
views
Apache2 set up multiple site with subdomain not working?
I want to run 2 Wordpress sites on my VPS installed LAMP stack.
Site 1: test1.example.com
Site 2: test2.example.com
Here are my config files:
test1.example.com.conf:
<VirtualHost *:80>
...
0
votes
0
answers
36
views
Apache2 rendering PHP only partially
I set up a lamp server on Ubuntu 16.04 and now I'm having this strange issue where PHP renders only partially. I also checked and the page works normally if use nginx or lighttpd.
Also, I created a ...
-1
votes
1
answer
161
views
LAMP stack with AWS performance [duplicate]
I am planning to move my LAMP stack to AWS as the number of users increases. Current estimations suggest, that the Server has to handle roughly 100.000 users accessing the static landing page, out of ...
-2
votes
2
answers
32
views
How to remove connection time out links form RHEL
I want uninstall LAMP from my REDHAT virtual server and reinstall back it again but i don't have internet access on my server and when i uninstall mysql from my server i getting below error please ...
0
votes
1
answer
32
views
PHP Gateway Login Management Systen
Situation: Creating self hosted web services to share with friends on Linux machine. E.g. wiki, ownCloud, etc.
Problem: Every web service requires individual logins. Troublesome.
Question: Is there ...
0
votes
1
answer
399
views
ubuntu 18.04 lamp stack installed in root partition taking full space
I have a problem on my dedicated server.
I wrongly configured it at the beginning, today I got a php error saying that there was no space left on the device. I checked my directories and saw that /dev/...