Re: PHP - simplexml driller

From: Ebbe Hjorth (none@info--ebbehjorth.dk.lh.bsd-dk.dk)
Date: Thu 24 Apr 2008 - 16:26:10 CEST


From: "Ebbe Hjorth" <none@info--ebbehjorth.dk.lh.bsd-dk.dk>
To: <none@bsd-dk--bsd-dk.dk.lh.bsd-dk.dk>
Subject: Re: PHP - simplexml driller
Date: Thu, 24 Apr 2008 16:26:10 +0200


----- Original Message -----
From: "Benny Simonsen" <none@bsd-dk--slbs.dk.lh.bsd-dk.dk>
To: <none@bsd-dk--bsd-dk.dk.lh.bsd-dk.dk>
Sent: Thursday, April 24, 2008 4:19 PM
Subject: Re: PHP - simplexml driller

Jeg samler lige op paa spoergsmaalene:
- Jeg har installeret php5-simplexml:
[benny@geiranger ~]$ pkg_info |grep simplexml
php5-simplexml-5.2.5_1 The simplexml shared extension for php

simplexml staar som den sidste linie i extensions.ini.

Ja jeg har en lang liste, saa det kunne da godt ske at jeg skulle faa
rydet lidt op, men det har virket, saa med mindre at det kan give
konflikter vil jeg helst have det til at virke foerst.

PS: Jeg har endnu ikke opgraderet til 7-stable (jeg ville lige have
dette til at virke foerst.

Hmm, det blev smidt i httpd-error.log - og ikke i et af mine domaeners
log fil - naturligt nok: Jeg har lige kommenteret den med hvad jeg har
gjort.
# Fra med simplexml inkluderet
[Thu Apr 24 16:10:18 2008] [notice] caught SIGTERM, shutting down
[Thu Apr 24 16:10:22 2008] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]

# Med simplexml disablet i /usr/local/etc/php/extensions.ini
[Thu Apr 24 16:10:42 2008] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]
PHP Warning: Cannot load module 'SPL' because required module 'simplexml'
is not loaded in Unknown on line 0
[Thu Apr 24 16:10:43 2008] [notice] Digest: generating secret for digest
authentication ...
[Thu Apr 24 16:10:43 2008] [notice] Digest: done
[Thu Apr 24 16:10:44 2008] [notice] Apache/2.2.8 (FreeBSD) DAV/2 PHP/5.2.5
with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.7e-p1 mod_perl/2.0.3
Perl/v5.8.8 configured -- resuming normal operations

# Samme som ovenfor - Med simplexml disablet i
/usr/local/etc/php/extensions.xml
[Thu Apr 24 16:11:32 2008] [notice] caught SIGTERM, shutting down
[Thu Apr 24 16:11:35 2008] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]
PHP Warning: Cannot load module 'SPL' because required module 'simplexml'
is not loaded in Unknown on line 0
[Thu Apr 24 16:11:36 2008] [notice] Digest: generating secret for digest
authentication ...
[Thu Apr 24 16:11:36 2008] [notice] Digest: done
[Thu Apr 24 16:11:37 2008] [notice] Apache/2.2.8 (FreeBSD) DAV/2 PHP/5.2.5
with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.7e-p1 mod_perl/2.0.3
Perl/v5.8.8 configured -- resuming normal operations

Som jeg læser din fejl meddelse, så skal du loade simplexml før dit SPL
modul!?

Jeg mener at jeg har proevet make deinstall && make install paa
pakken.

Kan man fjerne alt php rekursivt, for igen at installere det - det
skulle vel vaere nok at have hvilke options der er enablet i php5's
"make configure"?

Haaber at det kan hjaelpe lidt.

/Benny

__________ Information from ESET Smart Security, version of virus signature
database 3051 (20080424) __________

The message was checked by ESET Smart Security.

http://www.eset.com



This archive was generated by hypermail 2b30 : Wed 30 Apr 2008 - 23:00:02 CEST