Closed christophluehr closed 8 years ago
@christophluehr could you give us the pimcore version, we only tested in pimcore4 development
@christophluehr We need to investigate further but my first guess is the catch works in PHP7
Yup, i've used the latest Pimcore4. Regarding the catch - yup, AFAIK PHP7 allows to catch Fatal errors. How should to proceed? Either change the code and use some other kind of detection (if pimcore is already installed) or change/add a "require" statement for PHP7 to the plugins composer.json to indicate that? Thanks for the swift response!
@christophluehr We should add a mechanism for php5 that works
Executing:
Results in
On my system (Ubuntu 14.04 LTS w/ PHP 5.5.9.
Am i missing something? The issue is the try{} which can not catch the fatal error. If i extract the relevant code into, e.g. a cli/install.php, it works:
Any advice on how to proceed? PS: Kudos for publishing the plugin!