Until I installed the xml extension for php (this is a new box), I was 
getting the following error:

$ php ../composer.phar update
Updating dependencies
Writing lock file
Generating autoload files

Fatal error: Class 'DOMDocument' not found in 
.../vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php
 
on line 207
PHP Fatal error:  Class 'DOMDocument' not found in 
.../vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php
 
on line 207

Fatal error: Class 'DOMDocument' not found in 
.../vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php
 
on line 207
PHP Fatal error:  Class 'DOMDocument' not found in 
.../vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php
 
on line 207


Adding the following line to requires in composer.json fixes the problem:

"ext-xmlreader": "*",

I now get the following:

$ php ../composer.phar update
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested PHP extension ext-xmlreader * is missing from your 
system.

I'll make a pull request on github soon unless someone beats me to it.

Mark.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to