Something along the lines:
<VirtualHost hostname:80>
...
SetEnv VARIABLE_NAME variable_value
...
</VirtualHost>
More Related Contents:
- Why is my $_ENV empty?
- PHP Fatal error: Call to undefined function json_decode()
- Getting a 500 Internal Server Error (require() failed opening required path) on Laravel 5+ Ubuntu 14.04
- How to get system environment variables into PHP while running CLI & Apache2Handler?
- When setting environment variables in Apache RewriteRule directives, what causes the variable name to be prefixed with “REDIRECT_”?
- How to set global environment variables for PHP
- Set an environment variable in .htaccess and retrieve it in PHP
- $PATH environment variable for apache2 on mac
- How to set up file permissions for Laravel?
- Apache shows PHP code instead of executing it
- Apache is downloading php files instead of displaying them
- 500 Internal Server Error for php file not for html [duplicate]
- Disable PHP in directory (including all sub-directories) with .htaccess
- No input file specified
- Is it possible to redirect post data?
- Headers and client library minor version mismatch
- How to run php files on my computer
- upload large files using php, apache
- Leverage browser caching for 3rd party JS
- How do I throttle my site’s API users?
- Apache Mod Rewrite For Laravel
- Who Add “_” Single Underscore Query Parameter?
- Setting document root for Laravel project on Apache virtual host
- How can I change php-cli version on Ubuntu 14.04?
- Premature end of script headers: index.php, mod_fcgid: read data timeout in 61 seconds
- How to get MySql 8 to run with laravel? [duplicate]
- WAMP – Remove localhost from project URL
- How to create clean url using .htaccess
- 500 Internal Server Error?
- .htaccess – Redirect subdomain to folder