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)

0
votes
0answers
33 views

PHP-GD Owncloud issue(solved)

Hi im triying to set up my owncloud for my school but there is just 1 problem PHP module GD not installed. Please ask your server administrator to install the module. PHP modules have been ...
0
votes
0answers
14 views

Apache error : Server unable to read htaccess file

I configure a VM with ubuntu to be a webserver. The server can be reach by typing http://10.0.0.2/ on my host. But when i want to reach /projects/ I got the folowing error : Forbidden You don't ...
11
votes
4answers
6k views

Upgrade to 16.04. php7 not working in browser

I just upgraded from 14.10 to 16.04 and am not sure how to configure PHP 7 in apache. I did modify the php7.0.conf file to uncomment that last lines, restarted apache2 and no change. Do I need to ...
0
votes
2answers
34 views

apache2 is not working after installing it

i installed apache2 several times using sudo apt-get install apache2 then after that, i tried to open 127.0.0.1 and localhost on browser but it is not working. i checked again the apache if it ...
0
votes
0answers
15 views

How to create loading page for apache reverse proxy!

I'm using one VPS Ubuntu 14.04 LTS , For Reverse Proxy I've active those modules proxy proxy_http proxy_ajp rewrite deflate headers proxy_balancer proxy_connect proxy_html xml2enc Domain Conf File ...
0
votes
0answers
22 views

After Updating to 16.04, Local Web Sites Crashed

I can't tell if it's PHP or Apache2 (or both) but after upgrading to Ubuntu 16.04 last night, none of my local development sites will load. That is, they load but give only gibberish on the screen, ...
0
votes
2answers
47 views

16.04 Apache2 virtual host settings being ignored

Ok - my googlefu is exhausted. I have 16.04 running on a laptop and I'm trying to setup Apache2 so that I can develop several website projects. I currently have symlinks in ...
0
votes
1answer
25 views

How to completely remove phpMyAdmin without knowing its password?

I know there are more questions about this problem "How to remove phpMyAdmin" but they did not work, because I lost my password! I lost my phpMyAdmin and MySQL password and username! I don't remember ...
0
votes
0answers
6 views

apache2.conf glob of sites-enabled doesn't work

