Bug Report #4631
Proper error reporting of wrong PHP version
Kohana 3.3.0 depends on PHP 5.3, however, there is no clear hint when one mistakenly uses PHP 5.2. The following error is displayed instead:
Fatal error: Undefined class constant 'Log::EMERGENCY' in [...]/system/classes/Kohana/Kohana/Exception.php on line 140
Kohana should bail out earlier by explicitely checking the PHP version and give a clear error message.
Updated by Jeremy Bush 6 months ago
We do these checks in install.php: https://github.com/kohana/kohana/blob/3.3/master/install.php#L59
Updated by Mathias Brodala 6 months ago
That's true, forgot about that. Do you nevertheless think a hint about the issue could be shown instead of the not really useful PHP error?