php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20372 php_flag 'engine' keyword is case-sensitive
Submitted: 2002-11-11 17:00 UTC Modified: 2002-11-11 19:34 UTC
From: sandhoff at csus dot edu Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 4.2.3 OS: HP-UX 10.20
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sandhoff at csus dot edu
New email:
PHP Version: OS:

 

 [2002-11-11 17:00 UTC] sandhoff at csus dot edu
In the Apache (1.3.27) httpd.conf file, it appears that the
'php_flag engine' key phrase is case-sensitive. Specifically,
with PHP by default turned off, in a <Directory> block using
the phrase 'php_flag Engine on', PHP is NOT available.
However, using 'php_flag engine on' DOES enable PHP. Note
that the difference is the capitalized keyword 'engine'.

httpd -t does NOT report a syntax error with the capitalized
keyword.

From its description, bug #19996 (since fixed) may be
relevant to this issue.

Thank you for your time and effort.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-11 18:24 UTC] sniper@php.net
Where is it said that these keyword aren't case-sensitive? 
Not a bug.

 [2002-11-11 19:00 UTC] sandhoff at csus dot edu
Not to argue, but if the VALUE field is case-insensitive
(which it is; '
The value field (On/Off) is NOT case sensitive, so it
would
 [2002-11-11 19:04 UTC] sandhoff at csus dot edu
[Sorry about the gibberish]
I can better understand case-sinsitivity if the VALUE
field was also sesnitive, but 'oN' works just as well
as 'On'. If it is the intention that case really matters
than I apologize as I do not mean to waste your time.
It just seemed odd to me that this was case-sensitive
(and I spent too much time trying to 'fix' a problem I
brought upon myself when I capitalized it).

Thank you (sincerely) for your time.
 [2002-11-11 19:34 UTC] sniper@php.net
on/off are just exception of the rule..

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 13:01:30 2024 UTC