Jump to content

apache2 not recognizing php7.0 trys to download pages


Recommended Posts

No LSB modules are available.

Distributor ID:    Debian

Description:    Debian GNU/Linux 8.7 (jessie)

Release:    8.7

Codename:    jessie

 

 

PHP 7.0.18-1~dotdeb+8.1 (cli) ( NTS )

Copyright © 1997-2017 The PHP Group

Zend Engine v3.0.0, Copyright © 1998-2017 Zend Technologies

    with Zend OPcache v7.0.18-1~dotdeb+8.1, Copyright © 1999-2017, by Zend Technologies

 

Also I have the latest WebMin running on the box!

 

 

Now that we have some tech details out of the way...

 

I followed these instructions https://www.cyberciti.biz/faq/installing-php-7-on-debian-linux-8-jessie-wheezy-using-apt-get/ in order to get my php version from 5.6.3 up to the php7 everything appeared to be going great and when I went to load my website it was trying to download .php files.

 

  • I checked the "webmin > Server > Apache Webserver > Global Configuration > MIME Types" page and changed the "application/x-httpd-php php" to "application/x-httpd-php7 php" that had no effect! 
  • Checked that a2enconf php7.0-fpm is loaded and it is.
  • Checked that a2enmod proxy_fcgi is loaded and it is.
  • Checked that a2enmod setenvif is loaded and it is
  • I have restarted all processes associated with the apache2 and php no help.
  • There are no .htaccess files in play that are conflicting PHP versions.

So I am sure that I have missed something if anyone has any ideas I am all ears.  Its a hobby server so I will keep the apache2 in a down state except to test so no one gets hold of any config files containing service passwords.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.