I am running Apache/2.4.7 (Ubuntu) and have come across a strange bug. In apache2.conf if I leave the following alone then my virtualhost returns a 404. IncludeOptional sites-enabled/*.conf If I ...
4
votes
2answers
10k views

Can't install php5 on Ubuntu 16.04

so I've recently installed my first Ubuntu, to be precise, a daily build of 16.04, on my new laptop since the hardware was to new for 15.10. Now I'm in the process of setting it up and I want to ...
0
votes
1answer
24 views

Apache2 failed to start on Ubuntu 14.04, log file is empty

I just try to install apache2 on my 14.04 Ubuntu server but I get an error: * Starting web server apache2 (98)Address already in ...
0
votes
1answer
16 views

Apache2 Address already in use … could not bind to address 0.0.0.0:80 (can't start apache)

Tried some things from other answers to this same question. Still can't resolve. One thing to note: I have gitlab-ctl running. Useful info: balter@bcore:~$ grep -ri listen /etc/apache2 ...
0
votes
0answers
13 views

HostAPD honeypot does not redirect.

I followed this great tutorial Honeypot All seems to work but when I try and browse rather than show the local webserver it just comes up with ERR_CONNECTION_TIMED_OUT The recommendation for dnsmasq ...
8
votes
4answers
57k views

How to add custom directory e.g. phpmyadmin?

As my knowledge about apache is minimal. I'd like to let it grow so I'd have more experience with LAMP. My hot question for today is: How to add custom directory to webserver? (e.g. phpmyadmin)? My ...
0
votes
0answers
13 views

Apache2 url not found

I have been having trouble recently with setting up files for others to download like when you go to www.website.com/downloads/download.exe. I want it to ask " if you want to download the file" right ...
1
vote
0answers
14 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. ...
0
votes
0answers
7 views

Mutillidae cannot be available

I have install everything necessary file or program. I follow instructions by this pageApache2 seems to work fine and I can enter to localhost/html and it's okay Unfortunately when I type ...
126
votes
7answers
574k views

How do you restart Apache?

I switched from SLES to Ubuntu and now I want to restart my local server. In SLES I used : rcapache2 restart but this somehow seems not to work in Ubuntu. :( How do i restart my Apache?
0
votes
0answers
44 views

Apache failing to start

I am running on Ubuntu 16.04, I decided to reinstall Apache after phpMyAdmin was throwing a HTTP 500 error. Since reinstalling it, on an attempt to start the Apache service I receive this error. Job ...
0
votes
0answers
19 views

User cannot edit files in a directory even though the user belongs to a group with write permissions?

I have an Apache2 installation. I have a folder on my desktop that I would like to use as the root directory rather than the default location. I have confirmed that Apache is using the www-data user ...
0
votes
0answers
18 views

Ubuntu 14.04 web server, Apache needs to restarted every few days

I'm having a problem with my web server, Ubuntu 14.04 with Apache 2.4. I'm new to web servers, but it was running great for about 3 or 4 months until a few months ago. I have one domain running on it ...
1
vote
1answer
8k views

Errors when trying to restart Apache

When trying to restart Apache (with: service apache2 restart), I get the following error: /usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted) apache2: Could not reliably ...
0
votes
1answer
140 views

PHP mysqli extension in Ubuntu 16.04 not working after upgrade to version 7.0.6

After update this morning php does not work any more. Error: AH01071: Got error 'PHP message: PHP Fatal error: Call to undefined function mysqli_connect() in ...
2
votes
1answer
37 views

Apache works with php7, but crashes with php5

I have upgraded to Ubuntu 16.04 recently, and everythings works perfectly but I need php5, which is not in the official repositories. So I have tried with phpbrew: it didn't work (it was unable to ...
0
votes
2answers
47 views

To set up Apache Web-Server with apt-cacher on Ubuntu Desktop

Did anybody try the goal described below. We are going to do so and want probe here how the chances for success are. The goal is to have apt-cacher in following environment. -) Ubuntu 14.04 LTS ...
0
votes
1answer
19 views

Error with apache2 restart after sudo rm .conf file

I'd previously created a .conf file in /etc/apache2/sites-available called 'gs30D7.com.conf' and I'd run sudo a2ensite on it so I could use it. However I recently removed that file by running: sudo ...
1
vote
1answer
33 views

PHP is not working on ubuntu 14

I am trying to install php on my ubuntu machine. 1st I install apache2 on machine.... after that I install php7 sudo apt-get -y update sudo add-apt-repository ppa:ondrej/php sudo apt-get -y update ...
16
votes
4answers
10k views

How can I downgrade from PHP 7 to PHP 5.6 on Ubuntu 16.04? [duplicate]

I am trying to revert my PHP version to 5.6 from 7 and though I removed PHP 7 and then installed PHP 5.6 I still seem to be running version 7. Is there a simple method for moving through PHP versions ...
0
votes
0answers
15 views

Resource interpreted as Stylesheet but transferred with MIME type text/html

I have a problem with my apache2. When I run my project, my browser doesn't display css files, images and other. I tryed to add AddType text/css .css to .htaccess file, but it didn't give me positive ...
0
votes
1answer
40 views

Error while updating and installing a package in ubuntu server 14.04 LTS

I am new in the world of linux . I am trying to update and install some packages in Ubuntu Server 14.04 LTS but it is showing error . I have seen lot on same question in this site but not able to ...
0
votes
1answer
105 views

Cannot access Apache start page via “localhost” in web browser

I had the LAMP stack installed on my Ubuntu machine. Everything was working fine. I had Apache, mySql, phpmyadmin, etc. I'm learning web development, and a friend suggested I try out Drupal. So, I ...
0
votes
2answers
6k views

Unable to install Apache 2.2.22 in Ubuntu 12.04

I am not able to install Apache 2.2 in Ubuntu 12.04. Here is a snippet from my console log (sorry, it is in German): apache2 : Hängt ab von: apache2-mpm-worker (= 2.2.22-1ubuntu1) soll aber nicht ...
0
votes
2answers
176 views

Ubuntu clear Apache2 error log [duplicate]

I am new to Ubuntu. I can find my error log here in var/log/apache2/error.log. but i couldn't clear it. i tried to change the permission to edit the content. But couldn't achieve it. Please help me ...
0
votes
0answers
13 views

How long will it realistically take for HTTP2 to no longer be excluded from Ubuntu Apache due to being “experimental”

I would really love to get HTTP2 running on my 16.04 server with Apache 2.4.18, but the HTTP2 module is not included and I am unable to find an easy to follow tutorial on how to get it working. ...
0
votes
1answer
4k views

Apache2 “configtest failed” (error line 216, 5, 62)

Starting web server apache2 The apache2 configtest failed. Output of config test was: apache2: Syntax error on **line 216** of /etc/apache2/apache2.conf: Syntax error on **line 5** of ...
0
votes
0answers
23 views

Text file is not editable [duplicate]

I've installed xampp, port listening error was occur so i was following the commands as follows: Open the file /opt/lampp/etc/httpd.conf Search the Listen 80 and change it to some other port (e.g. ...
0
votes
1answer
4k views

Error installing Apache2

While installing Apache2 I am getting the following output: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This ...
0
votes
4answers
6k views

MySQL not starting in Xampp

I am using Ubuntu 14.04 and Xampp 5.6.3-0. I cannot get the MySQL server to run. I have tried executing these commands so far (run in this order): sudo chmod 755 /opt/lampp/etc/my.cnf sudo chmod -R ...
1
vote
1answer
29 views

access my PHP application from antoher computer in the network

I use my Apache server for PHP development on my computer, but I would like to access stuff I have made outside of my computer. I usually run it of 192.168.0.55/ and the default apache page shows up. ...
7
votes
4answers
8k views

How to enable event MPM Apache 2.4 on Ubuntu 14.04 with thread safe PHP?

I upgraded to Ubuntu Server 14.04 expecting the default apache installation would use the new event MPM, but instead I find the old memory-eating prefork. I've successfully set up event MPM in Arch ...
0
votes
1answer
9k views

Problem restarting Apache2 service

I'm trying to restart apache2 service and i'm having error. reload: Job for apache2.service invalid. restart: Job for apache2.service failed. See "systemctl status apache2.service" and ...
0
votes
0answers
12 views

Having trouble seeing local development site hosted on SSD

I created a drupal site (that works fine on other machines) and put it on my SSD on ubuntu. I believe the path to this disk is: /media/username/Nameofdisk/sitename. I re-created the database and it's ...
0
votes
0answers
17 views

Reverse proxy to ESXi

I have an ESXi server working and I can manage my machines by accessing the esxi_ip/ui. In parallel, I have my Ubuntu Server working with my domain and a valid SSL certificate working. So, what I ...
2
votes
1answer
8k views

Apache2 Syntax error, can't access 000-default

I have been using Apache2 and Webmin with my Raspberry Pi. After a restart and reinstallations Apache won't start. > sudo /etc/init.d/apache2 restart apache2: Syntax error on line 268 of ...
14
votes
2answers
54k views

SFTP permission denied on files owned by www-data

I have a pretty standard server set up running Apache and PHP. An app I am running creates files and these are owned by the Apache user www-data. Files that I upload via SFTP are owned by my own user ...
0
votes
2answers
20 views

php5-common package unmet dependency

I went to update the distribution of Ubuntu so I ran Terminal, entering apt-get dist-update and got this error: php5-mysql depends on php5-common (= 5.6.21+dfsg-1+donate.sury.org~precise+1); ...
0
votes
1answer
209 views

PHP 7 not working on Ubuntu 16.04 [duplicate]

I installed LAMP in my Ubuntu 16.04 but it doesn't recognize php code apparently. I created this test code: <?php echo "<h1>Teste</h1>"; phpinfo(); ?> When I access ...
1
vote
0answers
19 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 ...
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 ...
-1
votes
1answer
71 views