Home >Backend Development >PHP Tutorial >php_admin_value(php_admin_flag)和php_value(php_PHP教程
There is an article in "Tips and Tips" about "Configuring different PHP options for different virtual hosts", so what are the similarities and differences between php_admin_value and php_value?
The same thing is: these two commands are used to set different PHP options for different virtual hosts and directories in the APACHE server.
The difference is: the php_admin_value(php_admin_flag) command can only be used in Apache’s httpd.conf file, while php_value(php_flag) is used in .htaccess files.