![]() |
1
6
You can use a .htaccess file in Apache . 只需添加此行:
或者对于旧的PHP版本:
请注意,您不能使用容器(如e_all) 从 the manual :
|
![]() |
2
3
Use an .htaccess file to set the option.
现在,自然只有当您使用Apache作为模块时,这才有效。 如果您想在使用CGI时添加配置选项,您的选项将受到限制。 一些想法:
|
![]() |
3
1
只是一个简短的说明:将php指令放入.htaccess只有在php作为Apache模块安装时才有效。如果将php安装为cgi,只需
|
![]() |
4
0
对于CGI模式,必须使用php.ini来完成此操作。 |