PHP DOMDocument fehlt
Bin ich immer eine ungerade Fehler bei Ausführung $dom = new DOMDocument("1.0", "utf-8");:
Warning: require_once(classes/DOMDocument.class.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/html/cms/bootstrap.php auf Linie 5
Fatal error: require_once() [function.require]: Failed opening required 'classes/DOMDocument.class.php' (include_path='.:/usr/share/pear:/usr/share/php:/var/www/html/cms/plugins/Zend/library') in /var/www/html/cms/bootstrap.php auf Linie 5
Laut php.net/manual/en/dom.setup.php brauche ich php-xml installiert. Ich habe dies ausprobiert, aber es auch Fehler aus...
[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
Ideen??
Hier ist die DOM-requirments - php.net/manual/en/dom.requirements.php. Auch, PHP 5.1.6 ist ziemlich alt jetzt. Sie sollten ein Upgrade
Dein problem ist der Paket-manager, nicht PHP. Laden Sie das RPM manuell und verwenden Sie
[user@lnxcmsdev cm]$ sudo yum --enablerepo=webtatic install libxml einrichten des Installationsprozess Kein Paket libxml zur Verfügung. Nichts zu tun
Dein problem ist der Paket-manager, nicht PHP. Laden Sie das RPM manuell und verwenden Sie
rpm --nodeps --force php-xml*.rpm
um es zu installieren.[user@lnxcmsdev cm]$ sudo yum --enablerepo=webtatic install libxml einrichten des Installationsprozess Kein Paket libxml zur Verfügung. Nichts zu tun
InformationsquelleAutor | 2011-03-31
Du musst angemeldet sein, um einen Kommentar abzugeben.
Feste mit:
InformationsquelleAutor
Installieren Sie zuerst das rpm -
rpm-Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
Dann installieren
sudo yum --enablerepo=webtatic install php-xml -
Dieser sollte zu 100% funktioniert.
InformationsquelleAutor Boopathi Raja K
Hatte ich dasselbe Problem, ich habe php71 REMI installiert auf Centos7.
Ich habe diesen:
Aber Es wurde installiert und ich bekam diese Meldung:
Dann habe ich versucht, dieses:
Ist und Es verpasst wurde, So bekam ich
Ich mit ja beantwortet und Es installiert.
Dann starten Sie den httpd2.4:
Dann war das problem behoben.
InformationsquelleAutor Mohammad Eghlima