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
18 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:...
user avatar
0 votes
1 answer
19 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 ...
user avatar
0 votes
1 answer
28 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 ...
user avatar
0 votes
0 answers
81 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....
user avatar
  • 1
1 vote
1 answer
46 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 ...
user avatar
  • 11
0 votes
1 answer
132 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 ...
user avatar
0 votes
0 answers
88 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 ...
user avatar
0 votes
0 answers
23 views

lampp installed but php not running

I am using Ubuntu 20.04.3 LTS with XAMPP the latest version. I have access to localhost/phpmyadmin and I can use mysql in terminal using the code below cd /opt/lampp/bin ./mysql -u root Everything ...
user avatar
0 votes
1 answer
48 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. ...
user avatar
0 votes
0 answers
230 views

Error: Lost connection to MySQL server at 'reading initial communication packet', system error: 104

I installed lamp server on 20.04 and it worked. But then suddenly I get Error: Lost connection to MySQL server at 'reading initial communication packet', system error: 104 no more mysql working, not ...
user avatar
  • 133
0 votes
1 answer
335 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, ...
user avatar
0 votes
1 answer
99 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 ...
user avatar
0 votes
0 answers
25 views

Installing web apps using LAMPP?

I have both Google Chrome and Firefox. I need to install this repository: https://github.com/jualahmed/mobilerecharge On my flavour of Ubuntu. Lubuntu. I have downloaded LAMPP (everything and set it ...
user avatar
1 vote
0 answers
28 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 ...
user avatar
0 votes
2 answers
588 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 ...
user avatar
0 votes
1 answer
151 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 ...
user avatar
  • 21
0 votes
0 answers
55 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.. *...
user avatar
  • 1
1 vote
0 answers
611 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 ...
user avatar
  • 11
1 vote
0 answers
37 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 ...
user avatar
  • 11
0 votes
0 answers
52 views

Docker - ubuntu 21.04 - low host CPU usage

I'm running a LAMP application using docker compose on Ubuntu 21.04. The application is extremely slow. Checking the docker stats I'm seeing that the CPU % usage, while loading a page, is most of the ...
user avatar
  • 1
0 votes
1 answer
61 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 ...
user avatar
0 votes
0 answers
73 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 ...
user avatar
0 votes
2 answers
35 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 ...
user avatar
1 vote
0 answers
41 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 ...
user avatar
1 vote
0 answers
304 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 ...
user avatar
  • 11
0 votes
0 answers
255 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 ...
user avatar
0 votes
1 answer
326 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....
user avatar
  • 3
0 votes
0 answers
210 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 ...
user avatar
  • 101
3 votes
2 answers
4k 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> ...
user avatar
0 votes
1 answer
35 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: ...
user avatar
0 votes
1 answer
986 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?
user avatar
2 votes
1 answer
3k 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 ...
user avatar
0 votes
0 answers
124 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....
user avatar
0 votes
0 answers
25 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 ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
  • 13
0 votes
1 answer
112 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 ...
user avatar
1 vote
0 answers
570 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 ...
user avatar
  • 71
5 votes
1 answer
715 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....
user avatar
0 votes
2 answers
6k 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 ...
user avatar
0 votes
1 answer
69 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 ...
user avatar
0 votes
1 answer
623 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 ...
user avatar
  • 467
1 vote
1 answer
2k 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/...
user avatar
0 votes
0 answers
1k 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 ...
user avatar
1 vote
0 answers
75 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 ...
user avatar
1 vote
0 answers
88 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 ...
user avatar
0 votes
1 answer
747 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 ...
user avatar
1 vote
0 answers
162 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 ...
user avatar
  • 19
1 vote
1 answer
70 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 ...
user avatar
  • 11
2 votes
1 answer
660 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 ....
user avatar
  • 21
0 votes
0 answers
28 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 ...
user avatar
  • 2,537

1
2 3 4 5
16