Questions tagged [apache2]
Use this tag for question related to configuring and using Apache on Ubuntu or one of Ubuntu's official derivatives.
4,504
questions
0
votes
0
answers
16
views
installing mod_pagespeed on ubuntu22
I am trying to install mod_pagespeed on my AWS EC2 ubuntu-22 machine.
I am trying the following way
Download the stable release
sudo wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-...
0
votes
0
answers
11
views
Unrecognized COMMAND/service 'chipper,' how to find host package? [duplicate]
I'm trying to run a local apache server on a dedicated ubuntu 22.04.1 LTS server machine. However, I can't get apache2 to start. Every time I try sudo systemctl restart apache2 I'm told that it failed ...
0
votes
0
answers
13
views
How to add a user in only particular directory and no permission to another directory linux
My Root access is /Var/www/html
and i create giz folder under html and i need a access for this particular folder for jslpsgiz user
and this user can not accessing in other path and folder.
Path /var/...
0
votes
0
answers
17
views
VirtualMin Changing default document_root for Virtual Servers
I am currently using the latest version of Virtualmin on an Ubuntu server. I need to migrate several websites from an old server to this new server. In the old server, all the websites are located in ...
0
votes
1
answer
32
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 ...
0
votes
1
answer
48
views
error in spache2 000-default.conf file
I am trying to use apache2 for evil twin access point attack. When I started apache2 service, I got an error:
This is my config file:
This is my issue, saying that 000-default.config file has a ...
0
votes
0
answers
23
views
Apache2 webserver not accessible from outside LAN
I've just installed Apache2 web server on Ubuntu 22.04 with PHP, MariaDB and Wordpress. I've been following this YouTube guide:
https://youtu.be/pOESHd1G-HI
My Ubuntu machine's ip is: 192.168.1.16. I ...
0
votes
0
answers
65
views
Mysql doesn't start after moving var/lib/mysql
I'm running mysql 8 under Xubuntu 20.04. I needed more space for my database so I moved it using rsync. I then updated /etc/mysql/mysql.conf.d/mysqld.cnf to my new datadir. I then ran sudo systemctl ...
1
vote
1
answer
60
views
can user under www-data (PHP) escalate privileges by only knowing root password
The scenario is Ubuntu system with web server:
SSH Disabled
User doesn't have any terminal access
UFW enabled only HTTP and HTTPS allowed
PHP and Apache ran under www-data
www-data not added to ...
0
votes
1
answer
49
views
Web server on Ubuntu core 22
I started development for ubuntu core. I want to host my php web app on the ubuntu core. The problem is that it is snap based OS an I can't install apache2 and other packages what i need to host my ...
0
votes
0
answers
13
views
Ports is not working
i installed ubuntu in VMware EXsi 5.5.0 installed webmin and virtualmin, i enabled the ufw, set ports ,installed apache, but with write ip and then port after it, its not opening, i have checked each ...
0
votes
0
answers
47
views
Nextcloud Server security & setup warnings using apache2 on ubuntu server
In this I did try solving the red errors:
PHP configuration option output_buffering must be disabled
path: /etc/php/8.1/apache2/php.ini
; output_buffering
; Default Value: Off
; Development ...
0
votes
0
answers
18
views
Can't restart apache2
I already work on Apache2 so IDK where does this problem comes from.
If I type "sudo systemctl retsart apache2" I got "Job for apache2 failed because the control process exited with ...
0
votes
0
answers
40
views
virtual host / apache2 / ssl configuration - auto redirect from 80 to 443 not working - bad request 400 error
This problem has cost me a few hours trying to fix and I simply have no clue - so huge thanks in advance to anyone that can help me solve this.
This is the Bad Request 400 error I get:
Bad Request
...
0
votes
1
answer
42
views
Apache2 default page - Nextcloud server on ubuntu server 22.04
I am trying to run NextCloud Server on Ubuntu Server as software itself.
I have done all the steps properly as mentioned, and I am running it on apache2 on virtual machine.
As this is the file I ...
0
votes
0
answers
20
views
Disable fpm only for one virtual host
I'm facing a problem that is turning me crazy!
I have three PHP versions on my ubuntu 22.04 server: 7.4, 8.1 and 8.2
I set the whole system to work with 8.1 as default and I'm using 7.4 and 8.1 in ...
-1
votes
0
answers
85
views
Security problem with Apache on Ubuntu 22.04
We use the last version of apache available on Ubuntu 22.04 (apache 2.4.52-1ubuntu4.5)
Our Vulnerability Scanner says that we have some level 5 and 4 vulnerabilities and we should evolve to last ...
0
votes
0
answers
83
views
How can I install jmeter 5.5 in ubuntu 22.04 LTS(GNOME 42.5, windowing system->wayland)
I tried installing .zip binary of jmeter from it's official website, but kept showing error. It doesn't install successfully. After then, I tried installing it from flatpak, but couldn't find the bin ...
0
votes
0
answers
53
views
Ubuntu 23.04 Upgrade Leads to Apache2 Timing Out and Not Serving Pages on Two Servers
I upgraded Ubuntu Server from 22.10 to 23.04 that hosts some websites over Apache2 as well as a few .NET websites which was working normally but following the upgrade, requests for all the Apache2 ...
0
votes
2
answers
160
views
Ubuntu 22.04 -- phpmyadmin error: mysqli extension missing
I can't get phpmyadmin to run, it reports The mysqli extension is missing. I have been running MySQL using MariaDB for a while, through multiple versions of Ubuntu. Currently running 22.04. After ...
0
votes
0
answers
112
views
libapache2-mod-wsgi on Ubuntu 22.04
I would like to install the MoinMoin wiki on Ubuntu 22.04.2 (jammy) server installation. MoinMoin requires Python 2.7, and WSGI. I would like to install the libapache2-mod-wsgi, but it is ...
0
votes
0
answers
39
views
Your password does not satisfy the current policy requirements and Access denied for the root user
I am trying to install the PHPMyAdmin but I am getting some errors.
I have referred this link for PHPMyAdmin
I have tried the below command
sudo apt update
sudo apt install phpmyadmin php-mbstring php-...
0
votes
2
answers
85
views
php -v and phpinfo(); returns different versions
I want to use php 8.1 on Ubuntu server
Currently it works with php 7.4.30
lsb_release -a
returns
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18....
0
votes
1
answer
59
views
How should I configure multiple virtual hosts with a single or multiple files in Apache and dynu/No-ip Service?
Hi i have this issue with 3 domains on my server with ububtu 22.04 and apache
I have 3 domains in a shared hosting, each one with their own web page
domain-a.com
domain-b.com
domain-c.com
I also have ...
0
votes
0
answers
46
views
apache2, user www-data is in group of personal account, but access is still forbidden
after apache2 install, I added this user www-data to the group of personal account hosek.
root@hp:~# groups www-data
www-data : www-data hosek
root@hp:~#
Group permissions to DocumentRoot folder ...
0
votes
1
answer
48
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.
0
votes
1
answer
59
views
Interact with a terminal UI using a shell script
I want to automate the installation of phpmyadmin using a shell script.
sudo apt install phpmyadmin is straight forward but I don't know how to automate the completion of this pop-up.
https://i.stack....
0
votes
0
answers
94
views
How to server a react application in apache properly?
I am using apache to run a moodle application (PHP), but now I need to add a React app inside this moodle application but when try to start the React app it just shows an empty index.html
I have ...
0
votes
0
answers
53
views
mbstring (php/phalcon) - installed but not appearing in phpinfo()
I tried to install mbstring to use Phalcon, I don't know what I'm doing wrong but it doesn't appear in phpinfo().
Here's is basically what I've used :
sudo apt-get update
sudo apt-get upgrade
sudo apt-...
0
votes
1
answer
2k
views
Apache2 Error Job for apache2.service failed because the control process exited with error code
I am trying to run an apache2 web server with linode and ubuntu. I got the following error
Job for apache2.service failed because the control process exited with error code.
See "systemctl ...
0
votes
0
answers
34
views
SSL on internal network
I have a firewall (connected to the internet) with mod_proxy installed on apache. Behind the firewall I have several web-servers running. The issue here is SSL. I like to have everything on SSL, also ...
0
votes
0
answers
33
views
Tomcat/9.0.53 on ubuntu 2204 error 516 I/O ERROR catalina.pid after reboot
i succesfully installed on ubuntu 2204 an open source application for
Asset Management called CMDBuild (https://www.cmdbuild.org/en/homepage?set_language=en)
everything worked and the web application ...
0
votes
0
answers
40
views
Ownership Issue with wordpress group and user Server and SFTP
First off, thanks to all of you being so supportive in this Forum. I came here to resolve many problems already posted by the community. Today I am reaching out to you because I am noticing an odd ...
0
votes
0
answers
90
views
/usr/sbin/apache2: symbol lookup error: /usr/sbin/apache2: undefined symbol: apr_os_uuid_get
I installed updates
On restart, apache2 yielded:
/usr/sbin/apache2: symbol lookup error: /usr/sbin/apache2: undefined symbol: apr_os_uuid_get
I'm reinstalling the apache2 while I await the obvious ...
0
votes
0
answers
18
views
Problem with connecting with remote database
Hello there I have a question about connecting my website with my database on another server on the same network. My database uses a cluster-based system with MariaDB and my website uses apache2. I ...
0
votes
0
answers
33
views
can't start Apache
given: win11. wsl w/Ubuntu 20.04.6 LTS.
no nginx servers installed, no services listening on ports 80.
installed systemd
installed apache2
errors:
systemctl status apache2.service
● apache2.service - ...
0
votes
0
answers
53
views
Pre-Built (SEED Labs) Ubuntu 20.04 is behaving differently on my Machine
We are taking the Software Security and Web Security part of SEED Labs v2.0 as part of our Computer Security class.
I have completed all tasks under Software Security; however, I got stuck in the Web ...
0
votes
0
answers
30
views
php startup error
I'm receiving the following warning
PHP Warning: PHP Startup: dbase: Unable to initialize module
Module compiled with module API=20190902
PHP compiled with module API=20220829
These options need ...
1
vote
1
answer
92
views
Apache2 won't run: error message-system/not/booted/(PID1)= error messaged shortened [duplicate]
I tried running apt-get install apache2, and I'm up to date. I ran the different variations of sudo sytemctl enable --apache2.service and I get the message:
System has not been booted with system as ...
-3
votes
1
answer
65
views
localhost shows index of/ and not the wordpress file for configuration
I tried the following: Edit the configuration file:
sudo {editor of choice} 000-default.conf
Note: Be sure to replace {editor of choice} with your editor of choice, be it nano, vim, or anything else ...
0
votes
1
answer
27
views
Trouble add second site to apache2
I'm running Apache2 on a VPS running ubuntu 20.04. I have a site up and working let call it linuxtom.com. I'm trying to add a second site lets call it ponytattoomachine.com. I've made the virtual host ...
0
votes
1
answer
105
views
Wordpress 6.2 php8.1 Ubuntu Server 22.04
I have WP 6.2 installed on a LAMP stack(bare metal) and running php8.1 on an Ubuntu Server 22.04.2.
I upgraded yesterday from 20.04 (php7.4 all working well) and my websites are barely working. The ...
1
vote
0
answers
327
views
Cannot install any package on ubuntu 22.04 [duplicate]
Whenever I try to install any package, I get the following error:
sudo apt-get install apache2:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You ...
0
votes
0
answers
36
views
seems like there is a php script that runs on my wsl, but i don't know which
I have an app that I built (using laravel 8), and I run it using sail (docker).
the docker/app are located in my WSL2 ubuntu system.
For some reason (that is the question here ..), "something&...
0
votes
1
answer
86
views
Website aside Mailu Docker image
I'm running a recent (V1.9) docker image of Mailu on Ubuntu server 22.04.
Now how can I run a website with some php besides this?
The Mailu server has an webmail page that runs on port 80 and 443, in ...
0
votes
0
answers
25
views
apache2 webserver on ubuntu server 22.04: I always get message "bad gateway"
with the help of this board, I managed to install an apache2 webserver on an ubuntu vps-server. But now, when I type in the ip of the server into the webbrowser, I cannot see the apache2 standard site,...
0
votes
0
answers
32
views
Why do I got php code when accessing phpmyadmin?
I'm trying to use phpymadmin on Ubuntu 22.04, I've already install LAMP server. When I accesss localhost/phpmyadmin on my browser, I get the following php code
enter image description here
I know ...
0
votes
3
answers
457
views
How I can install multiple versions of php in ubuntu 22.10 version?
I'm a PHP web developer I have some errors with new version of ubuntu, I was Installed new version of Ubuntu (22.10) but when I installed php 8.2 version I can't know how to install different version ...
-2
votes
1
answer
91
views
Apache2 configuration. Different PHP versions
I have a big problem with MyBB. I uploaded the files fine, gave rights 777.
000-default.conf entry from apache2:
<VirtualHost *:80>
ServerName 192.168.1.19
ServerAdmin webmaster@...
0
votes
1
answer
77
views
Apache2 not installing necessary modules
Upon removing apache2 via sudo apt-get remove --purge apache2 and sudo apt-get autoremove and reinstalling it via sudo apt-get update and sudo apt-get install apache2, it does not install mods it ...