[Solved] PHP DOMdocument not found

#1
Fatal error: Class 'DOMDocument' not found in /path/to/script/calling/it on line nnn


I compiled PHP to include XML support, I'm not sure why it's complaining. I tried to reinstall php-xml via YUM and it says it's already there (Package php-xml-5.3.5-1.1.rs.el5.x86_64 already installed and latest version).

Running RHEL and LSWS Enterprise.

Here's how I compiled:
Code:
--prefix=/lsphp5 --with-litespeed --with-libdir=lib64 
--disable-debug --with-pic --disable-rpath --without-pear --with-bz2 --with-exec-dir=/usr/bin 
--with-freetype-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --enable-gd-native-ttf --without-gdbm --with-t1lib=/usr 
--with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-pcre=shared,/usr 
--with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets 
--enable-sysvsem --enable-sysvshm --enable-sysvmsg --with-kerberos --enable-ucd-snmp-hack --enable-shmop 
--enable-calendar --without-mime-magic --without-sqlite --with-libxml-dir=/usr --enable-xml 
--with-system-tzdata --enable-force-cgi-redirect --enable-pcntl --with-imap=shared --with-imap-ssl 
--enable-mbstring=shared --enable-mbregex --with-ncurses=shared --with-gd=shared --enable-bcmath=shared 
--enable-dba=shared --with-db4=/usr --with-xmlrpc=shared --with-ldap=shared --with-ldap-sasl 
--with-mysql=shared,/usr --with-mysqli=shared,/usr/bin/mysql_config --enable-dom=shared --with-pgsql=shared 
--enable-wddx=shared --with-snmp=shared,/usr --enable-soap=shared --with-xsl=shared,/usr --enable-xmlreader=shared 
--enable-xmlwriter=shared --with-curl=shared,/usr --enable-fastcgi --enable-pdo=shared --with-pdo-odbc=shared,unixODBC,/usr 
--with-pdo-mysql=shared,/usr --with-pdo-pgsql=shared,/usr --with-pdo-sqlite=shared,/usr --with-pdo-dblib=shared,/usr 
--enable-json=shared --enable-zip=shared --with-readline --enable-dbase=shared --with-pspell=shared 
--with-mcrypt=shared,/usr --with-mhash=shared,/usr --with-tidy=shared,/usr --with-mssql=shared,/usr --enable-sysvmsg=shared 
--enable-sysvshm=shared --enable-sysvsem=shared --enable-posix=shared --with-unixODBC=shared,/usr
--with-mysqli --with-mysql
Any help greatly appreciated.
 
#3
Thanks for the quick reply. I tried installing it, looks like it's already there:

Package libxml2-devel-2.6.26-2.1.2.8.el5_5.1.x86_64 already installed and latest version
 
#5
Thanks webizen. I've purchase an hour of support time and filed a ticket just to be on the safe side, another minor issue cropped up.
 
Top