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

learn more… | top users | synonyms (1)

3
votes
0answers
21 views

I need a correct help for MariaDB SSL support

I have to make my MariaDB authentication a bit safer than default. I tried to set up SSL support for this, but found only an old howto here: How to enable MySQL SSL on Ubuntu I followed it, however ...
3
votes
0answers
18 views

Apache2 doesn't start. Ubuntu 14.04

I've installed apache2, everything was fine. But after restart the system it doesn't start. When I open localhost in browser I get the error: ERR_CONNECTION_REFUSED. I tried to start it by sudo ...
3
votes
0answers
105 views

“-/+ buffers/cache memory” is zero

i have an OpenVZ VPS with ubuntu server 14.04.2 and i can access to a SolusVM control panel. Recently, "memory usage" is always 0 KB, and only "vswap usage" shows real swap usage. if i run free -k i ...
2
votes
0answers
20 views

Extra NIC extranet IP issues

For the question scroll down past italic font :) A quick recap: Started with FreeBSD but it was a pain to install on Hyper-V environment, then tried with CentOS, easy install but I found ...
2
votes
0answers
36 views

Error after attempting to update php lampp and reinstall lampp

I tear my hair, it's been almost one day I try to reinstall lampp but it doesn't work. It's been almost one day I try to reinstall lampp on my ubuntu 14.04 LTS in vain. I installed first lamp with ...
2
votes
0answers
160 views

Cannot get PHPSHIELD installed

I have a x64 virtual machine running the latest Plesk on PHP Version 5.6.15. I'm trying to install Phpmotion and it is giving me this message: I tried the following step, after various other ...
2
votes
0answers
112 views

How to make LAMP server accessible from the internet?

Hi I want to make my own SNS (Social Networking Site), so I installed LAMP on my Ubuntu 14.04. But its not accessible from the internet! I can run the server only on my computer by typing ...
2
votes
0answers
136 views

Local domains stop working

I have several sites configured in my local machine. I use Ubuntu 12.04 for long time and had these sites working well. Only few days ago from some reason they all stopped working. When I navigate to ...
2
votes
0answers
1k views

Apache 2.4 and mod_perl 2 on Ubuntu 14.04: local configuration

I'm trying to get Apache 2.4 configured such that I can test mod_perl 2 code locally (I should note that I have little recent experience with Apache). I've installed both of them on a machine running ...
2
votes
0answers
399 views

Why does libapache2-mod-php5 get removed whenever I upgrade apache2?

I hope someone can help me figure out what is going on with my apache upgrades. For years, whenever I upgrade apache2, it tries to install apache2-mpm-itk even though I use the prefork module ...
2
votes
0answers
269 views

PHP5 shared (apache2 & cli) configuration

I need to set the date.timezone setting in my PHP5 configuration. Obviously I could simply edit the php.ini files (both /etc/php5/apache2/php.ini and /etc/php5/cli/php.ini), but that doesn't feel like ...
2
votes
0answers
807 views

The apache2 configtest failed - modesecurity

I would like to create an application to monitor device network traffic and permissions. To do so I want to configure local modesecurity, using I this procedure but when I install modesecurity I get ...
2
votes
0answers
378 views

403 Forbidden message with Apache www directory inside of home

On my Ubuntu server, I've changed my /var/www directory to a subfolder inside of my home directory, and I'm now getting 403 "Forbidden" errors in my browser. I've read through a lot of similar ...
2
votes
0answers
328 views

Why is apache still logging my PHP Notices?

I have edited /etc/php5/acpache2/php.ini and set error_reporting = E_ALL & ~E_NOTICE then restarted apache, yet my /var/log/apache2/error.log is still filling up with PHP Notice: Undefined index: ...
2
votes
0answers
360 views

Error 500 on localhost/phpmyadmin

I recently installed apache2 and phpmyadmin on localhost, and everytime I try to connect to localhost/phpmyadmin I get prompted with an "Enter your username/password". I enter root as the username and ...
2
votes
0answers
167 views

How to disable mpm-itk for a specific virtualhost?

I've a main site on a server that needs to run a sudo command which I white listed via visudo. That worked fine until I installed apache-mpm-itk and then I started getting the following error: sudo: ...
2
votes
0answers
65 views

I want to create an FTP account that can oversee multiple other FTP accounts. How should I manage my permissions and users?

I rent my own virtual server. I installed Ubuntu Server 14.04 and use it as a webserver. I have hosted some websites of my own on this server, as virtual hosts. I also have a few friends who I give ...
2
votes
0answers
257 views

