-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drupal 8 need php 5.5.9+ - CentOS installed 5.4.6 #754
Comments
Do we need to import new repos for CentOS to solve this issue, if yes then maybe to add additional repo https://github.com/geerlingguy/ansible-role-repo-remi where is php7? |
php 7 installed via https://github.com/geerlingguy/ansible-role-repo-remi |
I'm 👍 for PHP 7.0 if we are going out anyways. |
Sorry for missing this-- this would be a problem for SI, but I don't know how big of one. We definitely cannot deploy PHP 7 now, and I'm not sure how long it will take. I will go do some research. |
@DigitLib commented on the selinux thread regarding PHP, which is relevant here. The linked solution works for me with the exception of the line |
@seth-shaw-unlv Yes geerlingguy.composer failed, but with regular php drupal fail. We must find some solution.... |
Huh, it passed for me (well, it got all the way to openseadragon, another issue). Let me destroy and do a fresh provision to see if it fails this time. |
Huh! Is it pass fresh provision? |
vagrant destroy, vagrant up based on this commit got me all the way to openseadragon. I already have a fix for that based on the old unified playbook that I'm working on getting a patch ready for. |
Great! |
@seth-shaw-unlv composer failed again and again, just removed a line php_exexutable: "php56". |
Resolved with Islandora-Devops/islandora-playbook@d4990d3 |
TASK [drupal : Generate Drupal project with composer package.] *****************
Friday 10 November 2017 19:53:27 +0100 (0:00:00.333) 0:03:56.784 *******
fatal: [default]: FAILED! => {"changed": true, "cmd": ["/usr/local/bin/composer", "create-project", "drupal-composer/drupal-project:8.x-dev", "/var/www/html/drupal", "--prefer-dist", "--stability", "dev", "--no-interaction"], "delta": "0:01:19.526405", "end": "2017-11-10 18:54:46.980154", "failed": true, "msg": "non-zero return code", "rc": 2, "start": "2017-11-10 18:53:27.453749", "stderr": "Failed loading opcache.so: opcache.so: cannot open shared object file: No such file or directory\nInstalling drupal-composer/drupal-project (8.x-dev 89a6e99a1a536a9bbd5bb5af65b92f68855348ab)\n - Installing drupal-composer/drupal-project (8.x-dev 89a6e99): Downloading (connecting...)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bDownloading (100%) \b\b\b\b\b\b\b\b\b\nCreated project in /var/www/html/drupal\n> DrupalProject\composer\ScriptHandler::checkComposerVersion\nLoading composer repositories with package information\nUpdating dependencies (including require-dev)\nYour requirements could not be resolved to an installable set of packages.\n\n Problem 1\n - drupal/console 1.1.0 requires php ^5.5.9 || ^7.0 -> your PHP version (5.4.16) does not satisfy that requirement.\n - drupal/console 1.0.2 requires php ^5.5.9 || ^7.0 -> your PHP version (5.4.16) does not satisfy that requirement.\n - Installation request for drupal/console ^1.0.2 -> satisfiable by drupal/console[1.0.2, 1.1.0].", "stderr_lines": ["Failed loading opcache.so: opcache.so: cannot open shared object file: No such file or directory", "Installing drupal-composer/drupal-project (8.x-dev 89a6e99a1a536a9bbd5bb5af65b92f68855348ab)", " - Installing drupal-composer/drupal-project (8.x-dev 89a6e99): Downloading (connecting...)\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bDownloading (100%) \b\b\b\b\b\b\b\b\b", "Created project in /var/www/html/drupal", "> DrupalProject\composer\ScriptHandler::checkComposerVersion", "Loading composer repositories with package information", "Updating dependencies (including require-dev)", "Your requirements could not be resolved to an installable set of packages.", "", " Problem 1", " - drupal/console 1.1.0 requires php ^5.5.9 || ^7.0 -> your PHP version (5.4.16) does not satisfy that requirement.", " - drupal/console 1.0.2 requires php ^5.5.9 || ^7.0 -> your PHP version (5.4.16) does not satisfy that requirement.", " - Installation request for drupal/console ^1.0.2 -> satisfiable by drupal/console[1.0.2, 1.1.0]."], "stdout": "", "stdout_lines": []}
The text was updated successfully, but these errors were encountered: