IBM Support

PH67529: USING CGI-LIKE SCRIPTS WITH IHS THAT DO XML PROCESSING MAY REPORT ERRORS.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • An example from perl:
    
    (null) at line 1, column 0, byte -1 at
    /usr/lib64/perl5/vendor_perl/XML/Parser.pm line 187.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM HTTP Server that run       *
    *                  perl/python or similar scripts under IHS    *
    *                  via                                         *
    *                  CGI, SSI, etc.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: After 9.0.5.24, some CGI and similar    *
    *                      scripts that depend on libexpat         *
    *                      may return XML parsing errors.          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The LD_LIBRARY_PATH/LIBPATH variables set by default for IHS to
    find bundled libraries are inherited by default by any
    executable launched by IHS at runtime.
    The bundled libraries however are not necessarily safe for use
    outside of IHS, they are only provided for use by IHS in limited
    ways.
    n/a to 8.5, these variables are not implicitly copied to new
    processes.
    

Problem conclusion

  • The code responsible for copying environment variables from
    various sources has been modified to allow the use of
    SetEnv/SetEnvIf to override the value of variables such as
    LIBPATH (AIX) and LD_LIBRARY_PATH (Linux) which was previously
    not possible.
    
    Note that unfortunately these native environment variables still
    cannot be "UnSetEnv" of "SetEnvIf ... !var-name", only replaced
    with new values.
    
    This approach was taken rather than removing LD_LIBRARY_PATH as
    the use of perl/python interpreters from within IHS or IHS CGI
    is believed to be rare.
    
    The fix for this APAR is targeted for inclusion in IBM HTTP
    Server fix packs 9.0.5.25. For more information, see
    'Recommended Updates for WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH67529

  • Reported component name

    IBM HTTP SERVER

  • Reported component ID

    5724J0801

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2025-07-28

  • Closed date

    2025-07-30

  • Last modified date

    2025-07-30

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    IBM HTTP SERVER

  • Fixed component ID

    5724J0801

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTJ","label":"IBM HTTP Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
30 July 2025