3pod PHP Learning |
The php3.ini file PHP’s "root directory" on the server. Only used if non-empty. If PHP is configured with safe mode, no files outside this directory are served. engineboolean This directive is really only useful in the Apache module version of PHP. It is used by sites that would like to turn PHP parsing on and off on a per-directory or per-virtual server basis. By putting php3_engine off in the appropriate places in the httpd.conf file, PHP can be enabled or disabled. error_logstring name (exp 3pod.com) of file where script errors should be logged. If the special value syslog is used, the errors are sent to the system logger instead. On UNIX, this means syslog(3) and on Windows NT it means the event log. The system logger is not supported on Windows 95. error_reportinginteger Set the error reporting level. The parameter is an integer representing a bit field. Add the values of the error reporting levels you want. Table 3-1. Error Reporting Levels bit value enabled reporting 1 normal errors 2 normal warnings 4 parser errors 8 non-critical style-related warnings The default value for this directive is 7 (normal errors, normal warnings and parser errors are shown). open_basedirstring Limit the files that can be opened by PHP to the specified directory-tree. When a script tries to open a file with, for example, fopen or gzopen, the location of the file is checked. When the file is outside the specified directory-tree, PHP will refuse to open it. All symbolic links are resolved, so it’s not possible to avoid this restriction with a symlink. 63 |
Next >> |
Tripod >> 3pod Tips & Learning and manuals for educations