Cannot load /usr/lib/apache2/modules/mod_mpm_itk.so

I ran tasksel to install lamp server, but I accidentally delete everything, when I got everything work as before I noticed that apache is not working and here is there message I get while trying to ...
2
votes
0answers
86 views

Ubuntu freezes for 44 seconds every 8 minutes

I am stuck on a problem and am wondering if you have any ideas. I have sites on an Ubuntu server in Sydney with RackSpace. Every 8 minutes, without fail, the server hangs for 44 seconds. The ...
2
votes
0answers
159 views

Root web folder points to /var/www

Not sure if this is the right place for this, but I have been running an Owncloud instance on my home server. I originally did it through apt-get, and ran it in the default folder (/var/www). I later ...
2
votes
0answers
2k views

How to install git server with apache authentication on Ubuntu 14

I trying to install git server on Ubuntu 14 following these steps: www.jmuras.com I made a little change when creating git.conf and symbolic link cause goes on different folders for Ubuntu 14, i did ...
2
votes
0answers
5k views

Apache not working (showing empty folders or 404)

I have updated Ubuntu to 14.04 and apache stops working. I have reinstalled apache and all dependencies with no success. When I enter localhost I see apache indexing the www/ folder but it is empty ...
2
votes
0answers
4k views

Problems with OpenSSL-Heartbleed in Ubuntu12.04LTS

Since I have not enough reputation to comment an existing Answer, I create this new question. I have a vServer with Ubuntu 12.04LTS. Because of the Heartbleed-Bug in OpenSSL1.0.1 I upgraded all ...
2
votes
0answers
260 views

Why does apache2 default to LANG=C instead of UTF8 or system default

The 10-year-old comment in /etc/apache2/envvars simply says "The locale used by some modules like mod_dav", but why can't mod_dav be fixed to also handle a better LANG setting for the rest of apache?
2
votes
0answers
1k views

error compiling suphp

Trying to install suphp, from source. But when I run: ./configure --prefix=/usr --sysconfdir=/etc --with-apache-user=www-data --with-setid-mode=paranoid make I get this error: Error: In file ...
2
votes
0answers
359 views

Upgrade Apache 2.22 to a version that supports ECDHE

I'm trying to setup my Ubuntu 12.04 server installation to support perfect forward security. It seems that the default Apache 2.2.22 build does not support ECDHE. Any suggestions on a good way to ...
2
votes
0answers
547 views

Apache shows blank white page after 2 to 10 hours

I am using ubuntu 12.04, it has to network cards, A = internal 10.0.0.0 and B public Ip , I have only apache2 installed, after 2 to 10 hours the website shows as a blank white page on the public ...
2
votes
0answers
3k views

Private key not found

I have tried to generate server certificate for apache2 earlier.... I have noticed one error in apache server. Which means that Apache can't find the private key component of new SSL certificate. Now ...
2
votes
0answers
853 views

How to access a /media folder that has been mounted from a external hardrive?

I'm using Ubuntu 13.04 x64. I have installed Apache, php5. I have configured two sites folders in the /etc/apache2/sites-available/default One is the in /home/me/www and the other is on the external ...
2
votes
0answers
110 views

site unresponsive to https

I followed the instructions of these documentations meticulously: https://help.ubuntu.com/10.04/serverguide/certificates-and-security.html https://help.ubuntu.com/10.04/serverguide/httpd.html ...
2
votes
0answers
280 views

Setting up Postfix with Apache Virtual Hosts?

So, I was trying to setup multiple Apache Virtual Hosts. Everything was O.K, LAMP worked fine except for one and big problem: Postfix. I have two domains. And two PHP/MySQL applications running on ...
2
votes
0answers
237 views

setup gzip for svg on apache2 server in ubuntu12.10

I need to enable gzip for svg globally but not able going well. I have gone through a lot of links nothing seems to work. to keep in simple below are the steps after installing apache I placed a ...
2
votes
0answers
527 views

Trouble with local server, URL not found errors with some, but not all local sites

