![](/img/trans.png)
[英]Laravel 5.6 '/' route found but other routes not found AWS EC2
[英]AWS EC2 Class 'DOMDocument' not found Laravel
我為此搜索了很多時間,但是卻找不到。 我已經在實例上安裝了LAMP- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-lamp-amazon-linux-2.html
所有解決方案都要求我安裝
yum install php-xml
我做了,但仍然遇到相同的錯誤。 我缺少什么依賴性? 非常感謝幫助!
我正在使用dompdf。 PHP版本7.2.11
我認為您在命令中缺少-y
# yum list installed | grep php-xml
# yum info php-xml
Available Packages
Name : php-xml
Arch : x86_64
Version : 5.3.3
Release : 40.el6_6
Size : 106 k
Repo : updates
Summary : A module for PHP applications which use XML
URL : http://www.php.net/
License : PHP
Description : The php-xml package contains dynamic shared objects which add support
: to PHP for manipulating XML documents using the DOM tree,
: and performing XSL transformations on XML documents.
# yum install -y php-xml
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.