error : YiiBase::include(DOMDocument.php) failed to open stream: No such file or directory

Hello All,

Very new to PHP (2 days). looking at Yii and its been good so far.

When i deploy my application to web server i get following error when i try to use crud functions. Looks like server has no php-xml package installed and I cant do it ( fedora core 5 ) Anything i can do to get this working ?

PHP version 5.1.6

no php-xml package installed

YiiBase::include(DOMDocument.php) [<a href=‘function.YiiBase-include’>function.YiiBase-include</a>]: failed to open stream: No such file or directory

Well, if you are trying to do something that requires the use of the php-xml package, then you need to install the package. Do some searching for how to install the package on your given distribution.

In your project index.php file add this:

ini_set(‘error_reporting’, E_ALL & ~E_NOTICE & ~E_DEPRECATED);

:rolleyes: :rolleyes:

:lol: :lol: