日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > php >内容正文

php

php dom 丢失内容,PHP DOMDocument缺失

發布時間:2025/3/8 php 35 豆豆
生活随笔 收集整理的這篇文章主要介紹了 php dom 丢失内容,PHP DOMDocument缺失 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

我在運行$dom = new DOMDocument(“1.0”,“utf-8”)時遇到一個奇怪的錯誤:

警告:require_once(classes / DOMDocument.class.php)[function.require-once]:無法打開流:第5行的/var/www/html/cms/bootstrap.php中沒有這樣的文件或目錄

致命錯誤:require_once()[function.require]:無法打開所需的’classes / DOMDocument.class.php'(include_path =’.:/usr/share / pear:/usr/share / php:/ var / www / html第5行的/var/www/html/cms/bootstrap.php中的/ cms / plugins / Zend / library’)

根據php.net/manual/en/dom.setup.php,我需要安裝php-xml.我試過這個,但它也錯了…

[user@lnxcmsdev cms]$sudo yum install php-xml

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* addons: mirror.web-ster.com

* base: mirror.hmc.edu

* extras: mirror.hmc.edu

* rpmforge: ftp-stud.fht-esslingen.de

* updates: mirror.rocketinternet.net

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package php-xml.i386 0:5.1.6-27.el5_5.3 set to be updated

--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-xml

--> Finished Dependency Resolution

php-xml-5.1.6-27.el5_5.3.i386 from updates has depsolving problems

--> Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-xml-5.1.6-27.el5_5.3.i386 (updates)

Error: Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-xml-5.1.6-27.el5_5.3.i386 (updates)

You could try using --skip-broken to work around the problem

You could try running: package-cleanup --problems

package-cleanup --dupes

rpm -Va --nofiles --nodigest

The program package-cleanup is found in the yum-utils package.

[user@lnxcmsdev cms]$sudo yum install php-common

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* addons: mirror.web-ster.com

* base: mirror.hmc.edu

* extras: mirror.hmc.edu

* rpmforge: ftp-stud.fht-esslingen.de

* updates: mirror.rocketinternet.net

Setting up Install Process

Package matching php-common-5.1.6-27.el5_5.3.i386 already installed. Checking for update.

Nothing to do

想法?

總結

以上是生活随笔為你收集整理的php dom 丢失内容,PHP DOMDocument缺失的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。