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
1 answer
32 views

apache ubuntu 18.04 ads trailing slash at the end automatically

first i enabled mod rewrite then i used in my .htaccess this RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.*)$ $1.php virtual hosts file ...
Andrei Claudiu's user avatar
0 votes
1 answer
48 views

I installed php7.4 version in ubuntu and after that I am enabling mbstring in ubuntu but it keeps showing me error

In picture it is clear that installed version of php is 7.4 and when I enable mbstring extension with sudo phpenmod mbstring it keeps showing me the error. I have attached screenshot for it.
Mian Saqlain's user avatar
1 vote
1 answer
72 views

error installing php dependencies on ubuntu

I have a vps with linux ubuntu 20.04 LTS installed, I also installed the lamp stack to upload my web projects, php with version 7.4, now I need to install some more php libraries for example: php-gd ...
FeRcHo's user avatar
  • 111
0 votes
0 answers
37 views

How to recover user access to Mysql database?

I am working in LAMP(Mysql), I wanted to allow an external ip to connect to the database but it was not possible because Mysql was using MyISAM storage engine, so I tried to change it to InooDB adding ...
Ander Canales Medina's user avatar
1 vote
0 answers
71 views

how do i change the ssl PORT in lampp?

hello i am trying to change the ssl port in Lampp i tried to change the Port if test $ssl -eq 1 && testport 6453 in sudo nano /opt/lampp/lampp and i tried to restart and encountered into an ...
TheTruth's user avatar
0 votes
0 answers
35 views

Can't run mysql after unistalling and reinstalling

I tried to change my lamp server from mysql to mariadb, because my teacher decided to use mariadb instead. I'm on Ubuntu 20.04 I installed lamp using https://doc.ubuntu-fr.org/lamp, and removed mysql ...
Miaku's user avatar
  • 1
0 votes
0 answers
13 views

php kinectic release (File not found) [duplicate]

I need to downgrade my php to 7.4 and has below issue while trying to fetch old php version ... php kinectic release (File not found)
Usman Ahmed's user avatar
0 votes
0 answers
76 views

Default mySQL user behavior not matching online guides

My issue resembles this one, this, and this but is not the same. It includes this problem. I am installing mySQL on a fresh Ubuntu 22.04 per this guide from DigitalOcean. It is very straightforward, ...
Wiley Rush's user avatar
0 votes
0 answers
332 views

how to change the php version from php 8* to php 7.4 for wordpress in ubuntu 22.04 lampp stack

I installed php 7.4 from ppa:ondrej/php repository in order to work my wordpress application. I changed from 8* to 7.4 using "sudo update-alternatives --config php" this command but when I ...
Nimesh Vm's user avatar
1 vote
0 answers
171 views

Post PHP8.1 PhpMyAdmin 5.1.4 Upgrade Landing Page Blank AFTER Login

I am running Ubuntu 20.04 server with Virtualmin, LAMP. (php8.1). I upgraded my PhpMyAdmin install from 4.9.5 to 5.1.4. I can successfully login, however my landing page and left-hand panel are ...
nightwatch's user avatar
1 vote
0 answers
534 views

opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found

ERR > /usr/local/bin/pdf2htmlEX: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/local/bin/pdf2htmlEX) /usr/local/bin/pdf2htmlEX: /opt/lampp/lib/libstdc++.so.6: ...
Saad 's user avatar
  • 11
0 votes
0 answers
42 views

Diagnose Ubuntu 20.04 delay, hang, freezing, unresponsiveness

I have a system where individual processes will run for a bit, then grind down, pick up again, slow down again... Sometimes multiple processes freeze. Sometimes the entire system is unresponsive. I ...
TonyG's user avatar
  • 187
0 votes
0 answers
35 views

LAMP fails on 20.04

Running LAMP on 20.04 for months suddenly fails to respond to any inquiry. apachectl status gives the following message: /usr/sbin/apachectl: 113: www-browser: not found 'www-browser --dump http://...
E. Porter's user avatar
0 votes
0 answers
579 views

I am not able to install apache2

I am trying to install apache2 by using sudo apt install apache2. I am getting error : Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages ...
Abhishek kamal's user avatar
7 votes
1 answer
12k views

netstat: command not found

I installed xampp to run a server as part of a guide, but it wasn't working. After trying to run it from command line, I got the following output: $ sudo ./xampp start panel Starting XAMPP for Linux 8....
Dr-Bracket's user avatar
0 votes
0 answers
612 views

Phpmyadmin returning blank after updating phpmyadmin

I had uninstalled PHPMyAdmin as sudo apt-get purge phpmyadmin sudo apt-get autoremove then reinstalled phpmyadmin with: sudo add-apt-repository ppa:phpmyadmin/ppa sudo apt-get update sudo apt-get ...
Saroj Shrestha's user avatar
0 votes
1 answer
380 views

XAMPP is not working on Ubuntu 20.04.4 LTS

I have been using XAMPP to work on personnal project using PHP. XAMPP used to work before when I first installed it but now there seems to be an issue that I can't seem to resolve. Here's what happens:...
Harpartap S C's user avatar
0 votes
1 answer
40 views

Help with installing apache2 and PHP (silly question)

I need to install wordpress, so I'm installing LAMP Stack with PhpMyAdmin following this TecMint step-by-step It was working just fine until step 12: Next, test if Apache is working in conjunction ...
Kali Dolabella's user avatar
0 votes
1 answer
230 views

Create a systemd service for starting LAMP &c

I have a Linux-box with Ubuntu that I use for development. I have disabled Apache, MySQL (well, MariaDB) and PostgreSQL (and a couple of other services), and would like to write a systemd service ...
Baard Kopperud's user avatar
0 votes
0 answers
1k views

