Questions tagged [lamp]

Acronym for a solution stack of free, open source software, originally coined from the first letters of Linux (operating system), Apache HTTP Server, MySQL (database software) and Perl/PHP/Python, principal components to build a viable general purpose web server.

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

My LAMP Custom Server won't display PHP code

I have a 64-bit Ubuntu 20.04.2 LTS. I made myself a LAMP custom server by mostly following this tutorial. I already had PHP and apache2, and I didn't install the workflow-speeding custom commands, but ...
0
votes
0answers
22 views

Can't open Xampp Control panel

I am trying to Xampp control open Panel sudo /opt/lampp/manager-linux-x64.run Running Firefox as root in a regular user's session is not supported. ($XAUTHORITY is /run/user/1000/gdm/Xauthority which ...
0
votes
0answers
20 views

Blank Screen from phpinfo

I've been using Xampp for a php site and decided it was redundant, uninstalled it in favor of the lamp-server with: sudo apt-get install lamp-server^ Apache2 is working fine on test. I replaced the ...
0
votes
2answers
23 views

Separate LAMP in 2 servers

I wanna isntall apache + php in a server and my sql in another server How can they communicate ? What should i install in both servers and what should i do to let them communicate so the web ...
-1
votes
0answers
41 views

./lamp.sh: line 1: syntax error near unexpected token `newline'

I try to install this script to install LAMP on Ubuntu 18.04. I use Vultr but it return me root@ipb:~# ./lamp.sh ./lamp.sh: line 1: syntax error near unexpected token `newline' ./lamp.sh: line 1: `<...
1
vote
0answers
20 views

Apache and MySQL require restart every time I start XAMPP on Ubuntu 20.04.2 LTS

Every time I launch the XAMPP(LAMPP) GUI in Ubuntu 20.04.2 LTS, I am unable to start the MySQL and Apache Web Server components; only ProFTPD. The working solution I have found is to first run the ...
1
vote
0answers
33 views

My .htaccess is still not read despite AllowOverride All (Apache2 / Ubuntu 18.04)

I've installed Lamp server on my system, it's set up to work on an other directory than var/www/html, my localhost it's link to a folder named Sites (home/quentin/Sites). After the installation all ...
0
votes
0answers
46 views

Configuring Apache2 (latest) for Localhost Only Ubuntu 20.04lts desktop

I need some help configuring Apache2 to work on my Ubuntu 20.04lts pc. I am a beginner working with Ubuntu and setting up a server so I kind of need things explained for a novice. The purpose is to ...
0
votes
1answer
153 views

