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

wubbaducki created an issue. See original summary.

mtift’s picture

At 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...

AccessiveApps’s picture

It 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 :)

  • mtift committed 8d55359 on 7.x-1.x
    Issue #2702325 by mtift: Error: "amp is incompatible with the PHP...
mtift’s picture

@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).

mtift’s picture

Status: Active » Closed (won't fix)