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.
783
questions
0
votes
1
answer
75
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
1
answer
1k
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
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/...
0
votes
0
answers
4k
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
...
1
vote
0
answers
97
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
0
answers
114
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
1
answer
2k
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
0
answers
247
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
1
answer
356
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
1
answer
1k
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
0
answers
29
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
0
answers
270
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
1
answer
484
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 ...
1
vote
1
answer
2k
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
0
answers
318
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
4
answers
10k
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
1
answer
494
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
0
answers
215
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 ...
0
votes
1
answer
270
views
Can't find htdocs after installing lampp in ubuntu 18.04.2
I've installed lampp in Ubuntu 18.04, following this tutorial.
Everything works fine, but I want to know where to put my project folders. In school we put them in htdocs which is inside /opt, but I ...
-4
votes
1
answer
83
views
Problem in Apache installation
Before Apache worked normally, but after uninstall and install I have this.
1
vote
0
answers
1k
views
Get SOAP for PHP 5.6
I am running my LAMP app, and update the modules through composer.
I am trying to install SOAP for php but I have a few issues. I have PHP 5.6.36
If I run sudo apt-get install php-soap
It installs ...
0
votes
2
answers
3k
views
Use only php from xampp
I am using Ubuntu 18.04.3 LTS and xampp with php 7.4.
I am trying to change the > php path variable.
I tried:
admin@admin:/opt/lampp/bin$ sudo ln -s /opt/lampp/bin/php /usr/bin/php
admin@admin:/...
0
votes
1
answer
2k
views
Curl not working on apache with Ubuntu 16.04
I want to use curl on Apache with Ubuntu 16.04; for that I installed it using :
sudo apt-get install curl
It says curl is already the newest version (7.47.0-1ubuntu2.14).
But when I run my script it ...
0
votes
0
answers
293
views
Ubuntu main repository and PHP
I’m seeking a “best practice.” I am building a LAMP server and when it comes to PHP specifically, I noted that the main Ubuntu repository only has version 7.2x while the current version is 7.4x. 7....
0
votes
1
answer
131
views
Do I have to set up Virtual Host when Apache accessed locally?
For the testing purposes I'm setting up LAMP on one machine. I want to access Apache, MySQL and PHP from the same machine. Is it necessary to set up a Virtual Host?
0
votes
1
answer
28
views
Can I install PHP, even though I'm having problem with installing MySQL?
I'm having problem with installing MySQL. Can I install PHP despite that?
Here is the problem with MySQL installation. (I ran out of room for adding information to that Question.)
1
vote
1
answer
1k
views
Problem installing Apache (LAMP)
I am trying to install LAMP and after this command:
sudo ufw app info “Apache Full”
I'm getting this error:
ERROR: Invalid profile name
I'm following these instructions.
Any advice?
1
vote
0
answers
116
views
Database is gone! I don't know how to resolve the issue
I am running WordPress on ubuntu 16.04 Lamp and have my website running since 2018 without any issues.
This morning the website was off with the error:
Warning: mysqli_real_connect(): (HY000/2002)...
1
vote
1
answer
2k
views
403 Error trying to access local app
I'm an IIS boy trying to delve into linux developing for the first time, so please, be gentle.
Ok, so... I'm trying to configure my workstation for developing on laravel.
I'm on Ubuntu 18.04, and ...
1
vote
3
answers
11k
views
phpmyadmin has no installation candidate
I have updated and addded repositories to my sources list, but it still doesn't work:
cyan@cyanonvo:~$ sudo apt install phpmyadmin
[sudo] password for cyan:
Reading package lists... Done
Building ...
1
vote
0
answers
79
views
PHP is not working on local Apache Webserver
I am trying to setup a local wordpress installation and followed this tutorial to setup LAMP.
Unfortunately my Server does not seem to process PHP but I can't find the issue. If I create a file info....
0
votes
1
answer
79
views
Hello am just a beginner with ubuntu 19.4, but i have already fallen in errors while trying to install netbeans and LAMP
Entiry this was after doing a system upgrade and i repeatitively keep getting this error when ever i try to install any software, what should i do
The following packages have unmet dependencies:
...
2
votes
1
answer
311
views
PHP application not running on Ubuntu server
I just set up a AWS Lightsail LAMP instance for the first time today. I've successfully connected to the server with SFTP. I transfered a phpinfo.php file to the server and it successfully loads the ...
0
votes
0
answers
86
views
How to install php5 alongside existing php7 which is installed using xampp?
I'm on ubuntu 16.04 unity 64 bit.
For php7 I have xampp installed, for php5, I cannot have xampp, it will override php7.
I need to temporarily install php5, how to do that? And how to switch back ...
1
vote
1
answer
1k
views
Bitnami Lamp on Ubuntu mysql command not working in terminal
Installed a fresh Bitnami Lamp from here https://bitnami.com/stack/lamp/installer
Now the localhost and phpmyadmin in browser is working but when in terminal i typed mysql command in lamp/mysql/bin ...
1
vote
2
answers
11k
views
Can't start apache2 in ubuntu 19.04
I recently migrated from using Windows 10 to Linux Ubuntu 19.04. I finished installing LAMP through tutorials for 18.04 ubuntu and it worked fine once until I messed it up. Now I can't start apache2 ...
0
votes
2
answers
6k
views
Ubuntu 18.04, can't enable the mbstring PHP extension
When entering the command
sudo phpenmod mbstring
it returns error
already tried other solutions available on Google. Still, no result.
1
vote
1
answer
4k
views
Can't install xdebug on LAMPP with PHP 7.3.5
I've searched and read a lot of threads, and a lot of webs. Documentation of xdebug also.
But I continue developing without xdebug, and I really need it.
I followed installation instructions of few ...
0
votes
0
answers
47
views
I already installed Lampp in my ubuntu but can't understand how to start with wp-cli now
I'm very new at Ubuntu!
I already installed Lampp as it has built-in Apache, Mysql & PHP!
Now, I want to get started with the WP-CLI. And according to their instruction, I followed the same but ...
0
votes
1
answer
937
views
http://localhost/test.php and blog not working
when i try to access localhost/blog,
it says i dont have the permission to access /blog/ on this server and 403 forbidden.
I have been trying for hours and cant find any issues.
I have tried many ...
0
votes
1
answer
475
views
xampp- unable to start apache on ubuntu 16
1.sudo /opt/lampp/xampp start
Starting XAMPP for Linux 7.2.2-0...
XAMPP: Starting Apache...fail.
XAMPP: Another web server is already running.
XAMPP: Starting MySQL...already running.
XAMPP: Starting ...
2
votes
1
answer
350
views
Apache and Nginx on same disk
I've been working with LAMP systems on Ubuntu server for a few years, mainly as platform for CMS systems (WordPress, Drupal, etc.).
Now I would like to start using Nginx in a LEMP system.
As I have a ...
0
votes
0
answers
159
views
Netbeans MySQL connection : Server properties error
I am working on Netbeans-11.0 with JDK12 on Ubuntu 19.04. I have LAMP server with which I use phpMyAdmin to connect to MySQL server. Now I am trying to connect Netbeans to MySQL server but it shows an ...
0
votes
1
answer
15k
views
replace this file (located at /var/www/html/index.html) in Apache2 installed through LAMP in ubuntu 18.04
how to replace this file (located at /var/www/html/index.html) in Apache2 installed through LAMP in ubuntu 18.04
whenever I tried to open any .html or .php file it shows this error
"Not Found
The ...
1
vote
1
answer
541
views
Mutt through PHP, Could Not Send Message
I'm running a small LAMP server on ubuntu. At some point, I need a php script to send an email using Mutt. I use a system call from the php script like this
mutt -s $file1 -a threedplot.jpeg -a ...
6
votes
1
answer
5k
views
How to install ubuntu server for lxc on a smartphone (ARM or x86, bare metal)?
As of May 2019 what are the options (if any) to install Ubuntu server on a smartphone device?
I don't need much of the smartphone functionality, I don't need desktop and touchscreen blows and ...
1
vote
1
answer
2k
views
Warning: socket_create(): Unable to create socket [1] in phpservermonitor
Everytime I click on the update button in phpservermonitor it gives out this error:
Warning: socket_create(): Unable to create socket [1]: Operation not permitted in /var/www/html/phpservermon/src/...
0
votes
0
answers
79
views
New domain on Ubuntu LAMP stack connected to another website
I purchased bardhakryeziu.com and tried to create new virtual host on apache2. What I did was I copied the conf file of my own website amirrami.com and just changed the values. Now I have no idea what ...
0
votes
1
answer
2k
views
"systemctl status apache2" Failed to start the Apache HTTP Server
I'm using Ubuntu and I wanted to install apache2 so I could use php.
I followed the instructions in this website:
https://www.linode.com/docs/web-servers/lamp/install-lamp-stack-on-ubuntu-18-04/
...
1
vote
0
answers
920
views
Failed to start LSB
apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
...