How to run php code in VSCode in Ubuntu 20.04, when it was installed with XAMPP server?

I want to execute php files on VSCode (php was installed with XAMPP server), so I find the executable path of my php with whereis php, after this I got: php: /opt/lampp/bin/php , so on VSCode settings....
0x55b1E06FF's user avatar
1 vote
1 answer
177 views

LAMP Installation on Ubuntu 20.04 LTS - issue with phpmyadmin installation

I get below error when installing phpmyadmin Depends: php7.4-common (= 7.4.3-4ubuntu2.8) but 7.4.28-1+ubuntu20.04.1+deb.sury.org+1 is to be installed E: Unable to correct problems, you have held ...
kad117's user avatar
  • 11
0 votes
1 answer
2k views

Solved: Apache doesn't resolve symbolic links in /var/www

SOLUTION(thanks to Dan): <Directory /var/www/exams> Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted </Directory> and chmod -R 775 ~/Sviluppo ...
user2994206's user avatar
0 votes
0 answers
1k views

Apache not found but exists

I set up a LAMP stack via Teddy Sun's LAMP Setup Script and when trying to restart Apache I end getting the below error: Unit apache.service could not be found. Obviously Apache is running, there are ...
Armitage2k's user avatar
0 votes
1 answer
150 views

running `sudo apt-get autoremove` launches phpmyadmin configuration wizard

I had a failed installation of phpmyadmin. Now, I'm trying to completely uninstall Apache, MySQL, PHP, and phpmyadmin in order to start over and try again. I'm following some online guides to do so. ...
Mathew Alden's user avatar
-1 votes
1 answer
1k views

Why MySQLi insert query not working Ubuntu

Hi there I'll be glad if anyone has answer to this question, i recently change my pc os to Ubuntu and also download Xampp on it, but the problem now is PHP MYSQLI insert query not working on my pc, ...
Christaiwo's user avatar
0 votes
1 answer
330 views

PHP has stopped working on Ubuntu and Apache

I am running Ubuntu 18.04. I have a LAMP setup. At some point, I realized that my PHP was no longer working. I haven't used it for a while, so unfortunately I can't say when it stopped working. It ...
user3409700's user avatar
2 votes
0 answers
136 views

"Unable To Initialize Installer" when using a softlink

I've installed LAMP in ubuntu. At the directory it was installed, I can start the GUI if I use sudo ./manager-linux-x64.run However, if I create a softlink for this file: then I am getting the ...
Alejandro's user avatar
0 votes
2 answers
4k views

Why can't I change php.ini?

I hosted a WordPress website on Ubuntu 20.04 via LAMP. Now when I try to install a theme, "The uploaded file exceeds the upload_max_filesize directive in php.ini." this error occurs. I can't ...
Tanvir443's user avatar
0 votes
1 answer
428 views

Should I install Webmin before LAMP

As a total beginner, should I installed Webmin THEN LAMP or LAMP and THEN Webmin please? History:- *(I installed XAMPP a while ago - it worked though it never installed an ICON in the Applications. I ...
Mark's user avatar
  • 21
0 votes
0 answers
110 views

phpmyadmin is not accessable

I have installed and configured lamp stack from the steps described at digitalOcean. everything is perfect. I have set up multiple host. but I cant access the phpmyadmin. its giving not found error.. *...
fahim's user avatar
  • 1
1 vote
0 answers
1k views

Error on realpath() on '/var/lib/mysql-files' (Error 2 - No such file or directory) - "mysql-files" directory doesn't exist

I am using Ubuntu to configure Wordpress on WSL. Currently, I am trying to install MySQL as part of the LAMP Stack using the following as per this tutorial: sudo usermod -d /var/lib/mysql/ mysql sudo ...
Wisely's user avatar
  • 11
1 vote
0 answers
45 views

Unable to open GUI in Ubuntu version 20.01, post installing XUbuntu using tasksel and rebooting the VM, tried Alt+Ctrl+F1 too but no luck

Unable to open GUI in Ubuntu version 20.01, post installing XUbuntu using tasksel and rebooting the VM. As per the vedio--> After Xubuntu was installed successfully--> reboot the system and GUI ...
jyothi's user avatar
  • 11
0 votes
1 answer
152 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 ...
Jabu-Jabu's user avatar
0 votes
0 answers
153 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 ...
TechnoDiver's user avatar
0 votes
2 answers
141 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 ...
Benjamine krypto's user avatar
1 vote
0 answers
81 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 ...
HotSauceCoconuts's user avatar
1 vote
0 answers
973 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 ...
QNTNJUHEL's user avatar
0 votes
0 answers
450 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 ...
Bob-New Install's user avatar
0 votes
1 answer
580 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....
Zycd's user avatar
  • 3
0 votes
0 answers
454 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 ...
jeysmith's user avatar
  • 101
3 votes
2 answers
9k views

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

As you can see my website has an index.php file but it is not opening it by default. I have edited /etc/apache2/mods-enabled/dir.conf. Here is the file's content: <IfModule mod_dir.c> ...
MD AAMIR SIDDIQUI's user avatar
0 votes
1 answer
141 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: ...
Patoshi パトシ's user avatar
1 vote
1 answer
3k 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?
RasmNRun's user avatar
5 votes
1 answer
5k 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 ...
nightwatch's user avatar
0 votes
0 answers
301 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....
nightwatch's user avatar
0 votes
0 answers
28 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 ...
get_coding's user avatar
0 votes
1 answer
2k 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 ...
cryptic's user avatar
  • 13
0 votes
1 answer
322 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 ...
user150107's user avatar
1 vote
0 answers
823 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 ...
Brian's user avatar
  • 71
5 votes
1 answer
973 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....
Patoshi パトシ's user avatar

1
2 3 4 5
16