Equivalent of php_value under Apache + php-fpm

前端 未结 2 920
滥情空心
滥情空心 2020-12-16 12:57

under Apache + PHP as module you can set

php_value post_max_size 8M

inside a .htaccess.

How can I do this under Ap

2条回答
  •  感情败类
    2020-12-16 13:49

    You can use

    SetEnv PHP_VALUE "post_max_size = 8M"
    

    or

    SetEnv PHP_ADMIN_VALUE "post_max_size = 8M"
    

    in the apache configuration.

提交回复
热议问题