php_flag in .htaccess

后端 未结 1 1219
醉梦人生
醉梦人生 2020-12-20 05:18

I run an apache-server and I need just one php_flag to differ from the global configuration in a virtual host.

I did not have a .htaccess file in that virtual hosts

1条回答
  •  醉话见心
    2020-12-20 06:11

    php_flag can only set PHP_INI_ALL and PHP_INI_PERDIR type directives. You may need to use a php_admin_flag within a scope in your vhost config. You will need to restart Apache to latch this.

    0 讨论(0)
提交回复
热议问题