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
1
vote
0answers
52 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
1answer
54 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
1answer
55 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
0answers
23 views

How to handle abuseip reports? Firewall (ufw) already setup allowing only 443, 6001 tcp

My digital ocean droplet IP address has been reported multiple times on abuseipdb.com. I have already setup firewall (ufw) allowing only basic ports: 443/tcp ALLOW Anywhere ...
0
votes
0answers
16 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
0answers
34 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 ...
0
votes
0answers
26 views

How do I make the settings in /etc more portable?

I have /var set up on a separate amazon ebs volume so I can quickly the /var volume with the website file and MySQL databased and move them over to another instance. I'd like to do the same with the ...
0
votes
0answers
13 views

One EC2 two websites. One Loads One does not

I am wondering what everyone would suggest as a first step in troubleshooing this issue: AWS LAMP stack server hosting two separate Wordpress websites. Both sites were working fine but all of a sudden ...
3
votes
1answer
165 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
0answers
27 views

Double // and triple /// in image urls,

I'm running an opencart website and I've noticed my images are loading in rather slowly. I copied the direct image link from the page and I've noticed something strange is going on. A sample of an ...
0
votes
1answer
31 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 &...
2
votes
0answers
1k 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
3answers
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
3answers
1k 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
0answers
99 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
1answer
427 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
0answers
110 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
0answers
118 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 ...
0
votes
3answers
4k 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
1answer
326 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
2answers
102 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
1answer
917 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
1answer
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
0answers
40 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
0answers
70 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
3answers
402 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
1answer
69 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
2answers
92 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
0answers
118 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
1answer
37 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
1answer
63 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
1answer
5k 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
1answer
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
1answer
35 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
0answers
45 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
0answers
33 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
1answer
137 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
2answers
27 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
1answer
27 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
1answer
362 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/...
0
votes
1answer
199 views

How to determine if EC2 LAMP instance is network-bound?

I've been hosting a website on an Amazon EC2 instance for years. Recently, users have complained of slowness and connection failures. I've checked memory and CPU usage on both the EC2 LAMP server and ...
0
votes
2answers
54 views

Migrating Load Balancer from hardware software

We're currently using OVH Load Balancers to serve our LAMP stack webapplication. The problem is, that OVH LB services are really not that great and is down too much. The servers are also located ...
1
vote
1answer
61 views

Properly using www-data to add/edit/remove safely

After building a LAMP stack, it's my understanding that Apache creates a www-data user. But you can't directly log in as www-data (security reasons). Instead, if you want to do something as www-data ...
0
votes
1answer
50 views

How to allocate resources per website basis on Ubuntu server

I have Ubuntu LAMP Server with Webmin. I want to limit the disk space/RAM usage and CPU usage per site basis. For example I want to allocate 5GB disk space and 50GB Bandwidth to site1.com and 10GB ...
0
votes
2answers
818 views

unable to remotely connect to mysql on ubuntu server

I have an Apache2 ubuntu AWS EC2 server which I just installed mysql on. However I do not seem to be able to connect remotely to the database via mysql workbench. I am wondering what step did I ...
0
votes
0answers
317 views

Irregular out of memory with AWS Linux AMI LAMP Stack

LAMP Server Irregular out of memory. Need help to find out what it cause. When it happen, unable SSH to the server. Restart httpd or mysqld cannot resolve the issue except fully stop the server and ...
1
vote
0answers
74 views

Upgrading LAMP on CentOS 6.2 Errors

I have been trying to upgrade an old CentOS 6.2 server (x64) to support updates for a Drupal/CiviCRM website I have inherited. I tried to follow this guide but keep ending up getting the following ...
1
vote
2answers
123 views

Where to redirect HTTPS on a WordPress LAMP setup? [closed]

[1] If I have sudo on LAMP VMs (Ubuntu 16.04 Apache 2.4 php 7) running WordPress website, where do I force redirect HTTP → HTTPS? Virtual Hosts .htaccess wp-config.php functions.php iThemes ...
0
votes
1answer
35 views

Difference between httpd vs httpd start

My top -c was showing /usr/sbin/httpd -k start and now showing /usr/sbin/httpd. Whats the difference?
0
votes
2answers
2k views

Bitnami LAMP stacks virtual hosts within virtualhost section

I am trying to set up a virtual host so that my wordpress app on the Bitnami LAMP stack can be hosted on my website, www.iconverge.us. For reference, I am using AWS lightsail as my host. But I am ...

1
2 3 4 5
13