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
0 answers
8 views

HELP, failed to import database to phpmysql

HELP ME MASTER -_- I'm just learning to install linux again, my fault, forgot to backup the database via phpmyadmin, only backup copy folder in var/www/html from debian version 8..., I tried to change ...
user avatar
0 votes
0 answers
24 views

How do I start with PHP apache setup for testing my PHP/HTML files?

I haven’t coded PHP in 15 years, and I can't remember how to get started. I set up PHP 8.1 with apache2 on my Ubuntu 22.04 desktop, but I don’t recall how/where to set up my files and how to test them ...
user avatar
0 votes
0 answers
29 views

I need a bash script that prints the version of (Numbers Only)

I need to write a script that will download apache, mariadb, python and php versions for me. Only numbers. I don't mean the usual commands like: php --version I want it to be displayed on the screen ...
user avatar
1 vote
0 answers
22 views

not playing media files like mp3 mp4 and permission denied on apache server

On apache server I configured tomcat as proxy server that serves mp3 and mp4 from a folder named content. I have given 0755 permission recursively to all media files and changed owner group to root ...
user avatar
0 votes
0 answers
24 views

How to git clone into a folder?

I have set up ssh keys correctly for the ubuntu user, as I can git clone if I use sudo to chmod 777 a directory. Obviously 777 is not a good idea, it was just to see where the issue lies. So, in my /...
user avatar
  • 276
0 votes
0 answers
69 views

Unable to Update libapache2-mod-php7.4 After Upgrade to 22.04

Last month, I had a smooth version upgrade to Ubuntu 22.04 on my LAMP server. This month, while running my monthly patch maintenance, I got this error: The following packages have unmet dependencies: ...
user avatar
  • 13
0 votes
1 answer
35 views

Cannot access my localhost from any IP address while localhost and 127.0.0.1 can

I am very tired because after completing the web application, I can access it through 127.0.0.1 only. I have a VMware machine with Ubuntu 20.04 IP Address ens33: flags=4163<UP,BROADCAST,RUNNING,...
user avatar
0 votes
0 answers
21 views

Can not access my website (only) from my local machine

Here a weird situation ... My website is accessible from any machine except my local machine, i.e. my machine where my server Apache is installed. I can't figure it out : when I type my website from ...
user avatar
0 votes
0 answers
34 views

Problems trying to deploy Laravel 9 app on Ubuntu Server 20.04

Im facing problems while try to deploy my Laravel App (v9) on my Ubuntu Server. First of all, Im going to share my Apache Configuration because I think my problem is related with it more than Laravel. ...
user avatar
0 votes
0 answers
32 views

why my localhost opening with a suspicious domain

When I type this domain: "geeker.com" It opens my localhost, I'm unable to understand this. Even my host file (/etc/hosts) isn't using this name. Have a look at this By the way, I'm using ...
user avatar
0 votes
0 answers
63 views

AH01630: client denied by server configuration

I have a LAMP stack droplet on Digital Ocean with multiple virtual hosts. Ubuntu 22.04 PHP 8.1 Apache 2.4 MySQL 8.0 In /var/log/apache2/error.log i get: AH01630: client denied by server configuration....
user avatar
0 votes
0 answers
41 views

I am constantly getting 403 errors in Apache Ubuntu, regarding aliases in apache 2.4

I've done several hours of research. I am running Ubuntu 22.04, I am on the latest release and I am not doing anything special or fancy to my computer. I've gotten to the point where I successfully am ...
user avatar
  • 29
0 votes
0 answers
18 views

cannot enter my own directory after running 2 chmod commands

I ran these 2 commands : sudo find /var/www/wordpress/ -type d -exec chmod 750 {} \; sudo find /var/www/wordpress/ -type f -exec chmod 640 {} \; And now I can't enter the directory: -bash: cd: ...
user avatar
0 votes
0 answers
45 views

problem with composer install and php version when deploying web app

I need to deploy a web application written with Laravel and vue.js. The server is on AWS with ubuntu 18.04. Initially the development was done on a windows machine with Xampp v7.4.10, Control Panel v3....
user avatar
0 votes
0 answers
15 views

systemctl shows 'apache2@.service' in enabled services list

i installed apache2 on ubuntu 22.04 sudo apt install apache2 i choosed Apache Full profile sudo ufw allow 'Apache Full' then, i enabled it on boot sudo systemctl enable apache2 but when i list all ...
user avatar
  • 101
0 votes
0 answers
129 views

Django mod_wsgi Apache error 403 Forbidden on Ubuntu 22.04

Django mod_wsgi on Apache application works fine in Ubuntu 20.04 and previous versions with the configuration mentioned below, but when I do the same configuration in Ubuntu 22.04 it gets 403 ...
user avatar
0 votes
0 answers
46 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 ...
user avatar
1 vote
0 answers
15 views

