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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.