[PHP] PHP 5.0.5 and PHP-XML problem

2006-11-10 Thread Edd Dawson

Hi

I have a problem getting PHP-XML working with PHP 5.0.5

I am trying to create an DOMDocument object with the following:

$doc = new DOMDocument();

when run i get the error:


*Fatal error*: Class 'DOMDocument' not found in *
/var/www/cinematimes.mobi/feed.php* on line *5

*I looked up that I need php-xml , so i try and install it on my Fedora 4
system by using yum or downloading rpm's and i always get the following
error:

Error: Missing Dependency: php = 5.0.4-10.5 is needed by package php-xml

So as it goes i can't find a version of php-xml i can install! Can anyone
help?

cheers
Edd


Re: [PHP] PHP 5.0.5 and PHP-XML problem

2006-11-10 Thread Jochem Maas
Edd Dawson wrote:
 Hi
 
 I have a problem getting PHP-XML working with PHP 5.0.5

I had trouble getting anything to work with that version ;-)
I suggest trying the version before or after it - seriously 5.0.5 has some
issues (although whether your problem is anything to do with them
is not known to me).

 
 I am trying to create an DOMDocument object with the following:
 
 $doc = new DOMDocument();
 
 when run i get the error:
 
 
 *Fatal error*: Class 'DOMDocument' not found in *
 /var/www/cinematimes.mobi/feed.php* on line *5
 
 *I looked up that I need php-xml , so i try and install it on my Fedora 4
 system by using yum or downloading rpm's and i always get the following
 error:
 
 Error: Missing Dependency: php = 5.0.4-10.5 is needed by package php-xml
 
 So as it goes i can't find a version of php-xml i can install! Can anyone
 help?
 
 cheers
 Edd
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php