Closed geerlingguy closed 5 years ago
Holy cow, buster has:
root@drupal-74c87656b6-r8s5b:/var/www/html# php -v
PHP 7.3.2-3 (cli) (built: Feb 8 2019 15:05:54) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.2, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.2-3, Copyright (c) 1999-2018, by Zend Technologies
Strangely, that might be too new :/
Going to look at using Ondrej's repos: https://github.com/oerdnj/deb.sury.org/issues/579
Ondrej currently has 7.2.15, looks more reasonable. All the packges I checked are available in armhf
.
So... I can get the install to proceed now—but I am running into the following error on the step that sets the Apache docroot:
Step 15/18 : ENV APACHE_DOCUMENT_ROOT=/var/www/html/web
---> Running in deab78012afe
Removing intermediate container deab78012afe
---> c25b8c583ad3
Step 16/18 : RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf
---> Running in f41dd3b002e9
qemu: uncaught target signal 4 (Illegal instruction) - core dumped
Illegal instruction
The command '/bin/sh -c sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf' returned a non-zero code: 132
No clue what's going on there... but I may log into the container and test running it live.
I can run all those commands on the container on the Pis themselves, so it's definitely just a qemu
thing.
Also, the above is directly linked to https://github.com/geerlingguy/raspberry-pi-dramble/issues/111 ... kinda debugging one issue through three.
Sadly, PHP 7.0.33 no longer allows installation of Drupal from a Composer codebase using Drush... therefore I'd like to upgrade.
Debian/Raspbian Buster has PHP 7.2... so for now that might be the path of least resistance. Also need to switch from
mysql-client
tomariadb-client
though.