How to enable xmlwriter after PHP having been compiled?

lastland picture lastland · Jun 17, 2011 · Viewed 45.5k times · Source

I've got a message that ext/xmlwriter is missing while trying to set up phpMyFAQ on my system of Fedora 15. I looked it up on the PHP manual and got this:

This extension is enabled by default. It may be disabled by using the following option at compile time: --disable-xmlwriter

I used yum to install PHP on my computer and consider recompiling PHP quite an unpleasant work. Can I just enable it by editing something, like php.ini? Or any other ways to accomplish this task without recompiling PHP? And how?

Answer

Baxny picture Baxny · Jul 25, 2014

Running the following as recommended by netcoder worked for me

yum install php-xmlwriter