I'm running Ubuntu 14.04 with Apache2 and PHP7.
For some reason,probably after I updated the PHP version,it is no longer executing. This is the output of
php -v:
PHP 7.0.8-3+deb.sury.org~trusty+1 (cli) ( NTS ) Copyright (c)
1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016
Zend Technologies with Zend OPcache v7.0.8-3+deb.sury.org~trusty+1,
Copyright (c) 1999-2016, by Zend Technologies
The root folder is /var/www/html
The PHP.conf
is configured correctly,I believe.
When I add
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
And try to load a PHP script then it gets downloaded and not loaded in the browser.
Any ideas?
I appreciate it!