Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
-1 votes
1 answer
52 views

Receiving 403 Forbidden Error in PHP on Ubuntu 22.04

I am encountering a persistent issue where I receive a 403 Forbidden error whenever I attempt to access any PHP file within directories on my Apache web server, except for index.php. This problem ...
Tejaswa  Nama's user avatar
-1 votes
0 answers
14 views

How to install mongodb inside lampp folder?

So I am trying to install mongodb inside lampp folder because my project is using path /opt/lampp/etc/php.ini for php.ini instead of /etc/php/8.2/cli/php.ini problem is that Class MongoDB\Driver\...
Satya Jeet's user avatar
0 votes
0 answers
14 views

what owner:group should I set my lampp(apache and mysql) folder, so a non sudoer user can execute it without sudo command?

I installed the lampp suite via a sudoer user, but I need to be able to use it through another user that isn't in the sudoers file. Is it possible?
Jorge's user avatar
  • 1
0 votes
0 answers
24 views

How to move an Ubuntu LAMP server VM from a Xen orchestra host to a hyper-V host

I have no credentials to access the Ubuntu LAMP server except via cPanel which has terminal access and wish to move this Ubuntu LAMP VM from a Xen Orchestra Host to a Hyper-V host. I was thinking of ...
Brad Joyce's user avatar
2 votes
1 answer
198 views

Modifying apache2.conf AllowOveride All gives 500 Internal server error

I'm trying to migrate a test website from a hosted domain to an OCI ubuntu 22 instance. The instance works ok, i've installed apache2 and php. I also copied my files to the instance. However, my ....
Andrei's user avatar
  • 29
0 votes
1 answer
38 views

wrong permissions on server after upgrade to new OS on LAMP server

after our LAMP server upgraded the OS I am finding that the permissions are wrong on the server, and it cannot display the file (404 error), until I change the permissions. It was working fine before ...
Adrian's user avatar
  • 1
0 votes
0 answers
69 views

How to make a virtual host public with LAMPP?

Together with a friend we have designed a web page with html, css and js and to publish it we thought about using the Apache server on Linux. We bought a Raspberry Pi4, downloaded everything, ...
Manuel Engenios Ortega's user avatar
2 votes
1 answer
841 views

MySQL not allowing 'root@localhost' to access it

I'm trying to set up MySQL server as part of a LAMP stack on Ubuntu Server 22.04, I have installed MySQL and whenever I try to run the commands: ~$ sudo mysql or ~$ sudo mysql -u root -p It returns ...
Archvirus's user avatar
0 votes
1 answer
33 views

No incomming conn. from local network device: from a local PC using an iPhone-Hotspot-Network connecting to Ubuntu 22.04 Desktop with LAMP/vsftpd/ufw

I can not connect to my local webserver that runs Ubuntu 22.04, except I use win7/XAMPP instead. The Setup is quite simple: I have 2 local PCs, one using win10 and one using ubuntu 22.04 desktop. Both ...
Adalbert's user avatar
0 votes
1 answer
103 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 Viziru's user avatar
0 votes
1 answer
526 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
320 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
71 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
176 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
1 vote
1 answer
117 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
1 vote
0 answers
278 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
822 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 Abbasi's user avatar
1 vote
0 answers
1k 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
18 votes
2 answers
45k 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
  • 1,296
0 votes
1 answer
530 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
109 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
302 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
2k 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
203 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
2 answers
6k views

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

I read all other questions and don't solved the problem. I have a Ubuntu server 21.10 with lamp(Apache 2.4.48) I made a symboliclink with ln -s ~/Sviluppo/myWeb /var/www/myWeb and it is ok. Then in ...
user2994206's user avatar
0 votes
1 answer
2k 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
236 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
2k 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
531 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
217 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
10k 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
833 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
139 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
2k 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
51 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
179 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
279 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
-1 votes
2 answers
280 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
282 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
1k 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
570 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
709 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
565 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
12k 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
217 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
3 votes
1 answer
4k 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
2 answers
6k 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
388 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
33 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
3k 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

1
2 3 4 5
16