gentoo php
am 02.03.2010 16:06:40 von Kaushal Shriyan
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/Laten cyScraper.php
on line 39
Please suggest.
Thanks,
Kaushal
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: gentoo php
am 02.03.2010 16:09:29 von Ashley Sheridan
--=-DQFohh4vmjVT1i7iePPG
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
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/Laten cyScraper.php
> on line 39
>
> Please suggest.
>
> Thanks,
>
> Kaushal
>
What does a phpinfo() script tell you about the extension? Is it visible
in the info page? If not, have you made sure that there is nothing that
might need to be added to your php.ini enabling the module (loading the
module is not the same as it being enabled)
Thanks,
Ash
http://www.ashleysheridan.co.uk
--=-DQFohh4vmjVT1i7iePPG--
Re: gentoo php
am 02.03.2010 16:18:01 von Teus Benschop
On Tue, 2010-03-02 at 20:36 +0530, Kaushal Shriyan wrote:=20
> Hi,
>=20
> I used simplexml as use flag and did emerge -av php. I still get the
> same below issue.
>=20
> Fatal error: Call to undefined function simplexml_import_dom() in
> /var/www/localhost/htdocs/apps/latency-monitor/Monitor/Laten cyScraper.php
> on line 39
>=20
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.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: gentoo php
am 02.03.2010 20:22:30 von liveq
W dniu 02.03.2010 16:18, Teus Benschop pisze:
> 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.
>
And that means: USE="simplexml" emerge -av php
KA.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: gentoo php
am 02.03.2010 20:41:25 von muhsin
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/Laten cyScraper.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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: gentoo php
am 03.03.2010 05:54:15 von Kaushal Shriyan
On Wed, Mar 3, 2010 at 1:11 AM, mrfroasty wrote:
>
> 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 usefl=
ags
> 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 =A0USE=3D"apache2 bcmath berkdb bzip2 calendar cgi cl=
i 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 sp=
ell
> 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
Thanks Muhsin :). I did followed it already. it worked like a charm
Kaushal
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php