Home > Backend Development > PHP Tutorial > php函数 ini_set

php函数 ini_set

WBOY
Release: 2016-06-23 14:35:24
Original
1435 people have browsed it

php函数 ini_set

ini_set是php自带的用来设置php.ini配置文件的函数。

语法:ini_set("选项","值")

该函数用时最好放到php的脚本最头部(从该函数开始设置的参数生效,该脚本结束失效)

比如:

ini_set(''max_execution_time'', ''180'');

设置php的脚本超时时间为180秒 php程序员站

ini_set("asp_tags","On") www~phperz~com

打开asp脚本标记的支持 比如:

ini_set("display_errors","On")

打脚本错误信息


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template