Apache2 mod_python Error...?

Clean install Of Jellyfish 22.04 is anyone else getting this error in their Apache logs? python_init: Python version mismatch, expected '3.10.2', found '3.10.4'. python_init: Python executable found '(...
user avatar
0 votes
1 answer
41 views

How can I give full access to www-data to a folder in /var/www

I'm trying to give access to www-data which is a user created by apache. I've tried to chmod 777 but that didn't worked. I want this access by default for all files in a specific directory, so that ...
user avatar
-1 votes
0 answers
17 views

Unable to access website hosted in Ubuntu using apache server

What have I done till now- Installed apache, mariadb, and wordpress wordpress is setup and when typing localhost/ in URL it directs to the website. Now the website is not accessible from any other ...
user avatar
0 votes
0 answers
52 views

Apache Server 2.4.53 with Custom Built OpenSSL

I am trying to launch an Apache server on Ubuntu 20.04 running a custom built OpenSSL, but I don't want to install it on my machine, instead, I want to show the server where it can find all libraries ...
user avatar
0 votes
0 answers
17 views

Elementor loading screen of death

I'm writing here because I don't know who to turn to with this problem anymore. Elementor plugin don't want to load my page. I have already tried: https://www.youtube.com/watch?v=L0KGx6cCAvM&...
user avatar
0 votes
0 answers
17 views

Ubuntu 20.04 running Apache2 not recognizing cert from internal CA

I am trying to apply an ssl cert to an internal site. I have a virtual host configured in apache with the ServerName my fqdn and listed the paths to the cert and key files. I generated the key and csr ...
user avatar
0 votes
3 answers
71 views

Correct Permissions in shared apache folder

I'm trying to have a PHP development environment that handles multiple projects automatically without creating a separate vHost for each project, this part works fine. I go through all the steps that ...
user avatar
  • 53
0 votes
0 answers
24 views

Stop 'localhost' resolving to old domain name? (or, how to change 'live' wordpress site back to local?)

I had a wordpress site running on an Ubuntu 18.04 linux server. The server died (motherboard issue) and I've since been able to take the hard drive out and boot from it on a different computer. My ...
user avatar
  • 26
0 votes
1 answer
40 views

Problem- getting basic PHP files to execute instead of just being read on WSL V2 Ubuntu Linux 20.04

The problem Just a heads up, I was figuring this out for several hours. I tried all the different ways that other people were doing and none of them worked for me. I figured that if this was this ...
user avatar
  • 29
0 votes
1 answer
14 views

Start Apache2 and Tomcat on Startup on Ubuntu

Apologies if this has been answered elsewhere, I know little about either of these services. At work, we have a server that is normally on all the time, but when the power goes out, it shuts off. Our ...
user avatar
  • 1
0 votes
0 answers
21 views

Can I use "mail-in-a-box" with my 18.04 LAMP?

I'm trying to switch over from overpriced hosting to a VPS droplet. My main concern is my email servers. With switching over to a LAMP I'm losing access to my host' email server. I discovered mail-in-...
user avatar
0 votes
1 answer
46 views

Typo3 - Folder "/" does not exist - Error

when I am in the backend in the filelist Module or want to link something, I get the error message: "#1314516810: Folder "/" does not exist." (see screenshot). The folder exists of ...
user avatar
  • 1
0 votes
0 answers
41 views

Snap onlyoffice-ds and apache nextcloud

I've installed nextcloud the traditional way, without docker or snap and i'm using apache2, mariadb, php. Nextcloud is working fine, and i have my SSL working correctly. From memory, you cant mix ...
user avatar
0 votes
1 answer
97 views

Change apache port number on virtual host configuration file

I am trying to change the port number on which apache runs on Ubuntu 20.04.I have configured docker to run on port 80.So I am trying to make apache run on port 8081.I have followed this tuitorial ...
user avatar
0 votes
0 answers
19 views

apache tutorial didn't work

I followed the Apache2 Install and Configuration tutorial, but it doesn't seem to work. https://ubuntu.com/tutorials/install-and-configure-apache#1-overview I had no problem access my local website ...
user avatar
  • 1
0 votes
1 answer
17 views

Wordpress has by default chosen a database and I can't install more than one wordpress in Ubuntu 20.04

I'm a new wordpress user so this might seem you a very common problem but trust me I have searched what I'm capable of but couldn't find any answer. So my problem is my I created a database for my ...
user avatar
0 votes
1 answer
35 views

Apache Video Stream Error