I am setting up my Ubuntu laptop for my new job and I am having a strange issue. They have a crazy environment setup that I got working on my local Ubuntu 12.10 machine with Apache and PHP 5.3 (had to ...
2
votes
0answers
441 views

Why does UFW seem to slow down wordpress?

I have a speedy install of wordpress going on ubuntu 12.04. Everytime i enable the UFW firewall, things can get really slow. Sometimes fast, sometimes slow, intermittently. Logging on through ssh ...
2
votes
0answers
141 views

Server setup for multi-site development web server with multiple contractors logging in?

While I've been using Linux for many years as a desktop OS I'm still a novice at the more serious server admin stuff. Basically I'm looking for a best practices that covers: Hosting many domains (I'm ...
2
votes
0answers
707 views

How do I configure Wordpress to update automatically?

I installed apache2, mysql, php5 and phpmyadmin Now i moved my old Wordpress installtion from my htdocs Folder under Windows in my /var/www/ Folder under Ubuntu. Now, when i want to update some of ...
1
vote
0answers
15 views

Anybody have a step-by-step install instructions of SSL Owncloud on Ubuntu 16.04?

Anybody have a step-by-step install instructions of SSL Owncloud on Ubuntu 16.04? I've literally been at this for days unable to install... please also notes that 16.04 is using php7 by default. ...
1
vote
0answers
23 views

Apache2 no longer restarts after 16.04 upgrade

Upgraded to 16.04 yesterday on a machine with a fairly large number of packages installed. Kudos for a generally smooth upgrade, apache2 even kept running. This morning, however, via the daily ...
1
vote
0answers
28 views

Logging into WordPress using SSH

I've got a WordPress test server installed on the local system on Ubuntu Server 14.04. I want to use SSH rather than FTP to access the wordpress site, install plugins and so on. I've followed this ...
1
vote
0answers
56 views

Permissions to write files in the apache folder /var/www/html from PHP

I have apache running on Ubuntu and I'm trying to write (copy an image) in the following folder: /var/www/html/images I'm trying to write it from HTML/PHP <?php $uploaddir = ...
1
vote
0answers
40 views

how to limit apache memory via cgroups

I'd like to limit the total memory used by user www-data in Ubuntu Server 14.04 LTS. I've read that I can do this via cgroups. This is what I've done so far: # install apt-get install cgroup-bin # ...
1
vote
0answers
96 views

Screen tears with MSI GE72 2QD Apache Pro dual booting Linux with windows 10

I have been losing my mind and sleep for the past 4 days. I used Ubuntu to run linux alongside windows. (That was a huge pain in the ass.) Now I am getting a bunch of screen tears. I have tried loads ...
1
vote
0answers
95 views

Start Ampps, with root permissions, once desktop loads

Been hacking my way through getting Ampps to work on Ubuntu. Ampps will be used to use host a local Web app for my families business, and I need Ampps to start when Ubuntu starts, always. I figure I ...
1
vote
0answers
22 views

Server's internet connection restarted and now I can't connect via HTTP/HTTPS

Overview I have a LAMP stack installed on my Ubuntu Desktop 15.10 server which hosts a number of websites using Virtual Hosts. They have been working fine and out of mind for the last few months. ...
1
vote
0answers
54 views

PHP - Update Apache Version Ubuntu

Recently after vulnerability assessment and penetration testing we are asked to upgrade our apache ubuntu version. Below is the screenshot attached. The solution they proposed is Update version of ...
1
vote
0answers
91 views

Ubuntu 14 / apache 2.4 with php5-fpm via mod_proxy_fcgi return wrong chunked encoding

Didn't see any reporting of this problem anywhere. When using apache 2.4 with php5-fpm using mod_proxy_fcgi, chunked encoded content last empty block seems to be missing. Firefox and IE hang until ...
1
vote
0answers
117 views

Not able to configure Fast CGI with Apache 2.4

I am trying to configure fastcgi(fcgi) on my local server . Followed the following steps apt-get remove libapache2-mod-php5 apt-get install libapache2-mod-fcgid apt-get install php5-cgi a2dismod ...
1
vote
0answers
103 views

Apache2 error.log

I am unable to read my /apache2/error.log file. I installed apache2 and its giving me a HTTP 500 error. [Sat Feb 13 12:36:39.114253 2016] [mpm_event:notice] [pid 9658:tid 140523880556416] AH00489: ...
1
vote
0answers
284 views

Apache2 crashing sometimes - gets working just after an apache2 restart - why is this happening?

I have an Ubuntu Server (Amazon AWS). I never encountered any problems with it untill it started crashing. (website doesn't load). I thought it's because of too much traffic entering the server, ...
1
vote
0answers
111 views

MySQL gradually taking up more and more memory

Just to start with, I have read the following threads and they do not help: Optimising MySQL settings - mysqld running out of memory MySQL Server keep shutting down ...