Re: [PHP] gentoo php

[email protected] (mrfroasty)
Newsgroups php.general
Message-ID <[email protected]>
On 03/02/2010 04:06 PM, Kaushal Shriyan wrote:
> Hi,
>
> I used simplexml as use flag and did emerge -av php. I still get the
> same below issue.
>    

Can you provide us with data that indeed you have enabled important 
useflags on that php which you have compiled?
You also need to restart/reload apache once you finished compiling php.

Results on my development platform:
#emerge -pv php

dev-lang/php-5.2.12  USE="apache2 bcmath berkdb bzip2 calendar cgi cli 
crypt ctype curl curlwrappers doc exif fdftk filter ftp gd gdbm gmp hash 
iconv imap inifile ipv6 json ldap ldap-sasl mcve mhash mysql mysqli 
ncurses nls pcre pdo posix readline reflection session simplexml snmp 
soap sockets spell spl ssl threads tidy tokenizer truetype unicode wddx 
xml xmlreader xmlrpc xmlwriter xsl zlib

You can easily add flags with something like this:
#echo "dev-lang/php simplexml xml xmlreader xmlwritter" >> 
/etc/portage/package.use

GR
Muhsin

> Fatal error: Call to undefined function simplexml_import_dom() in
> /var/www/localhost/htdocs/apps/latency-monitor/Monitor/LatencyScraper.php
> on line 39
>
> Please suggest.
>
> Thanks,
>
> Kaushal
>
>    


-- 
Extra details:
OSS:Gentoo Linux
profile:x86
Hardware:msi geforce 8600GT asus p5k-se
location:/home/muhsin
language(s):C/C++,VB,VHDL,bash,PHP,SQL,HTML,CSS
Typo:40WPM
url:http://www.mzalendo.net
url:http://www.zanbytes.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.