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
0answers
20 views

How to host a site using apache2 on Ubuntu 20.04 with ip_adress/phpmyadmin accessible

I have a VPS setup with Ubuntu 20.04 and LAMP installed. I could access phpmyadmin then via <ip_address>/phpmyadmin. Later I enabled a virtualhost at /etc/apache2/sites-available/ by adding ....
0
votes
2answers
55 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
0answers
17 views

Linux SSH to act like Plink.exe with the same script

I hope I can explain this properly, and I hope I've placed this in the proper forum and category. My goal is to move a XAMPP server to a LAMP server. We'll call these servers "Xray" and "Lima," ...
0
votes
1answer
87 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
239 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
33 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
67 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
58 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
52 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
39 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
45 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
35 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
56 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
1k 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 ...
1
vote
1answer
725 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
41 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
26 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
116 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
26 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
279 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
99 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
48 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
35 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
417 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
247 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
67 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
81 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
27 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
1k 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 ...
0
votes
2answers
134 views

Is it save to Upgrade a lamp-stack without losing configurations?

I am rather new to the whole Server Administration thing. I am currently running a CentOS 7 Server with the following lamp-stack versions: Apache(httpd) - 2.4.6 (CentOS) php - 7.1.12 (IUS) MariaDB - ...
0
votes
1answer
88 views

Additional settings after installation of Apache Tomcat in Ubuntu 16.04?

I have a VM which runs Ubuntu 16.04 and LAMP and currently is hosting some WordPress sites. I have implemented locally a web project which runs in Tomcat server and I want to deploy it in the VM. I ...
1
vote
1answer
2k views

500 internal server error, when trying to access phpMyAdmin after installing VestaCP control panel [closed]

After installing VestaCP control panel I got a 500 internal server error when trying to access phpMyAdmin (on ubuntu 16.04). For web server using Lamp stack. How can I resolve this problem? After ...
0
votes
1answer
982 views

how install php 5.4 apache 2.2 mysql from source on ubuntu

im use ubuntu 16 and im know at repository is not support php 5.4 again. im tired use ppa:ondrej/php5-oldstable becouse package is not exist so how to install php 5.4 apache 2.2 mysql from source on ...
0
votes
0answers
210 views

Apache2 needs restarted every couple of hours - slow with no excessive RAM/CPU usage

I'm recently deployed an server running Ubuntu 16.04 and LAMP (Apache 2.4.18 as default with Ubuntu 16.04). Everything was fine in before the server went into production, however now Apache2 slows to ...
0
votes
1answer
1k views

Check if HTTP Methods have been Allowed and Enabled on Localhost

I’m running Apache/2.2.15 (Unix) on a RHEL system. My LAMP is running on localhost. I want to check if the HTTP methods: POST GET PUT DELETE are allowed and enabled. I’ve read that they can be ...
0
votes
1answer
74 views

Ubuntu Lamp accessing mysql from outside

I installed this LAMP: https://github.com/teddysun/lamp Everything is perfectly setup, I still have to access mysql from outside, I was expecting to find the usual bind-address in mysql config file: ...
-1
votes
1answer
58 views

Empty LAMP Sessions [closed]

I have a LAMP server. Users log in and authenticate against the MySQL database. After successful authentication, session_start() is called. At no point is regenerate_session_id() called. I'm ...
0
votes
0answers
51 views

Why has the icon for my website changed on its own?

I installed the lamp stack on a Linode at the beginning of the year. It's just a personal website, accessed by IP address, so I doubt anyone else knows of it. Recently the icon (next to the website's ...
0
votes
1answer
41 views

redirect website while making backup

I use incron to create backups for a website, and I like to redirect all requests to an other site when/while my scripts are running. What I have done so far... incron runs some scripts every time I ...
0
votes
2answers
198 views

Utilising virtual machines to handles different PHP versions

I am looking for a way for our team to be able to have both a php 5.6 environment and a php7 environment on our local machines for development. We have numerous sites, some of which have live ...
0
votes
1answer
520 views

Cannot access local sites from mobile phone while connected to LAN

I have Apache setup on an Ubuntu machine, and I have two sites created. I can access both of them from the localhost machine via the domain names. The problem is that I cannot access them via my ...
0
votes
0answers
24 views

Ways to use PHP 5 and 7 parallel on same LAMP Installation [duplicate]

Dear all I am currently having a LAMP installation with PHP v5 on an Ubuntu 16.x machine. I like now to update it with PHP v7 but I like to have both configurations available so I can easily migrate ...
0
votes
1answer
120 views

can i use multiple VMs with single boot disk for autoscaling in google cloud

My Average CPU loading about 40-50%, but in peak time (generally 4 hours)server response time is too late. How to overcome this issue? Is there any other way to add additional CPU power in ...
1
vote
1answer
79 views

LAMP stack, read/write access to only specific directories

I'm considering setting up an AWS micro-instance from which I can run a number of different, unrelated websites. An issue I've had with my shared hosting is that some of my clients run Wordpress ...
0
votes
1answer
28 views

Running intensive process on an operating LAMP server ; Risks on uptime?

Backstory: The server is running Ubuntu 14.04. We want to download and put on an external hard drive everything in Apache's document root as we are working on a complete redesign of the web site. (67 ...
1
vote
2answers
1k views

Docker Compose can't get environment variables and relation information

I'm trying to build an Apache-PHP + MySQL + PHPMyAdmin entities environment without success. I reduce my project as simple as possible with thoses files : test-docker $ ls -la total 24 drwxrwxr-x ...
0
votes
2answers
60 views

Security concerns with moving a wildcard SSL cert over from one LAMP stack to another.

My company is revamping their website and subdomains with a new platform which requires us to upgrade to a more performant LAMP server. That being said, I want to re-use the wildcard SSL that was ...

1
2 3 4 5
13