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
Author
AMailer



Joined: 25 Sep 2006
Posts: 45
Location: Canada

PostPosted: Mon 26 Apr '10 4:28    Post subject: Variables in Apache Reply with quote

Hey,

Is there a way to make variables in apache that I can use throughout the httpd.conf?

I want to make it so that I can switch between php 5.2 and 5.3, as well as change paths easily by just editing 1 variable.

Is there a way?
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Mon 26 Apr '10 20:34    Post subject: Reply with quote

SetEnv, SetEnvIf
http://httpd.apache.org/docs/2.2/env.html
Back to top


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