Forum Discussion

Nathaneil0227_2's avatar
Nathaneil0227_2
Icon for Nimbostratus rankNimbostratus
May 17, 2016

F5 detects PHP Deprecated.

Hi All/DC Experts,

 

We want to know why f5 detects PHP deprecated.

 

F5 detects certain feature of PHP that was already deprecated in version 5.3.1

 

Right now we are changing all ereg_replace to a new code.

 

Thanks,

 

-Nat

 

  • Are you able to provide any other information about this ? Where are you seeing the error messages that say php is deprecated ?
  • Nath's avatar
    Nath
    Icon for Cirrostratus rankCirrostratus

    Ian Hi,

     

    We are seeing PHP logs on the webserver itself.

     

    Now we wonder why the logs are came from f5.

     

    Please see logs sample:

     

    [Tue May 17 09:53:54 2016] [error] [client 10.10.10.210] PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /var/www/html/forum/common.php on line 106 [Tue May 17 09:53:54 2016] [error] [client 10.10.10.210] PHP Deprecated: Function ereg_replace() is deprecated in /var/www/html/forum/portal/includes/mini_cal/mini_cal_common.php on line 82 [Tue May 17 09:53:54 2016] [error] [client 10.10.10.210] PHP Deprecated: Function ereg_replace() is deprecated in /var/www/html/forum/portal/includes/mini_cal/mini_cal_common.php on line 82 [Tue May 17 09:54:01 2016] [error] [client 10.10.10.210] PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /var/www/html/forum/common.php on line 106 [Tue May 17 09:54:02 2016] [error] [client 10.10.10.210] PHP Deprecated: Function ereg_replace() is deprecated in /var/www/html/forum/portal/includes/mini_cal/mini_cal_common.php on line 82 [Tue May 17 09:54:02 2016] [error] [client 10.10.10.210] PHP Deprecated: Function ereg_replace() is deprecated in /var/www/html/forum/portal/includes/mini_cal/mini_cal_common.php on line 82

     

    10.10.10.210 is the f5 selfIP. We just wanted to know why f5 detects this kind of logs even though it is related on the application side/coding

     

    Thanks

     

    -Nat