Re: gentoo php
| From: | Teus Benschop | Date: | Tue, 02 Mar 2010 15:18:01 +0000 |
| Subject: | Re: gentoo php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302485@lists.php.net to get a copy of this message | ||
On Tue, 2010-03-02 at 20:36 +0530, Kaushal Shriyan wrote:
> Hi,
>
> I used simplexml as use flag and did emerge -av php. I still get the
> same below issue.
>
> Fatal error: Call to undefined function simplexml_import_dom() in
> /var/www/localhost/htdocs/apps/latency-monitor/Monitor/LatencyScraper.php
> on line 39
>
The following note on the function quick reference on php.net may help:
Gentoo users: emerge does not compile dev-lang/php with simplexml by
default. To enable this option, add the flag simplexml to your USE
variable and recompile php.
Teus.