• Re: =?UTF-8?B?UmU6IOKAmFRoaXMgSXMgTm90IGEgRHJpbGzigJk6IENyaXRpY2FsIFBI?= =?UTF-8?Q?P_Vulnerabilities_Are_Setting_the_Internet_on_Fire?=

    From mechanicjay@mechanicjay@sol.smbfc.net (Mechanicjay) to comp.os.vms on Wed Nov 25 05:27:29 2026
    From Newsgroup: comp.os.vms

    On Sat, 14 Nov 2026 13:23:20 -0500, <arne@vajhoej.dk> wrote:
    On 10/30/2026 7:06 PM, Lawrence D’Oliveiro wrote:
    On Fri, 30 Oct 2026 14:04:22 -0400, Arne Vajhøj wrote:
    They should disable the dangerous PHP functions.

    What if that breaks a particular PHP application that somebody needs
    to run?
    As with anything else then it would need to be looked at.


    Trivial. You call ini_set() at the start of your program to set things needed for that program.

    --
    Sent from my DecStation 5000/25
    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.os.vms on Wed Nov 25 07:02:24 2026
    From Newsgroup: comp.os.vms

    On Wed, 25 Nov 2026 05:27:29 -0000 (UTC), Mechanicjay wrote:

    Trivial. You call ini_set() at the start of your program to set
    things needed for that program.

    That’s actually semi-reasonable. Now you’re getting closer to the
    “from __future__ import «backward-incompatible feature»” settings in Python.

    All you have to do now is have your ini_set() take effect only in the
    current module.
    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@arne@vajhoej.dk to comp.os.vms on Wed Nov 25 09:42:31 2026
    From Newsgroup: comp.os.vms

    On 11/25/2026 12:27 AM, Mechanicjay wrote:
    On Sat, 14 Nov 2026 13:23:20 -0500, <arne@vajhoej.dk> wrote:
    On 10/30/2026 7:06 PM, Lawrence D’Oliveiro wrote:
    On Fri, 30 Oct 2026 14:04:22 -0400, Arne Vajhøj wrote:
    They should disable the dangerous PHP functions.

    What if that breaks a particular PHP application that somebody needs
    to run?
    As with anything else then it would need to be looked at.

    Trivial. You call ini_set() at the start of your program to set things needed
    for that program.
    The directives in php.ini have different status regarding override.

    - php.ini only
    - php.ini or httpd.conf
    - php.ini or httpd.conf or ini_set/user ini
    - php.ini or httpd.conf or ini_set/user ini or .htaccess

    disable_functions are in the first category.

    Arne



    --- Synchronet 3.21e-Linux NewsLink 1.2