Apache httpd.conf settings can use environment variables well, solve the idea.
Source: Internet
Author: User
Apache httpd.conf settings You can use environment variables.
The little brother needs to make a PHP run environment package and write the PHP program and the environment together and then make the installation package,
However, in terms of configuration, can I ask the Apache httpd.conf settings to use environment variables? Because a
It's too much trouble for a change.
The above c:/console can be set to an environment variable and then httpd.conf write directly to die.
How does it come true thank you
------Solution--------------------
Explore
The little brother needs to make a PHP run environment package and write the PHP program and the environment together and then make the installation package,
However, in terms of configuration, can I ask the Apache httpd.conf settings to use environment variables? Because a
It's too much trouble for a change.
DocumentRoot "c:/console/www/"
LoadModule php5_module "C:/conso ...
------Solution--------------------
Even if you are going to make the product, then you can completely pass the PHP code to modify the Apache Config.ini file is not. Modified restart Apache.
------Solution--------------------
If you are interested, you can look at Mod_perl,
This seems to be possible to customize the Apache configuration, see can embed Perl into httpd.conf
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.