View Issue Details

IDProjectCategoryView StatusLast Update
374WADFCorepublic24 Nov 2011 21:37
Reportermrosenquist Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Product Version0.13.5 
Summary374: Automatically evaluate values of error_reporting containing E_* constants when generating mod_php config
DescriptionAutomatically change error constants for their equivalent value (relative to the install version of php) when generating mod_php values for error_reporting, because constants are not valid in mod_php configs according to http://php.net/manual/en/configuration.changes.php
TagsNo tags attached.

Activities

timj

24 Nov 2011 21:37

manager   ~419

It would be kind of cool, but again it seems to be getting a bit magic and beyond templating. Also it would mean having to dig around specifically to find the PHP config option "error_reporting" (and any others which might include E_* constants), *and* evaluate (correctly) those.
It all sounds a bit error-prone and magic really so my inclination would be to not do this at a WADF level.

However this is a bit like bug 385. Maybe there should be some kind of hook/callback mechanism for validation and/or modification of files that are undergoing template processing?

Issue History

Date Modified Username Field Change
18 Oct 2010 08:53 mrosenquist New Issue
18 Oct 2010 10:39 timj Summary Automatically change error constants for there equivalent value (relative to the version of php) when generating mod_php values => Automatically evaluate values of error_reporting containing E_* constants when generating mod_php config
18 Oct 2010 10:39 timj Description Updated
24 Nov 2011 21:37 timj Note Added: 419