Request for PHP 7.0 and 7.1 support for OSSN

Ondrej Janicko Posted in Technical Support 7 years ago

Hi,

I am testing OSSN 4.4 on MySQL on PHP7.0 and found that is not possible to run OSSN on PHP7.0.

It gives an error:

[06-Jul-2017 13:44:20 America/NewYork] Error: Call to undefined function mcryptgetivsize() in /var/www/html/on/libraries/ossn.lib.system.php:659

mcryptgetiv_size() function comes DEPRECATED also in PHP7.0

http://php.net/manual/en/function.mcrypt-get-iv-size.php

So my test run OSSN 4.4 on PHP7.0 failed.

Please do support of PHP7.0 for OSSN. PHP7.0 has many advatages like less memory consumption and speed.

Thanks.

Replies
Slovak Ondrej Janicko Replied 7 years ago

Sorry Zet, its OK now.

Problems were on diffrent install, I did some mess. Sorry.

Thanks.

German Michael Zülsdorff Replied 7 years ago

Hi Ondrej,

my own testsite https://newblue.ongolito.net is running absolutely flawlessly with PHP 7.0.20.
Ossn 4.x IS is supported by PHP 7

So what does it mean: Your site "still does not run" ? Where exactly are you running into problems? When executing the installation script or where? Please check your server log files twice, there must be some hints when PHP code execution fails.

Slovak Ondrej Janicko Replied 7 years ago

Opps, I had not installed php7.0-mcrypt

: -)

Now itis withouth error but still does not run.