Closed seanr closed 5 years ago
In the meantime, you can fix this issue by adding the following in .lando.yml
:
services:
appserver:
run_as_root: |
# install missing xsl extension
if [ ! -f /usr/include/libxslt/xslt.h ]; then apt update && apt install libxslt1-dev -y && docker-php-ext-install xsl && docker-php-ext-enable xsl; fi
To test if the extension was installed correctly, execute:
$ lando php -m | grep xsl
So, if I wanted to submit a PR for this, I am not sure how to edit the Pantheon recipe. Am I looking for a .yml
file somewhere?
I guess we just need to add it to the Dockerfile in each of the fpm
directories in lando/plugins/lando-recipes/recipes/pantheon/
.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues.
Tell us about your setup
v3.0.0-beta.47, OS X 10.13.5
Tell us about your
.lando.yml
Tell us about the command you were running
Pantheon's servers have the XSLTProcessor available, but Lando's Pantheon recipe does not. Test this by running
dpm((class_exists('XSLTProcessor')) ? 'true' : 'false');
from /devel/php on a Drupal install with the devel module enabled.Tell us about the error you got
Fatal error: Class 'XSLTProcessor' not found
Tell us generally about your bug
As above; mismatch between actual Pantheon config and Lando Pantheon recipe.