Incompatibility with PHP 7.1
-
When i tried to use PHP 7.1 my website is down.
Here the report from the php compatibiliy plugin :
FILE: /home/bleusingqj/www/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/utils.php
————————————————————————————————————————————–
FOUND 4 ERRORS AND 4 WARNINGS AFFECTING 6 LINES
————————————————————————————————————————————–
293 | WARNING | Function mcrypt_create_iv() is deprecated since PHP 7.1; Use random_bytes() or OpenSSL instead
293 | WARNING | Extension ‘mcrypt’ is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
293 | WARNING | The constant “MCRYPT_DEV_URANDOM” is deprecated since PHP 7.1
347 | WARNING | INI directive ‘magic_quotes_sybase’ is deprecated since PHP 5.3 and removed since PHP 5.4
842 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0; Use php://input instead
843 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0; Use php://input instead
848 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0; Use php://input instead
851 | ERROR | Global variable ‘$HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0; Use php://input instead
————————————————————————————————————————————–FILE: /home/bleusingqj/www/wp-content/plugins/wordfence/lib/wfConfig.php
————————————————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————
651 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
————————————————————————————————————
Everything goes back to normal when I come back to php 7.0
Is there a solution
Thanks
- The topic ‘Incompatibility with PHP 7.1’ is closed to new replies.