Ticket #143 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

typo in bugreport.php causes "eAccelerator isn't loaded" message

Reported by: Stadler Assigned to: bart
Priority: trivial Milestone: 0.9.5
Component: eAccelerator Version: 0.9.5
Keywords: Cc:

Description

There is a typo at line 19 of bugreport.php, so at least on PHP 4.x you always get the message "eAccelerator isn't loaded, why do you want to report a bug?", when trying to run the script.

The fix is simple:

<?php

    if (!extension_loaded('eaccelerator')) {
        die("eAccelerator isn't loaded, why do you want to report a bug?\n");
    }

?>

should be

<?php

    if (!extension_loaded('eAccelerator')) {
        die("eAccelerator isn't loaded, why do you want to report a bug?\n");
    }

?>

Regards,

Christian Stadler

Change History

07/23/06 11:54:52 changed by bart

  • status changed from new to closed.
  • resolution set to fixed.

This is fixed in [235], it seems that php5 does a lowercase on the extension names and php4 doesn't. I test on both version now. Thanks for reporting this!