About HTML_Template_IT package IT. php contains require_once & quot; pear. php & quot;, & nbsp; this means to put pear. put php in HTML/Template ?, To read this reply, log on to or register CSDN! About HTML_Template_IT package
IT. php contains require_once "pear. php ",
Does this mean to put pear. php in HTML/Template?
------ Solution --------------------
1
Include_path
Modify php. ini and restart the service.
2. use set_include_path or ini_set.
Example
Example #1 set_include_path () example
// Works as of PHP 4.3.0
Set_include_path ('/Inc ');
// Works in all PHP versions
Ini_set ('include _ path', '/Inc ');
?>
Example #2 Adding to the include path
Making use of the PATH_SEPARATOR constant, it is possible to extend the include path regardless of the operating system.
In this example we add/usr/lib/pear to the end of the existing include_path.
$ Path = '/usr/lib/pear ';
Set_include_path (get_include_path (). PATH_SEPARATOR. $ path );
?>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.