I am working on a gentoo server. Currently in PHP, the SimpleXML extension is not enabled. How do I enable this extension ?
The PHP version is 5.2
The configure command has "--disable-simplexml".
Is it possible to use "emerge" package manager to enable this extension ?
You should reemerge php with the 'simplexml' USE flag set. It is on-by-default, so you probably will not have to do anything more than
emerge php -vua
In the case that the 'simplexml' USE flag is not set, add it to your USE= set in /etc/make.conf and then reemerge php using the above command.