Web Server Upgrade from 14.04 to 20.04 ( can't load web page error: Unable to load Database Driver: mysqli)

I badly need help, I just want to say first that I am a newbie with web server. My boss was asking to me to upgrade our web server to the latest version Ubuntu 20.04 LTS as the old was running with 14....
0
votes
0answers
32 views

How to get your php file working in local with LAMP

I installed LAMP in my ubuntu 20.04 server, and after a bit of hassle I got everything working finally. However I haven't yet figured out how to run my php/html file in local. I have always used Xampp ...
3
votes
1answer
519 views

Website it is not loading index.php and showing index of folder

as you can see it has index.php file but it is not opening it by default. I have edited /etc/apache2/mods-enabled/dir.conf here is the file <IfModule mod_dir.c> DirectoryIndex index.php ...
0
votes
1answer
22 views

Easy quick way to Migrate LAMP settings and Ubuntu Users from old Ubuntu 19.04 to new fresh copy of Ubuntu 20.4?

I have an old Ubuntu 19.04 server and I have many users and client sites here. I want to migrate everything to a fresh server install of Ubuntu 20.4. Is there an easy way to migrate the following: ...
0
votes
0answers
22 views

upgrade to 20.04LTS went bad on me these are the steps I've taken am I missing anything?

I was upgrading our lamp server from 18.04LTS to 20.04LTS and at some point it failed and started spitting out tons of errors related to a read-only file system. I manually ran fsck and then ran dpkg -...
0
votes
1answer
31 views

Switching to apache user

Why I can switch to apache user using su -s /bin/bash apache But It's not permitted to do that using sudo su apache What's the difference between these commands?
1
vote
1answer
332 views

Migrating Ubuntu 20.04 LAMP from MySQL to MariaDB

Status I currently run a LAMP server on Ubuntu 20.04, that has a MySQL server containing several Drupal and Wordpress databases, along with a PHPMYADMIN db. Request Is there some super smart MySQL ...
0
votes
0answers
70 views

Fresh OwnCloud Installation Loads Blank White Page

I am on Ubuntu 20.04 and I just installed the latest version of owncloud on my lamp installation located at /var/www/html/owncloud/ Problem: owncloud serves blank white page at https://someothersite....
0
votes
0answers
24 views

Boot from external hard disk

I recently upgraded hard drive with ubuntu/windows to ssd with ubuntu. I had backup of databases from mysql but the files got corrupted somehow and I can't import them. Now, I want to boot from hard ...
0
votes
0answers
38 views

XAMPP and LAMP in Ubuntu20.04

On Ubuntu20.04, my MySQL always fails many times, so I installed XAMPP for development. I would like to ask if using XAMPP on Linux compares favorably with LAMP STACK? Or they are all the same ?. I ...
0
votes
1answer
160 views

What should I do if all my PHP pages come out blank with Apache2?

Here's My Problem Recently I purged all LAMP packages because I couldn't make virtual hosts work with my local wordpress installation. But then even after installing all the packages, PHP pages simply ...
0
votes
0answers
43 views

Upgrading LAMP from 18.04 to 20.04, MySQLD using way more RAM

I have multiple Ubuntu servers (VMs) that are LAMP stack systems. Earlier this year I upgraded them from Ubuntu 18.04 to 20.04, and this upgraded their MySQL from 5.x to 8.x. I've noticed that MySQLD ...
0
votes
0answers
220 views

/dev/mapper/ubuntu--vg-ubuntu--lv does not exist. [Ubuntu Server 20.04]

Today I deleted LAMP stack from my Ubuntu 20.04 server using tasksel and, when I rebooted the server, instead of booting as usual it gave me that error: Gave up waiting for root file system device. ...
0
votes
1answer
37 views

Unable to connect LAMP

I have Ubuntu 18.04, Apache, MySQL and PHP7.4 in my local environment and I have been setting up various projects locally in both Laravel and WordPress. I haven't done this in over a year since I have ...
0
votes
0answers
86 views

Update PHP latest version

How to Update PHP latest version on Ubuntu 18.04. I Installed LAMP stack on my PC. Is this possible for this? Install the latest version of PHP Switch the new version PHP
1
vote
0answers
263 views

Raspberry Pi, Ubuntu 20.04 server. Make sudo require a password

I have installed Ubuntu 20.04 server image on a Raspberry Pi 4. As per standard install there is no password requirement for sudo, this is something I most definitely want to change. I have tried ...
2
votes
1answer
212 views

Is there a quick one liner or script to install LAMP stack on a freshly installed Ubuntu 20.04 server?

I see many guides on installing LAMP stack on ubuntu 20. But they are all manually done one line at a time. Is there a simple script or one liner to install LAMP stack on a freshly installed Ubuntu 20....
0
votes
0answers
94 views

Apache Server home page does not load on Ubuntu Server

I installed apache web server on a virtual machine running Ubuntu Server 20.04. I followed ths instructions at https://www.linuxbabe.com/ubuntu/install-lamp-stack-ubuntu-20-04-server-desktop . I can ...
0
votes
2answers
3k views

tasksel: apt-get failed (100)

I'm trying to install tasksel and Setting up my PHP/MySql Development Environment in my laptop, I'm using Ubuntu 16.04 and I get this error when I try this command line: Laptop:~$ sudo tasksel install ...
0
votes
1answer
50 views

Problems making a developer space on ubuntu 20.04

Good afternoon, im going to summarize my problem, as a developer i moved to ubuntu i use and i need that my project folder be located on my localhost environment for php to run, reading the Lampp ...
0
votes
1answer
252 views

.htaccess not taking effect in php project

I am running Ubuntu 20.04 and am currently creating an api using php. I added an .htaccess file which SHOULD redirect any 404 pages back to my index.php. I am asking this in askubuntu because I ...
1
vote
1answer
1k views

Xampp not working in UBUNTU 20.04 LTS

When I start my terminal by using : sudo /opt/lampp/lampp start Starting XAMPP for Linux 7.4.9-0... XAMPP: Starting Apache.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found /opt/...
0
votes
0answers
709 views

I get a 500 error when going to /phpmyadmin in my browser after LAMP install

I'm testing phpmyadmin after installing lamp-server on Ubuntu 20.04 LTS. First I installed lamp-server, then phpmyadmin I made sure to select apache2 during the installation and I used dbconfig-common ...
0
votes
0answers
8 views

Apache2.4 re-installation error

I am trying to reinstall apache2.4 in ubuntu 18.04. I followed steps from here Apache2 installation error. I am getting issues like for me it looks like apache2.conf is missing here. Any guide will be ...
0
votes
0answers
45 views

White screen or 404 page getting while running php website file locally

I have installed lamp. checked the apache server status, copied the project file in /var/www/html. Opened the browser and entered localhost/index.php. But I am getting a white screen or 404 page not ...
1
vote
0answers
70 views

WP Multi-Site Install on Ubuntu 18.04 LAMP Keeps Re-Directing URL

After a few weeks of head banging... I am very near to completing a local development environment for my WP Multi-Site Installation. The final problem that I have (wishful thinking), is that the ...
1
vote
0answers
61 views

Xampp redirects to Apache2 HomePage

I've installed Xampp 7.4.7 in my Ubuntu 20.04 long ago and got back recently and when I go type in localhost in my browser it redirects me to Apache2 homepage see here and I remembered before that it ...
0
votes
0answers
38 views

Apache 2.4 and PHP7.4 on Ubuntu 16.04 - Unable to execute php files [duplicate]

I have been through multiple threads on Ask Ubuntu and other sites with no success. Apache 2.4.43 is installed and working. PHP 7.4 is installed and php -v and running php -r "phpinfo();" ...
0
votes
0answers
48 views

Having trouble with php, can't get it to give me the info page

I am using Ubuntu. Loaded Apache2, MySQL, and PHP. Put this file var/www/mydomain/info.php with this code: <?php phpinfo(); ?> Onto Ubuntu. When I put the IP in the web browser, I just get the ...
0
votes
1answer
339 views

why is apache dead?

I have been developing under Docker but I am running out of time and want to develop directly on my local laptop. I think I need to install LAMP first. The first step is to get apache running, but as ...
1
vote
0answers
136 views

LAMP Mysql PDO FETCH_ASSOC is not working

I have a PHP script and it works well on hosting or on WAMP (in Windows), but when I try to run it on LAMP (in Ubuntu), it gives me this error: Fatal error: Uncaught Error: Call to a member function ...
1
vote
0answers
49 views

Installing LAMP-server

I installed Ubuntu 16 some years ago, and I remembered an option during installation that allowed me to install a few other functions, such as LAMP. Why is that option removed, and what is the easiest ...
2
votes
1answer
381 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
0answers
27 views

Steps to upgrade from Ubuntu 14.04.6 to 16.04.6 LTS or to latest 20.04 LTS (if possible) [duplicate]

I've been on 14.04 LTS for a while now and really keen to upgrade to the latest LTS version (if possible) or do I need to incrementally upgrade? I will obviously backup my main directories and files ...
2
votes
0answers
72 views

Weird phpmyadmin url

I have question regarding phpmyadmin. Just installing Ubuntu 20.04 then setup LAMP stack. When i click Phpmyadmin icon from Activities it open in the browser using "localhostphpmyadmin" instead "...
0
votes
1answer
44 views

How to use root permission while copying, moving and extracting files

I am new user in ubuntu and i am a web developer especially wordpress developer. So I have installed xampp and after downloading wordpress zip file I moved it to /opt/lampp/htdocs/ But whenever I am ...
0
votes
0answers
222 views

lampp php version change

I have changed php version from terminal and now from terminal if i check php -v its displaying my version 7.4 I changed php version on terminal using this command sudo update-alternatives --config ...
1
vote
1answer
90 views

apt install lamp-server - MySQL password

I have installed lamp-server via command apt install lamp-server and it works, as I see in the web browser. But I am not able to log in to mysql as root user. If I try to run mysql -u root -p ...
1
vote
0answers
226 views

install phpmyadmin on Ubuntu 20.04

I have a problem with install phpmyadmin on Ubuntu 20.04. I have an error: An error occured while installing the database Error is like here but I can't fix that. This article said that I must ...
0
votes
2answers
2k views

php my admin showing php code instead of login

hello i know there are a lot of questions talking about this problem but the thing is i installed apache2 and mysql and php 7.3 but when i try to enter localhost/phpmyadmin it shows ?php /* vim: set ...
0
votes
1answer
173 views

Uninstalling and reinstall MySQL for LAMP server (forgot password)

I have forgotten username and password for MySQL in LAMP stack on Ubuntu. I want to uninstall and reinstall MySQL for the LAMP server.
1
vote
0answers
48 views

“Delete Permanently” instead of “Move to Trash” in '/var/www/html' Ubuntu 18.04 LTS

After successful installation of LAMP from this link, everything works fine but when I tried to delete some files, it shows me Delete Permanently option instead of Move to Trash. If I put the same ...

1
2 3 4 5
16