Php.ini production vs development

后端 未结 8 1835
忘掉有多难
忘掉有多难 2020-12-11 01:00

I\'m using XAMPP to develop on my localhost. I would like to remove the PHP notices and keep only the warnings. I know this is done through the php.ini file,

8条回答
  •  温柔的废话
    2020-12-11 01:27

    In XAMPP version 1.8.1 php.ini file located at \xampp\php\php.ini modify line 922 upload_max_filesize = 2M Note: 2M means 2MB, so change to 10M for 10MB file upload. Also note that php.ini-development and php.ini-production are different files from php.ini.

提交回复
热议问题