Questions tagged [apache2]

Use this tag for question related to configuring and using Apache on Ubuntu or one of Ubuntu's official derivatives.

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

syntax error, unexpected 'DB_PASSWORD' (T_STRING), expecting ')' in /etc/wordpress/config-localhost.php on line 4

I have received this error message in the log file /var/log/apache2/error.log syntax error, unexpected 'DB_PASSWORD' (T_STRING), expecting ')' in /etc/wordpress/config-localhost.php on line 4 ...
0
votes
0answers
12 views

local installation of Wordpress on Ubuntu 20.04 giving blank screen

I have installed Wordpress on Ubuntu 20.04 this is giving a blank screen when I use localhost/blog/wp-login.php. apache2.conf had been edited with directories for Wordpress: /usr/share/wordpress /...
0
votes
0answers
12 views

How can I use Ubuntu Apache in VMware a

I have installed VMware on WIndows. On Windows I have static IP. Now I have problem with apache on ubuntu. If used my local ip works, but If I used external ip as static ip not works. I have tried ...
-1
votes
0answers
27 views

Certbot and “unable to find a virtual host listening on port 80” [closed]

Running Debian 9, Apache 2.4, Certbot 0.28.0-1~deb9u2. ufw is disabled, netstat shows port 80 open. Since certbot isn’t auto-renewing, I run sudo certbot renew --dry-run and I get the error “Unable ...
0
votes
0answers
10 views

Not able to run apache2 server

I tried to install some kali linux tools in ubuntu and now for some reason i am not able to start the serve This is what I have already tried:- enter image description here please help!
0
votes
1answer
31 views

how to install phpmyadmin on apache2 ubuntu 20.04 server

I have installed php7, and mariadb. and I have done these steps that written in this document: https://websiteforstudents.com/install-phpmyadmin-on-ubuntu-20-04-18-04-with-apache/ but I couldn't run ...
2
votes
1answer
28 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 ....
2
votes
0answers
32 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 "...
1
vote
1answer
18 views

How to fix Apache active (exited) error?

I'm working on a project that requires using Apache Web Server, everything so far was working correctly until yesterday when I accidentally deleted the i3 package, the graphics driver and all of a ...
1
vote
0answers
32 views

Ubuntu PHPMYADMIN ''No such file or directory &mdash" error

