Wednesday, April 4, 2007

4 April 07 PHP's "root directory" on the server For ceritahoror

ceritahoror
4 April 07


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
<http://greateventsupport.com/filezilla/local-file-list/menus-and-toolbars.html>
Name 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
<http://greateventsupport.com/fireworks/changing-paths-appearance/changing-swatch-groups.html>

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
<http://greateventsupport.com/filezilla/local-file-list/menus-and-toolbars.html>
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

No comments: