Php.ini production vs development

后端 未结 8 1830
忘掉有多难
忘掉有多难 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.

    0 讨论(0)
  • 2020-12-11 01:27

    PHP 5.3.0 has significantly improved performance and parsing of INI files, and adds several new syntax features.

    The standard php.ini files have been re-organized and renamed. php.ini-development contains settings recommended for use in development environments. php.ini-production contains settings recommended for use in production environments

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