My phpmyadmin with mysql worked perfectly for 2 months, and now I am getting this problem (i did absolutely nothing, I'm not sure why I get it). No such file or directory &mdash; The server is ...
-4
votes
0answers
18 views

Getting error while installing Apache [closed]

The image shows the error after running wget. It brought error 404.
0
votes
0answers
11 views

Apache2 ssl port 443 do not work

I'm trying to execute the a2enmod ssl command and it works, the problem is when I try to restart the apache service, here I leave the mysite.conf files and the result of the journalalctl -xe execution ...
0
votes
0answers
24 views

Ubuntu Memory is consumed

I have an Ubuntu 18.04 virtual server hosted on DigitalOcean, it is updated with all the latest updates and fixes, I started recently to notice that the memory on the server is being consumed rapidly, ...
0
votes
0answers
10 views

Multiple Virtual host with Port 443 pointing to wrong directory

I have created two virtual host files on ubuntu apache2 www.example1.com.conf www.example2.com.conf which is working fine with port 80. without https. I have added following code for 443 ...
0
votes
1answer
17 views

Apache2 allow PHP

I have a new installation of Apache2 and PHP. But it seems PHP is not allowed on Apache. Server returns php as plain text. There are tons of files in /etc/apache2 directory. I dont know where to find ...
0
votes
0answers
7 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 ...
0
votes
1answer
58 views

Start and configure Apache in Ubuntu 19.10

Where is the physical location of apache2 in Ubuntu 19.10? I tried using to install Apache from the terminal. The response was that Apache has been installed already, but I can't find it in order to ...
1
vote
1answer
22 views

Apache doesn't start after reinstallation

before you ask, yes I already searched for this problem and looked at the few other answeres but none of them helped. I reinstalled apache2 and now it always give me this message (after using "...
0
votes
0answers
34 views

(error code 28) Resolving timed out after 5000 milliseconds Ubuntu server - DNS?

Intent: I am trying to load images programmatically using cUrl, into Prestashop in a XAMP via SSH. What I tried: I have looked around and the issue may be on the setup of the server. I tried to ...
0
votes
1answer
112 views

Can't restart Apache2 - Error

I currently have a problem with my website after trying to renew my SSL certificat. I've done all the steps mentionned in this tutorial : https://www.digitalocean.com/community/tutorials/how-to-...
0
votes
0answers
6 views

nginx responds to public IP address using correct root directive but responds with apache2 default root using domain name

My Ubuntu 18.04 server is running nginx and apache2 using this guide I have my site-specific nginx config file /etc/nginx/conf.d/my_domain.conf. Inside the file, I have: server { root /srv/...
0
votes
1answer
88 views

Cannot run mysql after update to 20.04

I've just upgraded from 19.10 to 20.04. All went fine, but I have problem with mysql. Here the currently installed packages: $ dpkg -l | grep mysql ii libmysqlclient21:amd64 ...
0
votes
0answers
12 views

Scuffed table in Mysql searchnig for debian-sys-maint's authentication_string

so I am new to Ubuntu (20.04 LTS) and I was trying to install apache2 and test a website locally on my device. Anyhow, I was following instructions found on: https://www.digitalocean.com/community/...
1
vote
0answers
26 views

Ubuntu 19.10 Update deleted the whole MySQL and the records

I have a serious problem with my Ubuntu Server, I updated today from 19.09 to 19.10 but during the install procedure, the system kept throwing messages that MySQL failed to update and the server want ...
0
votes
0answers
13 views

How to change default directory for a vsftpd to a virtualhost folder and restrict ssh to root users?

I have configured multiple virtual hosts in Apache. I am creating users with useradd <username>. I want to assign the directory of the virtual host to a specific user in vsftpd. For example, ...
1
vote
1answer
27 views

how to prevent the access to a website by the IP?

How can I prevent the access to a website by the IP? I have a Dedicated Server with Ubuntu 20.04 LTS and Apache. I want to prevent the access to my website by IP. I would like only virtual hosts to be ...
1
vote
0answers
16 views

I get NET::ERR_CERT_COMMON_NAME_INVALID when I try to use certbot for let´s encrypt in more than one domain

I am following the recommendations of Digital Ocean to configure several SSL certificates in Let´s Encrypt for more than one domain. Both domains have www subdomains. The first domain I have ...
1
vote
1answer
40 views

Access denied for user root@localhost

I installed phpMyAdmin on Ubuntu LAMP 18.04. Now, when I visit /phpmyadmin/ and try to login with username root and the password that I set up when installing phpMyAdmin, I get the following error ...
2
votes
1answer
49 views

Ubuntu Apache website accessible by another network but not locally

I got a strange problem in my ubuntu server. For lots of time i have a ubuntu server in my own home with websites hosted. Now i can access my websites by 'example.com' or by my public ip address but ...
0
votes
1answer
59 views

Another Permissions, Ownership and User Problem

This started when I noticed one site was giving client denied by server configuration errors in the Apache error.log but only on certain files in one local site. The rest of the site and all other ...
-1
votes
0answers
13 views

Why video is not playing on apache

I have apache2 installed on my ubuntu18. 04 and i have to make a media server with it but when I have connected to same wifi from my mobile which laptop is connected and also enabled apache server ...
0
votes
0answers
11 views

Set different ports for different web applications on Apache

I have two different applications and I would like to have two different port connection for each application like "localhost:44300" and "localhost:44311". Ubuntu server has SSL certificate. What I ...
0
votes
0answers
11 views

replacing php 7.3 files

I seemingly erased 2 files by accident trying to add a line to them, following instructions from a tutorial sudo bash -c "echo extension=/usr/lib/php/20180731/mcrypt.so > /etc/php/7.3/fpm/php.ini" ...
1
vote
0answers
33 views

PHP7.3 startup warning messages

I am working with Ubuntu 18.04, Apache2 and have upgraded to PHP7.3 from PHP7.2 but I am getting warnings in my php log file indicating that something is not quite right. PHP 7.3 is up and running ...
1
vote
1answer
21 views

Fail to start apache2 and mysql server on startup

I'm using Ubuntu 16.04 LTS On every boot mysql-server and apache2 fail to start and when i try to start manually it breaks and shows following error: After re-installation it works but again in ...
0
votes
0answers
24 views

Install and configure apache tutorial not working

I've tried to follow this tutorial from Ubuntu's official page: tutorial page. I can get Apache running on the localhost, but when I try to open up gci.example.com after following the tutorial it ...
0
votes
1answer
89 views

Apache service is up and running but not in web browser

I have migrated my Ubuntu server to AWS EC2 instance. The problem is Apache service is up and running but when I type "server-IP/phppage.php" nothing is displayed. After a while "The connection has ...
0
votes
0answers
15 views

After update apache2 stops working

when I run systemctl status apache2.service I get ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Active: ...
2
votes
1answer
60 views

write permissions on files and folder outside document root

With reference to the answer in the this thread, I would like to ask about another case where we have to save important files in a folder above the document root to protect important user data ( say ...
0
votes
0answers
21 views

Some questions about web server permissions

I have made a clean install of Ubuntu 20.04 and later installed Apache2, PHP, and MySQL. I started to read about file permissions for web servers. I am confused to what happened to the www-data group. ...
2
votes
1answer
143 views

ubuntu 20.04 apache2 server failed

Just upgraded to ubuntu 20.04 from 19.10. and after the restart I noticed my apache server is failed. I ran systemctl restart apache2 that showed Job for apache2.service failed because the control ...
0
votes
0answers
25 views

nginx service repeatedly, stopped working after a random certain time

Please assist me to solve this error permanently. I don't know why it occurs again and again. After command's sudo service httpd stop and then sudo service nginx start it's solved for few day's such ...
0
votes
0answers
12 views

Ubuntu VestaCP redirect all IP and WWW traffic to Non WWW domain name

I am very new to the world of servers, so I hired a vps to practice a little, but I have encountered a problem that escapes my knowledge and I would like to know if you can help me or explain if what ...
0
votes
0answers
10 views

autorun issue on startup

Running ubuntu 18.04 server. I am trying to install and run the Stripe Php Client. To perform this task you have to cd to a specific directory run the following command php -S localhost:4242 I can ...
0
votes
0answers
37 views

Ubuntu18.04 Fix for Syslog “rsyslogd 'action 8' suspended module (module 'builtin:omfile')” error

Log points to permissions on /var/log/apache2/error.log. They were root:adm 0640. Giving Group adm write permission (change to 0644) solved the problem. Apr 30 09:57:00 openemr0 rsyslogd: [origin ...
0
votes
0answers
16 views

Apache doesn't work after upgrade Ubuntu

I upgraded my Ubuntu to 20.04 version. Since then I can't run localhost. I can run Laravel project at 8000 port php artisan serv But if I want to run normal php project from /var/www/html directory ...
1
vote
2answers
22 views

Cannot login to phpmyadmin with root, there is two root users and can login to mysql without password

Following this tutorial, everything works fine, till the moment when I tried to login to my phpmyadmin with root and password: Problem 1 (cannot login to phpmyadmin): mysqli_real_connect(): (HY000/...
0
votes
0answers
15 views

How to use Nice / Renice to all new processes in future?

I want to set up a top priority to Apache2, but when I do it to currently running processes by renice command, it only works until the processes are ended, new users come to a website and niceness of ...
0
votes
0answers
29 views

Unable to install suPHP in Ubuntu Server 18.04

# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic # apache2ctl -v Server version: Apache/2.4.29 (Ubuntu) ...
1
vote
0answers
13 views

HTTPS Working Fine, but HTTP Shows Default Apache page

Everything was working fine but suddenly i noticed that my website is not working fine. When I try to visit my website over HTTPS, everything is working fine but when I try to access website over ...

1
2 3 4 5
80