Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Variables in Apache 2.4 |
|
Author |
|
jfha73
Joined: 18 Aug 2011 Posts: 62 Location: New York
|
Posted: Tue 25 Nov '14 17:25 Post subject: Variables in Apache 2.4 |
|
|
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
|
Posted: Mon 08 Dec '14 18:27 Post subject: |
|
|
Can't you set those variables in httpd.conf with setenv ? |
|
Back to top |
|
|
|
|
|
|