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
34 views

Need help troubleshooting ubuntu apache internet connectivity

I'm not sure where to start with this one. (Warning, this could be a virtualbox question and not an Ubuntu question) I have ubuntu 14.04.02_64 running in virtual box 5.0.16r on a windows 10 machine. ...
0
votes
2answers
38 views

Setting up port based vhosts on 15.04

I've bounced back and forth across the web searching for answers but with no luck. I'm trying to set up port based vhosts and I can get the default :80 port to work, but my other vhosts both return ...
0
votes
0answers
34 views

Ubuntu: Set up Apache2 Server in Netbeans 8.1

So I added downloaded apache servers and installed in /usr/share/Apache2 (I believe this was coming when I downloaded PHP) If I open localhost I get the Apache site so I think Apache is working The I ...
1
vote
1answer
57 views

Ubuntu Core snap writable location [closed]

I am new to snappy. For learning purposes I'm trying to make an apache2 snap. Created the snap with snapcraft and installed it on Ubuntu core. The problem I am facing is that Apache is trying to ...
-2
votes
1answer
198 views

Why the PHPMyAdmin stopped working after I upgrade PHP to version 7.0.4 on my machine running on 64-bit Ubuntu 14.04 LTS?

I'm using a machine that runs on 64-bit Ubuntu 14.04 LTS. Today, I upgraded from PHP 5.5.32 to PHP 7.0.4. After I made an upgrade my Apahce HTTP Server and PHPMyAdmin stopped working. I made ...
-1
votes
1answer
246 views

How to upgrade Apache HTTP Server from version 2.4.16 to the latest stable version i.e. 2.4.18 on 64-bit Ubuntu 14.04 LTS? [duplicate]

I'm basically a PHP Developer by profession and I'm using LAMP on my machine. I'm using 64-bit Ubuntu 14.04 LTS on my machine. I'm using Apache HTTP Server on my machine. To check it's version I ...
1
vote
1answer
2k views

404 Not Found - can't access login page after upgrade to ownCloud 9

I have tried both the package manager upgrade and a manual upgrade to move to the latest ownCloud version (9). Both methods end up with the same result; the page http://localhost/owncloud no longer ...
2
votes
1answer
100 views

How to rebuild/reconfigure the HTTP Apache server after upgrading to PHP 7.0.* on 64-bit Ubuntu 14.04 LTS?

Previously I was using PHP 5.5.32 on my system, everything was working fine. All the PHP programs and projects were running successfully. Today, I upgraded to PHP 7.0.4 and the trouble starts for me. ...
0
votes
1answer
40 views

Linux Ubuntu server running in VMWare: Make url public and also open a certain port?

