How to correctly use `.user.ini`-file in PHP?

后端 未结 3 1030
野性不改
野性不改 2021-02-19 18:52

In my working directory I have two files: index.php and .user.ini:

.user.ini:

display_errors=on

; http://be2.php.         


        
3条回答
  •  心在旅途
    2021-02-19 19:18

    instead of use .htaccess for php config , u can create .user.ini file and put setting (without any indent or space) . for example my .user.ini config is:

    max_execution_time =600
    upload_max_filesize=200M
    post_max_size=200M
    memory_limit=256M 
    

提交回复
热议问题