0

how to use php variables in apache

Is it possible to set my PHP variables to my apache' s config file. i.e it should load from httpd.conf file not from php.ini file???

caden
asked May 12, 2017
1 Answer
0

Definitely its possible to do so. You can initiate PHP variables in httpd.conf file. But once the PHP is initialized it first reads the php.ini file.

NOTE:

php.ini variable put into your httpd file will apply to php when it runs as apache module i.e in web page but not in CLI.

View More
jagannatharumugam
answered May 12, 2017
Your Answer
||||
x
 
100:0