Posted by rodenp on May 22, 2010 at 10:29am
6 followers
| Project: | Drupal core |
| Version: | 7.x-dev |
| Component: | user interface text |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
I cannot install this module. I get the message This module requires PHP version .* and is incompatible with PHP version in the module list next to each of the galerie sub modules. Also on the list module screen i get the messages Notice: Undefined variable: php_required in _system_modules_build_row() (line 1028 of X:\websites\dev.photosite.com.au\modules\system\system.admin.inc).
cheers
Peter
Comments
#1
Same problem here
#2
This module needs PHP 5.3, I guess Drupal's error message is incomplete.
#3
$php_required hasn't been defined at all, changing it so it's now similar to the php_required check in theme_system_themes_page().
- Couldn't find a duplicate of this bug, CVS blame says this code segment is 2 years old...
#4
Actually I seemed to remember a similar one... here it is #795164: Module install error doesn't tell which PHP version is required.
#5
I'd rather not modify something in $info. Please review an alternate patch.
#6
My site hosting service (hostmonster) is in no hurry to implement php version 5.3.x:
they said:
The requirements of PHP 5.3 put a large burden on existing scripts, many of which do not support 5.3. It also fully deprecates some elements which will fully break many of our customers. While we will upgrade in the future we do hope to give the script world time to become ready, along with customers time to migrate, upgrade or tweak their code. We are responsible for millions of websites across nearly 800,000 accounts. Each site has different requirements, a different code base and changes to PHP can have unpredictable affects on everyone.
I do wish we could release 5.3 everywhere and it will happen eventually. Unfortunately we cannot do so now and it will likely be months to a year before we do release PHP 5.3. I am sorry for the delay. No, unfortunately we will not be upgrading to the PHP 5.3 code set anytime soon. If you need PHP 5.3 I would recommend you look into alternate hosting providers.
But I don't think they are alone in this issue:
ANhosting runs PHP 5.2.11 (said issue was that each new version trashes a lot of sites)
Hostgator runs PHP 5.2.13 (said issue is concern about stability and conflicts with their Cpanel)
P.S. It doesn't seem possible to just have a personal installation of PHP because it (somehow) is directly integrated with the apache installation. Only alternative at this point would seem to be to pay for a VPS (virtual private server) hosting account in order to have a separate version of apache and PHP. Yikes.
P.P.S. this is really too bad. I like the gallerie snapshots.
#7
Marking this as a duplicate of #894614: PHP incompatibility message is not complete even though its the earlier patch because the newer issue is already RTBC.