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
59 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
32 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
62 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
27 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
88 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
136 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
80 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
70 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
15 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
1k 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
34 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
66 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
40 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
33 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
426 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
66 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
141 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
33 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
92 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
20 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
22 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
33 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
41 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
70 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
87 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
22 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
38 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 ...
0
votes
0answers
12 views

Apache not following RewriteRule for a symlinked dir

If I have a bad symlink as such: $ mkdir newmedia $ ln -s newmedia media $ rmdir newmedia So now media\ is a broken link My .htaccess has RewriteRule '^media.*$' https://www.google.com [R=301,L] ...
0
votes
0answers
22 views

Apache2 URL not found mystery

I've been running a LAMP stack on a 15.04 dev machine for about a year without a problem. I have some sites running on localhost and others resolving from virtual hosts. No problems at all. ...
2
votes
0answers
62 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 ...
0
votes
1answer
18 views

redirect https in *.conf file

On the WWW I can find a lot of info for redirecting http to https. But this isn't exactly what I need. I need to redirect on old dns name to a new one, http and https. Can somebody point me in the ...
0
votes
1answer
55 views

php.ini per-directory won't parse (using FastCGI)

Ubuntu 12.04 Apache 2.2.22 PHP 5.3.10 [running as libapache2-mod-fcgid] [trying to match a development server vs. my web host] I managed to get fcgi to work using a wrapper and have registered the ...
0
votes
1answer
95 views

Apache2-mod-ruid2 doesn't work

I set up an Ubuntu 16.04 server with Apache2 and PHP7 cgi. So far so good but as soon as I install ruid2 sudo apt-get install libapache2-mod-ruid2 Apache stops to work properly. I get a ...
1
vote
0answers
218 views

Apache2 and Mysql gone wrong after upgrade to 16.04

After I installed Ubuntu 16.04 I was not able anymore to access to my Mysql server from h-ttp://localhost/phpmyadmin. I tryed to uninstall and install mysql but unsuccessfully. I discovered that the ...
0
votes
1answer
42 views

Can't find files deleted from /var/www/

I was working on some files located inside my Apache's /var/www/html/ and accidentally deleted them. I did this via right-click "Move to Trash". However, looking at my trash folder, they aren't there....
1
vote
1answer
97 views

Should I modify this file (/etc/apache2/sites-available/default-ssl.conf) while changing Apache “DocumentRoot directory”?

I'm wishing to change my Apache DocumentRoot directory from /var/www/html/ to /path/to/another/directory. I've modified these files, /etc/apache2/apache2.conf and /etc/apache2/sites-available/000-...
0
votes
0answers
35 views

Writting files in the folder /var/www/html from PHP of Apache server

I have apache running on Ubuntu and I'm trying to write (copy an image) that is upload in the following folder: /var/www/html/images I'm trying to write it from HTML/PHP as per the following code &...
0
votes
0answers
40 views

why isn't my file uploading?

I am currently using ubuntu with phpstorm php interpreter in phpstorm: PHP5.5 (5.5.9-1ubuntu4.16) Somehow when I try to upload a file, it just gives me empty array but I tried the same script using ...
0
votes
0answers
83 views

Cannot get PHP5-FPM to work on Ubuntu 14.04 with Apache 2.4

I have been trying all day to upgrade my regular LAMP stack to use PHP5-FPM instead of Apache's default mod_php, but I just can't get it to work! I'm not sure if it's because I'm upgrading to PHP5-...
0
votes
1answer
43 views

Main DocumentRoot refuse to go and i tried everything

I am getting frustrated now as i have removed all default vhosts and made all necessary changes but Main DocumentRoot refuses to go root@example:/etc/apache2# apache2ctl -S VirtualHost configuration: ...
0
votes
0answers
23 views

Virtual hosting on port 8008 not working

I have Apache 2.4.7 on Ubuntu 14.04. I am trying to get a virtual host working, listening on port 8008. My conf file is below. I am getting the default page instead of mysite <VirtualHost *:8008&...
0
votes
1answer
57 views

apache timeout?

I have a dedicated server with apache2. recently apache have started to die when the site is not being used. example yesterday 8am i was doing some programming on the site everything worked fine. ...
0
votes
1answer
108 views

Run php File in Browser from Command Line

I have apache2 working and can run php files by navigating to localhost using chrome browser. However I'd like to be able to launch the files within the browser from the command line. google-chrome ...
0
votes
1answer
1k views

Cannot install php-curl on Ubuntu 16.04 & PHP 7

Command: sudo apt-get install php-curl Output: Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: ...
1
vote
2answers
242 views

Permissions problems with /var/www/html and my own home directory for a website document root

I'm trying to not give 777 permission in my /var/www/html folder, but I want to edit my files without sudo. So I though in create a symlink of a folder in my home directory within /var/www/html. I ...
0
votes
1answer
157 views

How to enable php on Apache2 in Xubuntu 16.04 [duplicate]

I've just updated the OS to version 16.04 and now php scripts don't get executed, I've just got the source code back. How can I enable php on 16.04? I've try to call this command: sudo a2enmod php7....