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
1answer
40 views

Forward http requests to another server

I have several servers, but only one domain. we are behind a corporate firewall that I do not have access to, but I have a reverse proxy set up for one site. Is it possible to set up a forward for ...
1
vote
1answer
188 views

Apache2 restart failed in Ubuntu 16.04

I am trying to use domain for my localhost instead of localhost or 127.0.0.1 I have added a configuration file myconfig.conf in sites-availbale I also have enabled it using sudo a2ensite myconfig....
0
votes
0answers
31 views

16.04 Apache2 localhost refuses connection

Under 12.04 I can type "wget localhost" and it works fine. Under 16.04, with the same apache configuration files, I get "80:,,, failed: connection refused". Firefox also fails to get through. Happens ...
0
votes
0answers
24 views

Send mail with php and postfix - can send mail with php -a from terminal but not from web page

I have designed a simple contact form that sends an email to a gmail account. Currently if I run from a terminal (non-root user): ...$ php -a php > "me@gmail.com","test postfix php","this is a ...
0
votes
1answer
31 views

apache2 is using different directory than what it should be

I have a default Debian installation of Apache2, but when I attempted to change the file at /var/www/html/index.html, nothing happened, because for some reason apache is using the file at /usr/share/...
-3
votes
0answers
27 views

How do I blacklist apache2?

I have done just about everything I can find on Google to blacklist apache2 on my machine (I run a custom version of nginx instead) and apache2 keeps coming back on its own. I have gone through these ...
3
votes
2answers
258 views

Are updates to libapache2-mod-php5 update causing apache to crash?

The latest security updates on 5/25/2016 seem to have cause apache-php5 module to fail loading. Anyone else seeing this? Reboot resolves but here is the error detail. Possibly this security update ...
0
votes
0answers
62 views

Apache error : Server unable to read .htaccess file

I configured a VM with Ubuntu (as guest) 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 following error : ...
0
votes
2answers
50 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
26 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
30 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 ...
0
votes
1answer
42 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
2answers
183 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 /etc/apache2/sites-...
1
vote
0answers
32 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
17 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 localhost/...
0
votes
0answers
101 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
23 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
22 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 ...
0
votes
1answer
34 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 /etc/apache2/...
0
votes
0answers
28 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, ...
1
vote
1answer
49 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 ...
0
votes
1answer
24 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 ...
0
votes
0answers
16 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 ...
0
votes
0answers
51 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
90 views

PHP-GD ownCloud issue

I'm trying 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
1answer
65 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 ...
2
votes
1answer
59 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
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. What'...
0
votes
1answer
647 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 /var/www/html/public_html/.../...
0
votes
0answers
15 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
25 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 ...
0
votes
1answer
1k 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 localhost/...
0
votes
1answer
40 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 ...
1
vote
0answers
33 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
27 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
238 views

How to install LAMP server in Ubuntu 16.04 and add www document root to user's home? [duplicate]

How to install LAMP server in Ubuntu 16.04 and add www document root to user's home
0
votes
1answer
50 views

PHP not running on Apache ARM

I have installed ubuntu on a Beaglebone black. apache2 -v Server version: Apache/2.4.18 (Ubuntu) Server built: 2016-04-15T18:00:57 php -v PHP 7.0.4-7ubuntu2 (cli) ( NTS ) Copyright (c)...
0
votes
1answer
65 views

Mysql Error SQLSTATE[HY000] [1045] Access denied for user. While installing Drupal 7 in localhost

I recently did a clean upgrade from ubuntu 14.04 to ubuntu 16.04. I could easily install drupal 7 in ubuntu 14.04 but my problem is arising when i am creating a new database for drupal 7.43. I ...
0
votes
0answers
19 views

Cannot get subdomain to point to different directory

I have a domain (www.domain.net and domain.net) pointing to /var/www/domain.net/public_html with a virtual host file setup in /etc/apache2/sites-enabled/domain.net.conf. I would like to setup a ...
0
votes
1answer
56 views

Netbeans project doesn't run on localhost

I set up my ubuntu enviroment correctly, installed apache2 which is running, localhost from firefox gives Apache2 Ubuntu Default Page but whenever i try to access my website i created using netbeans I ...
0
votes
0answers
18 views

ubuntu+svn Could not open the requested SVN filesystem XML

I am new to SVN configuration. I read a online tutorial to configure SVN server in ubuntu apt-get update apt-get install subversion apache2 libapache2-svn apache2-utils mkdir -p /svn/repos/ sudo ...
0
votes
0answers
17 views

Http urls display 502 Bad Gateway

I have installed ubuntu 16.04. Past few days I have no issue. But today I can't brows any site starts with 'https'. I haven't installed nginx yet, But Apache 2.4.18 has been installed. Working : ...
2
votes
0answers
21 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 ...
1
vote
0answers
31 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
1answer
37 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. ...
-1
votes
2answers
64 views

Which port do I need to open so that others can connect to my “www” folder?

I want to follow this solution, but... I specifically want to let others access a site on a LAN that would be stored in the default "/var/www/html" system folder AKA 127.0.0.1 So I guess I just need ...
0
votes
1answer
61 views

php file not running in apache 2

I am trying to run php with netbeans, when i try to run it, the echo in php is not comming in the browser, but the html file is working My code <html> <head> <meta charset="UTF-8"&...
0
votes
2answers
21 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
2answers
33 views

Accessing to my index.html file from a computer other than where I have Apache installed

I have Apache installed and I have a index.html file that I can access by typing http://localhost/index.html in my browser. How can I access to my index.html from any other computer? Thank you very ...
0
votes
0answers
8 views

Simple softlink to apache root

I have noticed that when I open a file via a desktop shortcut, the path that gets used by the application (sublime3) is the one via the desktop rather than the actual location of the file. This is ...