Home > Backend Development > PHP Tutorial > php设立环境变量

php设立环境变量

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 13:19:03
Original
1057 people have browsed it

php设置环境变量
实例:

$g_config['root'] =dirname(realpath(__FILE__)); 
set_include_path($g_config['root'].'/pear'. PATH_SEPARATOR . $g_config['root'] . '/cas' . PATH_SEPARATOR .get_include_path());
Copy after login


批注:
1,realpath(__FILE__)
2,get_include_path()
3,set_include_path()
Related labels:
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
Latest Issues
access path
From 1970-01-01 08:00:00
0
0
0
Static resource path usage
From 1970-01-01 08:00:00
0
0
0
objective-c - header search path
From 1970-01-01 08:00:00
0
0
0
javascript - vue src path problem
From 1970-01-01 08:00:00
0
0
0
php move_uploaded_file() path parameter usage
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template