Re: [PHP-DOC] config.xml - hard phrase
I tend to write strange/bad/poor/etc English Anyway, when ini directives are set in php.ini, by ini_set() or like. Setting ini values may result in calling ini directive handler defined by PHP_INI_MH() macro in a module. However, mod_php4.c's php_apache_value_handler_ex() will not call ini directive handler, but it just updates ini directive value hash... This will result in: Values may not be converted to appropriate values. For example, php_admin_value error_reporting "E_ALL" does not work. While php_admin_value error_reporting 2047 works. User may have unexpected behavior, since module may have problem values updated directly. php_flag/php_admin_flag have the same issue. Please feel free to repharse, etc. Thank you fixing my English :) -- Yasuo Ohgaki -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] config.xml - hard phrase
Yasuo wrote good information but as you mentioned, it needs a little rewording, and in simpler terms imho. PHP understands these constant names in php.ini and evalutes them according to value. Apache does not do the same in httpd.conf, nor does PHP pick up on them from there. But, I'm not fully sure how this works. Yasuo, can you explain a little more on how this works? I submitted a change to config.xml Regards, Philip Olson On Sat, 13 Jul 2002, Leszek [iso-8859-2] Krupiñski wrote: > On Sat, 13 Jul 2002, Philip Olson wrote: > > > How about we say that PHP constants, such as E_ALL, > > are not available outside of PHP, like in httpd.conf. > > Use the integer values instead. > > OK to me. So I've understood correctly :) > > Regards > > -- > [Silly is a state of mind, stupid is a way of life] > [ http://www.leon.w-wa.pl/ ] | [ pl.comp.lang.php FAQ: http://php.faq.pl/ ] > [L-Forum - forum dyskusyjne w PHP http://l-forum.x-php.net/ ] > -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] config.xml - hard phrase
On Sat, 13 Jul 2002, Philip Olson wrote: > How about we say that PHP constants, such as E_ALL, > are not available outside of PHP, like in httpd.conf. > Use the integer values instead. OK to me. So I've understood correctly :) Regards -- [Silly is a state of mind, stupid is a way of life] [ http://www.leon.w-wa.pl/ ] | [ pl.comp.lang.php FAQ: http://php.faq.pl/ ] [L-Forum - forum dyskusyjne w PHP http://l-forum.x-php.net/ ] -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] config.xml - hard phrase
How about we say that PHP constants, such as E_ALL, are not available outside of PHP, like in httpd.conf. Use the integer values instead. Regards, Philip Olson On Sat, 13 Jul 2002, Leszek [iso-8859-2] Krupiñski wrote: > Hello > > I'm having trouble with one part of config.xml - part added in the last > revision: > "For example, error_reporting has special > handler translate error level constant expression to integer > value, changing value using E_ALL, E_NOTICE will not work for > error_reporting. Users must specify integer value for error_reporting > to make it work." > > It sounds like "handler will translate constants but still you have to > use integer values". It looks like there are few words missing. Could > someone, who knows more what is the meaning of that phrase (I'm using > English for many years and I'm still not sure about the meaning - what > if someone hardly knows English?), could correct it? > > -- > [Silly is a state of mind, stupid is a way of life] > [ http://www.leon.w-wa.pl/ ] | [ pl.comp.lang.php FAQ: http://php.faq.pl/ ] > [L-Forum - forum dyskusyjne w PHP http://l-forum.x-php.net/ ] > > -- > PHP Documentation Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] config.xml - hard phrase
Hello I'm having trouble with one part of config.xml - part added in the last revision: "For example, error_reporting has special handler translate error level constant expression to integer value, changing value using E_ALL, E_NOTICE will not work for error_reporting. Users must specify integer value for error_reporting to make it work." It sounds like "handler will translate constants but still you have to use integer values". It looks like there are few words missing. Could someone, who knows more what is the meaning of that phrase (I'm using English for many years and I'm still not sure about the meaning - what if someone hardly knows English?), could correct it? -- [Silly is a state of mind, stupid is a way of life] [ http://www.leon.w-wa.pl/ ] | [ pl.comp.lang.php FAQ: http://php.faq.pl/ ] [L-Forum - forum dyskusyjne w PHP http://l-forum.x-php.net/ ] -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php