Last active
September 17, 2018 09:11
-
-
Save ambercouch/718518cb1de6918d8759740c5628fb57 to your computer and use it in GitHub Desktop.
Add XML support to your server to fix the issues with Vagrant/Scotchbox and the WordPress SVG Support plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ssh to your vagrant server (scotchbox) | |
vagrant ssh | |
# swich to super user account (administrator / root) | |
sudo su | |
# update apt-get | |
apt-get update | |
# install the latest version of xml support for php7 | |
apt-get install php7.0-xml | |
# install the latest version of xml support for php7 | |
apt-get install php7.1-xml | |
# install the latest version of xml support for php7 | |
apt-get install php7.2-xml | |
# install php-xml | |
apt-get install php-xml | |
# install all the upgraded packages | |
apt-get upgrade | |
# restart apache | |
service apache2 restart | |
# exit super user | |
exit | |
# exit vagrant ssh | |
exit | |
# restart vagrant (sotchbox) | |
vagrant reload |
sudo add-apt-repository -y ppa:ondrej/php && sudo apt update && sudo apt install -y php7.0-mbstring php7.0-zip php7.0-xml
As indicated in the post above, the solution for me was to simply run apt-get update and apt-get upgrade on the scotchbox...after that the symfony app would run. TaDAAA!
sudo apt-get update
sudo apt-get upgrade
Added and now currently working for WPML plugin
# install php-xml
apt-get install php-xml
# install all the upgraded packages
apt-get upgrade
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://wordpress.org/support/topic/media-library-is-slow-lagging-constantly-spinning-or-crashes/