Cannot override LD_LIBARY_PATH in Apache HTTPD using SetEnv or PassEnv

Solution Verified - Updated -

Issue

It's not possible to change the LD_LIBRARY_PATH inside the httpd configuration file with SetEnv LD_LIBRARY_PATH /path/to/lib, if the environment of the parent process contains an LD_LIBRARY_PATH already.

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content