Testing Requirements: 'you must enable phps file info extension'
Permalink
Hi,
I've just tried to instal v5.7.0.4 from scratch and I get this flagged in the Testing Requirements:
'you must enable phps file info extension'
Bizarrely I installed 5.7 on release without any issue and updated that install to 5.7.0.4 2 days ago without any problem. Does anyone know what I can do about this, why it has suddenly popped up as an error now and what I can do about it - or is it going to be a question of using v5.6.3.2 instead?? I don't ant to have to instal 5.7 and upgrade on each install.......
Extra info: I'm trying to install v5.7.0.4 on the same (very good, not budget) Linux hosting I've used for years with C5, never with any installation issues.
thank you :)
I've just tried to instal v5.7.0.4 from scratch and I get this flagged in the Testing Requirements:
'you must enable phps file info extension'
Bizarrely I installed 5.7 on release without any issue and updated that install to 5.7.0.4 2 days ago without any problem. Does anyone know what I can do about this, why it has suddenly popped up as an error now and what I can do about it - or is it going to be a question of using v5.6.3.2 instead?? I don't ant to have to instal 5.7 and upgrade on each install.......
Extra info: I'm trying to install v5.7.0.4 on the same (very good, not budget) Linux hosting I've used for years with C5, never with any installation issues.
thank you :)
Hi,
Thanks for your reply. Unfortunately my hosts tells me there is no way they are going to enable phps file info extension as it has security vulnerability issues (see this for more info:http://stackoverflow.com/questions/22423437/php-fileinfo-extension-... )
The only option they can suggest is cloud hosting.....no thanks.
Can anyone on the core team help with this please???? Is C5 always going to need this extension enabled from now on - if so it's going to be unusable to lots more people than just me.
Thanks for your reply. Unfortunately my hosts tells me there is no way they are going to enable phps file info extension as it has security vulnerability issues (see this for more info:http://stackoverflow.com/questions/22423437/php-fileinfo-extension-... )
The only option they can suggest is cloud hosting.....no thanks.
Can anyone on the core team help with this please???? Is C5 always going to need this extension enabled from now on - if so it's going to be unusable to lots more people than just me.
According to the link you referenced, it's only an issue "in PHP 5.4.x before 5.4.16". Which version of PHP is your host running? It would certainly be odd that they'd continue to use a version with a known vulnerability.
-Steve
-Steve
Hi,
Thanks for your reply. They are running php v5.3.27
Thanks for your reply. They are running php v5.3.27
I am a programming novice, is there a particular file that needs to have this edit. I need some baby step by step instructions. Please advise. My appreciations to you in advance.
Thanks, Jason
Thanks, Jason
In this case it might be easier to wait for the 5.7.2.1 update (which should come out hopefully today, perhaps tomorrow). We've been able to remove the Fileinfo requirement.
Hi Bek -
Have you made any progress? I'm having the same issue - clean install of 5.7.0.4 on Dreamhost (all servers running php 5). I really don't want to edit the phprc file.
Thanks -
Have you made any progress? I'm having the same issue - clean install of 5.7.0.4 on Dreamhost (all servers running php 5). I really don't want to edit the phprc file.
Thanks -
Hi Bek -
Have you made any progress? I'm having the same issue - clean install of 5.7.0.4 on Dreamhost (all servers running php 5). I really don't want to edit the phprc file.
Thanks -
Have you made any progress? I'm having the same issue - clean install of 5.7.0.4 on Dreamhost (all servers running php 5). I really don't want to edit the phprc file.
Thanks -
Hi Bek -
Have you made any progress? I'm having the same issue - clean install of 5.7.0.4 on Dreamhost (all servers running php 5). I really don't want to edit the phprc file.
Thanks -
Have you made any progress? I'm having the same issue - clean install of 5.7.0.4 on Dreamhost (all servers running php 5). I really don't want to edit the phprc file.
Thanks -
Hi,
I'm sorry to say I haven't. My host won't enable the extension because it poses a security issue with the version of PHP on their server and they have no plans to upgrade to a more recent version of PHP where the extension wouldn't be the same security risk because it is a shared server & the impact this could have on all the other sites on it.
I opted to use v5.6.3.2 instead - it works fine, I'm very, very familiar with it and is much better for the purpose of this project because I've decided I to use a couple of add-ons too.
I'll check back with the latest version in week or so when hopefully some of the teething problems will have been reduced. At the moment I'm a bit wary of using it for paid client work...(and I may even have a new host by then too :)
Kind regards,
Bek
I'm sorry to say I haven't. My host won't enable the extension because it poses a security issue with the version of PHP on their server and they have no plans to upgrade to a more recent version of PHP where the extension wouldn't be the same security risk because it is a shared server & the impact this could have on all the other sites on it.
I opted to use v5.6.3.2 instead - it works fine, I'm very, very familiar with it and is much better for the purpose of this project because I've decided I to use a couple of add-ons too.
I'll check back with the latest version in week or so when hopefully some of the teething problems will have been reduced. At the moment I'm a bit wary of using it for paid client work...(and I may even have a new host by then too :)
Kind regards,
Bek
> I really don't want to edit the phprc file.
Why not? The fileinfo extension is available to use, and it's quite trivial to add...
extension = fileinfo.so
...to your phprc. I've got it loaded and working fine in DreamHost, so C5 doesn't complain about it missing any longer.
HOWEVER, there is another issue (fatal error during installation) related to Imagick that I encountered, so I commented out the Imagick stuff for the time being. I think the core team is aware of this issue and are working to resolve it; but at least you can install and work with C5.7 on DH in the meantime.
-Steve
Why not? The fileinfo extension is available to use, and it's quite trivial to add...
extension = fileinfo.so
...to your phprc. I've got it loaded and working fine in DreamHost, so C5 doesn't complain about it missing any longer.
HOWEVER, there is another issue (fatal error during installation) related to Imagick that I encountered, so I commented out the Imagick stuff for the time being. I think the core team is aware of this issue and are working to resolve it; but at least you can install and work with C5.7 on DH in the meantime.
-Steve
yeah, for the time being we're getting rid of Imagick support in our Image service – it's just going to use GD as it always has
I just installed 5.7.0.4 on shared Dreamhost but it did require this change to ~/.php/5.4/phprc:
The install failed (no mention of timeout) all the way from 60,90,120,150,180,210 until 240 (and it barely made that).
Just thought I'd add this in case anyone else comes across it...
max_execution_time = 240
The install failed (no mention of timeout) all the way from 60,90,120,150,180,210 until 240 (and it barely made that).
Just thought I'd add this in case anyone else comes across it...
Hopefully we won't have to require fileinfo forever, it looks like the good people at flysystem (the component that requires it) are taking steps to remove it from being required:
https://github.com/thephpleague/flysystem/commit/0ec96b1104e57bfcf0e...
https://github.com/thephpleague/flysystem/commit/0ec96b1104e57bfcf0e...
within the list of extensions. Just remove the semicolon and save the file, upload and overwrite the one in your soothing account.
If you don't have access to the file (and that may depend on your hosting provider) you may have to ask them to enable it. If you have a single shared hosting account you may have to ask the provider to do it.