logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Variables in Apache 2.4
Author
jfha73



Joined: 18 Aug 2011
Posts: 62
Location: New York

PostPosted: Tue 25 Nov '14 17:25    Post subject: Variables in Apache 2.4 Reply with quote

Hey guys,

I was trying to get the OCI8 and PDO_OCI extensions of PHP to work with Apache 2.4 and one of the things that needed to be done was to add a couple of variables to the Apache environment, but when I added these:

ORACLE_HOME="/some/path"
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$ORACLE_HOME/lib"

Apache took ORACLE_HOME fine, but LD_LIBRARY_PATH never took the values of the variables, I had to put the absolute value of them in order for it to take it.

Any ideas how I can get Apache to take variables?

Thanks.

PS: This is on Linux.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Mon 08 Dec '14 18:27    Post subject: Reply with quote

Can't you set those variables in httpd.conf with setenv ?
Back to top


Reply to topic   Topic: Variables in Apache 2.4 View previous topic :: View next topic
Post new topic   Forum Index -> Apache