Can't execute PHP files in Ubuntu 16.04 [on hold]

I need an urgent help! I can't execute PHP files in Ubuntu 16.04 x64 - PHP 7.1. When I try to open, is download instead of executing.I already try EVERYTHING that I thought that will be solve this problem, but don't solved! :(

OK. I need to tell everything that I tried, I'm not sleep, and I don't REMEMBER what I do, I just try to follow:

http://stackoverflow.com/questions/5121495/php-code-is-not-being-executed-instead-code-shows-on-the-page https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-ubuntu-14-04 utm_source=Customerio&utm_medium=Email_Internal&utm_campaign=Email_UbuntuDistroApacheWelcome http://tecadmin.net/install-php-7-0-apache-2-4-mysql-5-6-on-ubuntu/#

Replay

Looks like you need to install php5 module into apache:

sudo apt-get install libapache2-mod-php5 php5
sudo /etc/init.d/apache2 restart

Category: linux Time: 2016-07-30 Views: 1
Tags: linux ubuntu

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.111 (s). 12 q(s)