Comments (2)
PHP7 is not yet included in the stable release of Raspbian (Lite Jessie at least)
I temporarily used the workaround found here to solve this: https://getgrav.org/blog/raspberrypi-nginx-php7-dev . I only followed the PHP7 part. A bash-only summary:
$ sudo apt-get update
$ sudo apt-get dist-upgrade
$ sudo apt-get upgrade
$ cd /etc/apt/
$ cat sources.list
$ sed -i '$ a\deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi\n' sources.list
$ cat sources.list
$ fprint 'Package: *\nPin: release n=jessie\nPin-Priority: 600\n' > preferences
$ sudo apt-get update
$ sudo apt-get install -t stretch php7.0 php7.0-curl php7.0-gd php7.0-fpm php7.0-cli php7.0-opcache php7.0-mbstring php7.0-xml php7.0-zip
This however still missed two more dependencies to be installed manually:
$ sudo apt-get install -t stretch libtool libtinfo-dev
After that the playbook runs just fine (takes a while though!), albeit with code from the "stretch" branch as opposed to stable release branch of Raspbian.
from drupal-pi.
Sorry for not responding sooner! The reason you ran into that is because the upstream geerlingguy.php
role is now defaulting to PHP 7.0 (and soon 7.1). Raspbian doesn't yet include the version in the default repos (as @TiemenSch mentioned), but I've gone ahead and changed a few other default settings so they'll at least work out of the box now.
I'm going to do a little testing on the Pi today to make sure the instructions are all up to date as well.
from drupal-pi.
Related Issues (20)
- No package matching php7.0-apcu HOT 3
- Issue at end of build with php. HOT 3
- Add cron job configuration HOT 1
- what am i doing wrong here? I can't get this to work at all HOT 6
- Create a branch for Docker-based Drupal Pi HOT 10
- New year, new picture needed for README
- Add ability to enable proxy caching
- multiple instances and sites folders HOT 3
- Fix issue with drupal files dir owner and group
- Test and build against Raspbian 10 Buster / Pi 4 HOT 6
- docker-compose commands failing with "No module named shutil_get_terminal_size" HOT 6
- Updates for latest version of Raspbian on Pi 4 HOT 1
- Setup corrupts ssh settings HOT 3
- Test Performance and Functionality on Raspberry Pi OS 64-bit HOT 21
- Update build.pull value for 'Build Drupal for Kubernetes Docker image.' HOT 1
- Change default database image from hypriot/rpi-mysql:5.5 HOT 2
- Ubuntu 20.04.2 LTS error with "python-backports.ssl-match-hostname" package HOT 8
- Bring up the Docker containers fails
- Switch from Travis CI to GitHub Actions
- Link in Readme.md leads to 404 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drupal-pi.