Making video stream website(localhost) But Problem is not working My html code (test.html) <video> <source src="/home/$user/Documents/video/test.mp4" type="video/MP4&...
user avatar
0 votes
0 answers
14 views

icingaweb2 not reachable

the icingaweb2 is not reachable, although it is running on the server with the apache and icinga2. I already have all the prerequisites, that are documented on the official site set up. However, when ...
user avatar
  • 3
0 votes
0 answers
73 views

XAMPP virtual host loading the same as localhost (), but not the document root I have specified

I am trying to create a virtual host for my XAMPP project. I have created the virtual host and this is working, but it is not loading the DocumentRoot I have specified, only the root directory (the ...
user avatar
0 votes
0 answers
83 views

Is there a way of configuring 2 or more web domains for only 1 DNS server?

I´m now creating 2 websites on Apache2 web server (Ubuntu 20.04 based) and they both have different domains (domain1.com and domain2.com for this example). Webpages are hosted on /var/www/domain1 and /...
user avatar
0 votes
0 answers
19 views

OpenVPN blocks outgoing Apache sites

I host a site to teach SQL (databases.pacha.dev) by using Apache in a DigitalOcean droplet. I wanted to install OpenVPN to have a VPN in the same server, and I run this as root #!/bin/bash echo "...
user avatar
0 votes
0 answers
33 views

rasbery pi ubuntu21.10 apache2 server operation on desktop. I got an error when I upgraded to ubuntu22.04. I don't know where or how to fix it

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@localhost to inform ...
user avatar
0 votes
0 answers
141 views

Ubuntu 22.04 - impossible to run apache of any version of x86 XAMPP stack

Due to compatibility reasons of an old project I am in need of a functioning x86 XAMPP installation (V 5.5.19). Installation and execution of apache of said stack works fine in 20.04 and below but ...
user avatar
0 votes
0 answers
320 views

Cannot log in through phpmyadmin to mysql in my container

I'm trying to have one docker container with: ubuntu 20.04, on top of which I add apache, php, mysql and phpmyadmin (all on the same container) What's installed: mysql Ver 8.0.29-0ubuntu0.20.04.2 ...
user avatar
  • 101
0 votes
0 answers
94 views

get 404 error for local web server

I installed Apache also make sub directory under www like /www/azolfagharj make azolfagharj.conf like this <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/azolfagharj ...
user avatar
0 votes
0 answers
431 views

Apache2 is not starting after upgrading version 22:04

After upgrading Ubuntu 16.04 to 18.04, then to 20.04 and finally to version 22.04, I got this error: How can I fix it ? root@vmi155065:/etc/apache2/mods-enabled# sudo service apache2 status × apache2....
user avatar
1 vote
1 answer
465 views

Apache PHP modules not upgraded in 22.04

After upgrading from 21.10 to 22.04, Apache server does not start anymore: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php8.0....
user avatar
  • 355
0 votes
0 answers
22 views

Set group ownership and permission for new created files/folders

I found several questions like that of mine, but none of them worked for me. I have a site folder /var/www/afos2.local/html. Apache is running under www-data user. I have created a group site_afos2. I ...
user avatar
  • 1
0 votes
0 answers
56 views

How can I use Php7.4 in my Apache in Ubuntu 22.04? [duplicate]

Recently I upgrade my Ubuntu from 20.04 to 22.04. I was using Php7.4 in Ubuntu 20.04 with the Apache server. After upgrading to Ubuntu 22.04, the Php Upgrades to 8.1 automatically. After that, I ...
user avatar
0 votes
0 answers
297 views

job for zabbix-server.service failed because the control process exited with error code

I would like to install zabbix-server on Ubuntu 20.04. When I run the following command, I receive an error: sudo systemctl restart zabbiz-server zabbix-agent apache2 Error: How can I solve this ...
user avatar
0 votes
0 answers
24 views

Editing files gives permission errors

I have a site running on a ubuntu server and it was working fine before in terms of file permissions. when we tried to edit files in /var/www/html/app/Reports, it gave Permission denied error then I ...
user avatar
  • 101
0 votes
0 answers
121 views

ubuntu 20.04 install apache2 version 2.2.x

Don't ask me why but I need to install apache2 version 2.2.29 on linux Ubuntu 20.04. wget https://archive.apache.org/dist/httpd/httpd-2.2.29.tar.bz2 tar -xf httpd-2.2.29.tar.bz2 cd httpd-2.2.29/ ./...
user avatar
  • 101
0 votes
0 answers
45 views

cannot Create a domain, projects, users, and roles for openstack keystone in ubuntu 20.04 with internal error (500)

try to create keystone identity service domain in openstack with command : openstack domain create --description "An Example Domain" example i got error in terminal : Failed to discover ...
user avatar

1
2 3 4 5
90