set PHP_INI_PERDIR settings in a .htaccess file with 'php_flag' like this:
php_flag register_globals off
php_flag magic_quotes_gpc on
![]() | ini_setDescriptionstring ini_set ( string varname, string newvalue )Sets the value of the given configuration option. Returns the old value on success, FALSE on failure. The configuration option will keep this new value during the script's execution, and will be restored at the script's ending. Not all the available options can be changed using ini_set(). There is a list of all available options in the appendix. See also: get_cfg_var(), ini_get(), ini_get_all(), ini_restore() 和 How to change configuration settings ![]()
RebootConcepts.com
01-Apr-2006 05:36
set PHP_INI_PERDIR settings in a .htaccess file with 'php_flag' like this:
Ron Ludwig
11-Jan-2006 03:30
When your ISP does not allow you to add the default include directories - it might be useful to extend the 'include_path' variable:
David Jackson
20-Sep-2005 07:40
You can also find the Apache config files by useing command httpd -V
brainiac5 dot php at aimail dot de
05-Sep-2004 10:54
To find the apache php settings try something like this.
klw at gmx dot at
05-Sep-2004 09:49
To change settings from .htaccess files, it is also required that the directory permissions configured in Apache allow this.
sean at php dot net
14-Aug-2004 09:54
While this doesn't belong in the manual, it should be useful for people looking on this page for zend_optimizer.* ini options, which are commonly installed:
vincent(at)tigroux(dot)net
30-Apr-2004 09:20
Where you want set ini in .htaccess or vhosts directives, if the value of directive is boolean , use php_flag, else if the value is a string use php_value.
davey at its-explosive dot net
18-Mar-2003 10:42
If you set something using php_admin_value in httpd.conf it is then not possible to be set the value at runtime, even if it's NOT PHP_INI_SYSTEM.
miroslav AT simunic DOT de
30-Sep-2002 11:26
If its not your server and therefore you want to hide the data in your session variables from other users, its very useful to set the session.save_handler in your scripts to shared memory with:
Tr909 at com dot nospam dot bigfoot
13-Jun-2002 01:04
[[[Editors note: Yes, this is very true. Same with
johnzoet at netscape dot com
14-Mar-2002 10:13
[[[Editors note: Just because you're able to set something
| ![]() |