nsedit
nsedit copied to clipboard
php 7.1 issue
Dear All,
have anyone tryed this great web interface running on php7?
My attempt to use it under php 7.1.8 was failure.
Haven't tried that yet, no. Feel free to debug and send in a PR
I'm using PHP 7.1.12 and had no problems yet.
On 7.2 works fine too, except I had to install MCrypt via PECL since Debian doesn't have it ready for 7.2 in sid yet.
have it running on PHP 7.0 and no issues so far... the thing between 7.0 and 7.1 should effectively only be mcrypt as @ericcotelnu said.
Please see http://php.net/manual/de/migration71.deprecated.php for details and why PHP is dropping mcrypt (it is out of date). Seems the update should be easy enough though: it would be enough to change the enc_secret + dec_secret functions in includes/session.inc.php to something else. IMHO you'd ideally drop the dec_secret completely (no auto-login... that's a bad idea anyway) and exchange the enc_secret with just a simple hash() call...