©
本文檔使用 php中文網手册 發布
[#1] krared at wordpress dot com [2013-04-15 21:47:50]
for noobs:
wget http://www6.atomicorp.com/channels/atomic/centos/6/i386/RPMS/php-xml-5.2.17-1.el6.art.i686.rpm
rpm -Uvh php-xml-5.2.17-1.el6.art.i686.rpm
php -m
service httpd restart
[#2] d at duane dot com [2012-05-10 17:02:05]
On Fedora 16, you can use
yum -y install php-xml
and then be sure to add
extension=dom.so
in the php.ini file for this to work.
[#3] Anonymous [2011-10-05 07:40:08]
In Redhat 5.5 using php53 you need to not only install php53-xml but php53-devel as well to install DOMDocument
[#4] eugenekay at kashpureff dot org [2011-01-24 22:08:38]
Certain Linux distributions do not have this extension included in the minimum PHP package. It can usually be found in one of the "optional" php-* packages.
For CentOS, you will need to run "yum install php-xml", which provides this extension.
[#5] Sergey A. [2010-04-05 05:38:39]
don't forget
extension=dom.so
in extensions.ini
on freebsd
[#6] z1mok at yahoo dot com [2009-04-22 05:45:22]
You need the DOM MODULE installed if you want to use Youtube Data Api with the Zend GData Library.
Otherwise you cannot obtain a valid Upload Form Token.