|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-03-30 09:49 UTC] martynas at venck dot us
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 11:00:01 2025 UTC |
Description: ------------ As you described in example, never parse values if you put <IfModule mod_php.c> only with <IfModule mod_php5.c> Reproduce code: --------------- In the code the ifmodule is described as: if (!strcasecmp(tok, "<IfModule")) { TOKEN(tok, FILE_SEPARATOR); parse = !strcmp(tok, MOD_PHP(PHP_MAJOR_VERSION) ">"); So you search for Ifmodule with PHP VERSION, for example 5: This works, and parse values: <IfModule mod_php5.c> But in the example you put as: This doesn't work, because never enter and not parse: <IfModule mod_php.c> Expected result: ---------------- Should work parse as: <IfModule mod_php5.c> and also as <IfModule mod_php.c> Or modify the example and explain that values must be under: <IfModule mod_php5.c>