I just installed the latest version of Ubuntu Server in VMWare. My ultimate goal is to run a service which will use websockets to communicate with an Android app. I installed Apache (which I don't ...
0
votes
0answers
18 views

apache2 stops responding

I have an apache2 web server running on ubuntu '12.04.3'. It's hosted on a private network which you can only log onto it through our VPN. It is however hosting a public site. (2 ips, on private, one ...
0
votes
1answer
411 views

How to make apache2 serve php-based projects with php7 on Ubuntu 16.04?

Ubuntu 16.04 adds libapache2-mod-php7.0 which messes up the apache2 configuration for serving php-based projects (I'm formulating this so vaguely because I'd like to avoid dealing with source code for ...
0
votes
0answers
9 views

Sendmail doesn't work after unsinstalling thunderbird

I have the following problem, and after trying a lot of things...now I need your HELP!! I installed LAMP on my 14.04 LTS. From my php-code I was sending (using sendmail) emails without any problem. I ...
0
votes
1answer
60 views

Make my Apache2 server public

I'm really confused how to make my Apache2 web server public. I've setup everything and when I type localhost:80 it comes up properly. But, I need very clear and detailed instructions on how to make ...
0
votes
0answers
29 views

MAMP to Ubuntu 14.04 Server apache config doesn't work

I'm having an annoying problem, i've developed a MVC php application, which of course uses a lot of redirects by controllers to controllers and so on. Well, here's the issue. On my MACs (note that ...
0
votes
1answer
89 views

Redmine installation on 14.04

I have installed Ubuntu 14.04 server and want to install fresh Redmine. I faced several problems while installing, and still no LUCK. I found some documentations regarding installation but they are ...
0
votes
1answer
46 views

Cannot find Apache configuration files in 15.10, did they change location?

I installed apache2, but I couldn't change charset and language - when I went to try and edit the configuration files, the files were not present in /etc/apache2, which was an empty folder. Where are ...
0
votes
0answers
16 views

Apache2 keeps getting requests from unknown sources

I am seeing a weird behavior on my apache server. This thing just started happening either yesterday or today which means it never happened before. I am checking my access.log, and it returned a lot ...
0
votes
0answers
28 views

Start Java process within a PHP application

Not sure if this is the right place to ask or should I ask on stackoverflow.com but I will try here first. I have a php web application and somewhere within this application I have a button. That ...
0
votes
1answer
210 views

How to start and kill tcpdump within a script?

Why can't I interrupt (i.e. kill -2, not kill -9) tcpdump as shown in this script? The script runs, but tcpdump does not terminate and continues to run at the command line, even after printing some ...
1
vote
1answer
17 views

Rails production server not responding to internet requests

I'm utterly at a loss here - I've had a rails 4 production server running for a couple of months. Not long ago something happened in my network and my server stopped responding to all requests. I've ...
1
vote
2answers
56 views

Checking the user executing the apache server

root@ip-172-31-38-0:/var/www# ps aux | egrep '(apache|httpd)' root 1086 0.0 0.3 88480 3160 ? Ss Mar08 0:09 /usr/sbin/apache2 -k start www-data 1089 0.0 0.8 445500 8840 ? ...
0
votes
1answer
110 views

Can't get SSL working with apache2 on Ubuntu server, port 443 seems to not be open

I have ssh access to a server where I want to host my website over https. I am using apache, and so far, the http variant of the site works flawlessly. It is when trying SSL that things don't work. ...
0
votes
0answers
70 views

Lampp - Virtual Hosts not working

I have installed a fresh package of Xampp on Ubuntu 14.04 I am trying to create a virtual host for my project but it is not working. Below is how I created a virtual host: sudo gedit ...
0
votes
0answers
64 views

Maximal file upload size is not persistent in ownCloud

ownCloud has the option to change the maximal file upload size via the admin panel. After updating to PHP7 (and ownCloud 9.0.0) it said, that it has no privileges to write this value. So, I changed ...
0
votes
1answer
22 views

Ubuntu privileges for ownCloud

Who should be the owner of my /var/www/html/owncloud directory? By default it is root because I have to unzip as root in this directory. Should I change the owner of this directory to www-data then? ...
1
vote
0answers
97 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 ...
0
votes
0answers
11 views

Backuped a site from CentOS to Ubuntu and suddenly the permissions changed

I'm kinda new to Linux. I backed up a Drupal 7 site from a CentOS server to my local host server on Ubuntu desktop 15.10... Suddenly it seems that the file permissions for several directories changed ...
3
votes
1answer
119 views

php5 and phpmyadmin not installing

I have installed mysql, mysql-server, apache2 and many more. May be I have installed some wrong PPA or programs which cause this problem. Basically, I need to run local server (eg. for wordpress). So ...
0
votes
0answers
119 views

Unable to disable a service in Ubuntu 15.10

I'm trying to disable apache2 $ sudo systemctl is-enabled apache2.service apache2.service is not a native service, redirecting to systemd-sysv-install Executing /lib/systemd/systemd-sysv-install ...
0
votes
2answers
120 views

How to add files to /var/www/html/ without using the terminal?

Using Ubuntu 15 I install Apache and want to add files to the /var/www/html/ directory. If I type in my browser: file:///var/www/html/ I can see the files (only index.html). However, I cannot add, ...
1
vote
0answers
23 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. ...
0
votes
1answer
163 views

How to migrate from PHP 5.5.* to PHP 7.0.* and upgrade the entire LAMP stack on Ubuntu Linux 12.04 LTS(64-bit) operating system?

I'm using Ubuntu 12.04 LTS (64-bit) operating system on my local machine. I've already installed LAMP stack (Linux, Apache, MySQL and PHP) on my local machine. Upon running following commands from ...
0
votes
0answers
35 views

Can't connect to external IP

My local IP is 192.168.1.2 I have multiple servers running including a web server. If I point my pc's browser to localhost:80, 127.0.0.1:80 or 192.168.1.2:80 it loads. If I point my android's ...
0
votes
0answers
56 views

Why does apache2 not start correctly after installing PulseAudio?

Recently I installed PulseAudio (which for the record, has been nothing but trouble. I can't get it rid of it without losing unity-command-centre!!!). Prior to installing it, Apache 2.4 would run ...
1
vote
1answer
55 views

How to redirect specific range of ports to port 80 in node.js

When I use the below command, I am able to redirect from port 3000 to port 80, but I need to redirect to port 80 when a request is for any other port. sudo iptables -t nat -A PREROUTING -i eth0 -p ...
0
votes
0answers
34 views

How to edit the config file for the personal website deployed in Ubuntu using commandline not manually

I am successfully deployed my PHP website in Azure Ubuntu VM. Now I need one help. I have to connect my website DB with my Azure MySQL DB(Hostname, Username, Password). So I have to edit the ...
0
votes
2answers
146 views

14.04 on AWS server 500 error

My Ubuntu LAMP stack works perfectly. I can also use phpMyAdmin without error from docroot. However after installing Magento2 AND confirming that it installed correctly. I now get a server 500 error ...
1
vote
0answers
55 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 ...
0
votes
0answers
39 views

mysqli_query no return

I've been trying to create a simple login script with php and mysql. I'm able to connect to the database and enter data into it, but I can't use SELECT to get data from the DB. This is my register ...
0
votes
0answers
22 views

php module not loaded in apache mods-enabled

I've a server with Apache 2 installed, and PHP 5.6.17. The thing is that PHP only work for me in the terminal, but when I go to the browser and call a webpage apache shows me the php code. The, I went ...
-1
votes
2answers
322 views

I'm getting this “You should replace this file (located at /var/www/html/index.html)” after update to v14.4 ubuntu

Ok here is what is going on First I updated php on Ubuntu v12 to php v5.5 (then checked sites to make sure they still worked) Then upgraded OS to v14 (trusty) When was prompted just said "i" to all ...
1
vote
2answers
121 views

php7 doesn't seems to be parsing files

I've a server with ubuntu 14. Previously I had apache2, PHP 5 and MySQL installed and it was working pretty well, but I had to install PHP7+PThreads extension, so I unninstalled the previous version ...
0
votes
0answers
31 views

Ubuntu 14.04 Server - Apache2 Webdav Error

I have set up Ubuntu 14.04 Server on a VPS and installed LAMP. I have also enabled the webDav modules as well as set up an alias to the directory and digest authentication. Alias /webdav ...
0
votes
0answers
90 views

RoundCube - Ubuntu - 14.04 - 404 not found .?

Hello guys im trying to make an Email Server with Roundcube . Ive installed the VMware on the server and now im virtually on from my pc. i have run these commands : sudo apt-get update sudo apt-get ...
0
votes
1answer
57 views

How to add “AddType application/x-httpd-php .html” line in /etc/apache2/apache2.conf file through command not manually?

I want to deploy my PHP website in Ubuntu Virtual Machine in Azure. I am downloading the website zip file from Azure blob storage and copying it to /var/www/html/ using below command. wget ...
0
votes
1answer
20 views

Setting Up A Local Dev Enviroment

I am making a failed attempt at setting up a local development environment on my computer. I have successfully install Ubuntu on a 1TB drive and installed several other things to help my get going. ...
0
votes
1answer
27 views

2 ip addresses for 2 Server on 1 computer?

I want to create 2 ip addresses, which every single one leads to a diffrent website, I tried to do it with virtual hosts, but I couldnt configure it the way I want it to work. I want it to look like ...
0
votes
0answers
17 views

Ubuntu Server Ubuntu User FTP Write

I'm setting up my first linux web server (coming from iis). I've set up an Ubuntu server on AWS (EC2), have logged in & have installed LAMP. I now want to set up a new site which I wish to ...
0
votes
1answer
22 views

Forward my .onion address to a different folder than my normal website

I want to create my own hidden service, and setted up everything correctly, I have my onion address, and I have a normal url for my website, I think it looks something like this: (www.xy.onion) and ...
-1
votes
2answers
54 views

php5-curl not installing : 403 Forbidden error

Whenever I try to install php5-curl using apt-get, I get the following error : E: Failed to fetch http://ubuntu.ntc.net.np/ubuntu/pool/main/p/php5/php5-curl_5.6.4+dfsg-4ubuntu6.4_amd64.deb 403 ...