首页 技术 正文
技术 2022年11月21日
0 收藏 773 点赞 4,705 浏览 2165 个字

;;;;;;;;;;;;;;;;;;;;

; Language Options ;

;;;;;;;;;;;;;;;;;;;;

; Enable the PHP scripting language engine under Apache.

; 是否开启引擎

engine = On

;是否使用短标签<? ?>,而一般我们使用的是<?php ?>

short_open_tag = Off

;支持是否使用ASP-style <% %> tags

asp_tags = Off

;浮点数中显示有效数字的位数。

precision = 14

;强制 2000 年兼容(在不兼容的浏览器中会出问题

y2k_compliance = On

; Note: This directive is hardcoded to Off for the CLI SAPI

; Default Value: Off

; Development Value: 4096

; Production Value: 4096

; 输出缓存,选择开启,大小是4k

output_buffering = On

; Note: You need to use zlib.output_handler instead of the standard

;   output_handler, or otherwise the output will be corrupted.

zlib.output_compression = Off

allow_call_time_pass_reference = Off                                         //允许按值引用与否,这里选择的是不允许

safe_mode = Off                                                                           //是否设置成安全模式,这里选择的是否

safe_mode_gid = Off                                                                     //      安全模式的id

safe_mode_include_dir =                                                             //安全模式包含文件的目录

safe_mode_exec_dir =                                                                //安全模式执行文件的目录

safe_mode_allowed_env_vars = PHP_                                      //安全模式下的默认前缀

safe_mode_protected_env_vars = LD_LIBRARY_PATH          //安全模式下保护设定的前缀

disable_classes =                                                                   //因为安全原因,不允许使用的class

expose_php = On                                                                  //在安装的过程中是否显示

max_execution_time = 30                                                     //最大的执行时间,单位是秒,0表示不限制

max_input_time = 60                                                              //允许输入的最长时间,单位是秒,0表示不限制

memory_limit = 128M                                                          //允许一个程序所使用的最大内存数

error_reporting = E_ALL                                                       //报告出所有的错误,警告

display_errors = On                                                              //是否将错误显示出来

display_startup_errors = On                                                   //是否将启动期间的错误显示出来

log_errors = On                                                                     //是否将错误写入到log文件中去

log_errors_max_len = 1024                                                     //记录错误的最大长度。0表示不限制

ignore_repeated_errors = Off                                                 //是否忽略重复出现的错误,这里选的是否

ignore_repeated_source = Off                                               //是否忽略重复出现的资源,这里选择的是否

report_memleaks = On                                                           //是否报告内存泄漏,选择的是

track_errors = On                                                                  //是否记录错误路径

html_errors = On                                                                     //是否显示html中的错误

post_max_size = 8M                                                            //post能传递的最大数据

extension_dir = “d:/wamp/bin/php/php5.3.10/ext/”              //扩展程序的文件目录

enable_dl = Off                                                                    //是否允许使用dl函数

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,078
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,553
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,402
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,177
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,814
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,898