Ubuntu PHP beheben: Uncaught Error: Call to undefined function simplexml_load_file()
Problem:
Ihre WordPress-Seite oder andere PHP-Anwendung zeigt einen kritischen Fehler mit der folgenden Meldung:
php_simplexml_error.txt
2022/09/17 04:11:49 [error] 98082#98082: *1053 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_file() in /var/sites/mysite.com/wp-content/plugins/otgs-installer-plugin/vendor/otgs/installer/includes/class-wp-installer.php:870Lösung
Installieren Sie das Paket php[VERSION]-xml für die PHP-Version, die WordPress ausführt.
Zum Beispiel:
install_php_xml.sh
sudo apt -y install php8.1-xmlCheck out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow