window server 2008 iis7.5+php7.1.9安装配置

php.ini配置

precision = 20 ;订单号过大
serialize_precision = 100
max_input_vars = 2500 ;表单过大问题
error_log = "/logs/php_errors.log"
extension_dir = "./ext/"
extension=php_curl.dll
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_exif.dll
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_pdo_mysql.dll
extension=php_openssl.dll   (https图片或其它https链接要用,比如识别https相似图片功能)
date.timezone = PRC
short_open_tag = On
cgi.force_redirect = 0 ;cgi方式运行
cgi.fix_pathinfo=1 ;IIS要在处理程序映射里给php文件指定请求限制为文件或文件夹,nginx要配置,否则可能导致图片当代码执行漏洞
fastcgi.impersonate = 1
cgi.rfc2616_headers = 1
upload_max_filesize = 20M ;论坛视频附件最大值
session.save_path = "2;C:/php5/tmp"  //设置此选项后,请手动生成二级SESSION目录。http://dayin.a.cn/index.php/Gather/makeSessionDir
;doc_root  //如果运行有错误,可尝试注释掉
;intl.error_level = E_WARNING

你可能感兴趣的:(window server 2008 iis7.5+php7.1.9安装配置)