Bug #16746 Updated: Log.php inexistant
| From: | klansman at arrakis dot dhis dot org | Date: | Mon, 29 Apr 2002 11:05:14 +0000 |
| Subject: | Bug #16746 Updated: Log.php inexistant | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-5879@lists.php.net to get a copy of this message | ||
ID: 16746
Updated by: klansman@arrakis.dhis.org
Reported By: klansman@arrakis.dhis.org
-Status: Closed
+Status: Open
Bug Type: PEAR related
Operating System: FreeBSD 4.5
PHP Version: 4.2.0
New Comment:
Ok, i got it, but now php gives a segmentation fault, core dumped.
What i did was to recompile php without the --with-apxs2 option in the
configuration stage. Then with the cgi version i used the pear command
to install the downloaded Log-1.1.tgz.
'pear install /usr/src/Log-1.1.tgz'
I get a 'Segmentation Fault (core dumped)' and a 3.4MB php.core file in
/usr/src.
I know that php.core can give you valuable information, but you must
tell me first what can i do with it to send that information back to
you.
I am sorry to insist on the 'bug' but when i got the segmentation fault
from the php binary i thought this could be a bug (not the pear Log
module, the segmentation fault).
Also i tried to simply copy the files in Log-1.1.tgz into
/usr/local/services/php/lib/php but no success, horde still doesn't
work.
Thank you for the help.
Previous Comments:
------------------------------------------------------------------------
[2002-04-23 05:58:17] mj@php.net
Please get the Log class from
http://pear.php.net/package-info.php?pacid=8
and place the copy in your
PEAR directory.
- Martin
------------------------------------------------------------------------
[2002-04-23 05:51:16] klansman@arrakis.dhis.org
I use an apache webserver with the horde framework (written in php) and
imp (webmail client).
Since php-4.2.0RC4 that horde+imp don't work. This behaviour is
reported as an error:
[21-Apr-2002 22:03:56] PHP Warning: Failed opening 'Log.php' for
inclusion
(include_path='.:/usr/local/services/php/lib/php:/var/services/web/common')
in /var/services/web/horde/lib/Horde.php on line 141
obviously followed by:
[21-Apr-2002 22:03:56] PHP Fatal error: Undefined class name 'log' in
/var/services/web/horde/lib/Horde.php on line 151
I don't know much about php or PEAR: What i know is that prior to
version 4.2.0RC4 it used to work fine. Also i checked under the php
install ddirectory/lib/php/PEAR and there was a Log directory and a
Log.php file in the "older" versions. Now (under 4.2.0RC4 and 4.2.0
that directory and file are no longer there. Also i checked the source
directory and the files are there under the old (4.1.2) version but
they are NOT there under 4.2.0. What happened?
Guess the problem doesn't lie on the configuration details, because in
the recent versions, the files simply aren't there... Anyway, here it
is:
--prefix=/usr/local/services/php-4.2.0 \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-gd-native-ttf \
--enable-mailparse \
--enable-mbstring \
--enable-mbregex \
--enable-sockets \
--with-apxs2=/usr/local/services/apache-2.0.35/bin/apxs \
--with-openssl=/usr/local/libs/openssl \
--with-zlib=/usr/local/libs/zlib \
--with-bz2=/usr/local/libs/bzip2 \
--with-tsrm-pth=/usr/local/gnu/pth/bin/pth-config \
--with-gd=/usr/local/libs/gd \
--with-jpeg-dir=/usr/local/libs/jpeg \
--with-png-dir=/usr/local/libs/libpng \
--with-freetype-dir=/usr/local/libs/freetype \
--with-gettext=/usr/local/gnu/gettext \
--with-iconv=/usr/local/gnu/libiconv \
--with-imap=/usr/src/imap-2001a \
--with-mcrypt=/usr/local/libs/libmcrypt \
--with-mysql=/usr/local/services/mysql \
--with-zip=/usr/local/libs/zziplib
I checked pear.php.net/manual and there is the reference to the Log
class, so i guess it wasn't replaced by something else...
I'm lost!
Can anyone help me?? please?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16746&edit=1