Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I followed the Drupal 7 AMP install guide, and got as far as 'drush en amp' but receive the error:
"amp is incompatible with the PHP version."
I was using PHP version 5.3.3 (centos 6.7 32-bit), but when I saw that message I decided to upgrade to PHP version 5.4.45 using the remi repo (refer to this guide). However, when I run the 'drush en amp' it still gives me the same error message.
Any ideas why I am seeing this error and how to fix it?
Comments
Comment #2
mtiftAt present, the PHP AMP Library requires PHP version 5.5.+ so the module does not support earlier versions of PHP. I not aware of any way to get around that requirement at the moment.
https://github.com/Lullabot/amp-library/blob/67faf76e914c5c8e812514feff6...
Comment #3
AccessiveApps CreditAttribution: AccessiveApps commentedIt would actually be cool to put that requirement in the README of the Drupal modules. I had an offshore team installing that stuff and then came the bummer after evaluating in local environment where I run 5.5 and QA is 5.4 ... Argh :)
Comment #5
mtift@patPrzybilla Sorry for the inconvenience, and good idea. I added that to the README (in both the 7.x-1.x-dev and 8.x-1.x-dev branches).
Comment #6
mtift