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.
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.
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.
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.
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
In Redhat 5.5 using php53 you need to not only install php53-xml but php53-devel as well to install DOMDocument