outroll / vesta

VESTA Control Panel
http://vestacp.com
GNU General Public License v3.0
2.95k stars 1.03k forks source link

PHP7 and .htaccess #1092

Open plutocrat opened 7 years ago

plutocrat commented 7 years ago

Operating System (OS/VERSION):

Ubuntu 16.07

VestaCP Version:

Vesta 0.9.8-17

Installed Software (what you got with the installer):

PHP7, Apache with nginx reverse proxy.

The .htaccess file included with roundcube has a statement which loads certain directives if the php5 module is installed. If you have PHP7 it should be changed accordingly. ie. change <IfModule mod_php5.c> to <IfModule mod_php7.c> Nothing broke when effecting this change.

There are possibly other .htaccess files affected throughout VestaCP too.

SysVoid commented 7 years ago

If you know how to implement this, feel free to make a pull request to speed things up.

Thanks!

dpeca commented 7 years ago

<IfModule mod_php* is not necessary, it can be deleted, because PHP is installed always...