Your message dated Fri, 13 Jan 2006 16:19:29 +0100
with message-id <[EMAIL PROTECTED]>
and subject line php3 removed from unstable/testing
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 24 May 2000 08:29:11 +0000
>From [EMAIL PROTECTED] Wed May 24 03:29:11 2000
Return-path: <[EMAIL PROTECTED]>
Received: from zem.uiah.fi [128.214.132.180] (root)
        by master.debian.org with esmtp (Exim 3.12 #2 (Debian))
        id 12uWXP-0007lI-00; Wed, 24 May 2000 03:29:11 -0500
Received: by zem.uiah.fi
        via sendmail from stdin
        id <[EMAIL PROTECTED]> (Debian Smail3.2.0.102)
        for [EMAIL PROTECTED]; Wed, 24 May 2000 11:29:09 +0300 (EEST) 
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 24 May 2000 11:29:09 +0300 (EEST)
From: Osma Suominen <[EMAIL PROTECTED]>
Subject: php3: include_path and auto_prepend_file broken across directories
To: [EMAIL PROTECTED]
Bcc:
X-Mailer: bug 3.2.10
Delivered-To: [EMAIL PROTECTED]

Package: php3
Version: 3:3.0.16-2
Severity: normal

It seems to me that setting different include_paths in different
directories causes some trouble. I'll describe the files I made
to demonstrate this bug. I couldn't figure out any simpler test
case as this.

My DocumentRoot is set to /var/www. Under this directory I have
these files:

zem:/var/www# ls -lAR
.:
total 2
drwxr-xr-x    3 root     root         1024 May 24 11:14 test1
drwxr-xr-x    2 root     root         1024 May 24 11:03 test2

./test1:
total 3
-rw-r--r--    1 root     root           76 May 24 11:08 .htaccess
drwxr-xr-x    2 root     root         1024 May 24 10:58 include
-rw-r--r--    1 root     root           20 May 24 10:38 index.phtml

./test1/include:
total 1
-rw-r--r--    1 root     root           33 May 24 10:38 prepend.inc

./test2:
total 2
-rw-r--r--    1 root     root           20 May 24 11:03 .htaccess
-rw-r--r--    1 root     root           20 May 24 10:50 index.phtml

The contents are as follows:

zem:/var/www# cat test1/.htaccess
php3_include_path /var/www/test1/include
php3_auto_prepend_file prepend.inc
zem:/var/www# cat test1/index.phtml
<?php phpinfo(); ?>
zem:/var/www# cat test1/include/prepend.inc
This is automatically prepended.
zem:/var/www# cat test2/.htaccess
php3_include_path .
zem:/var/www# cat test2/index.phtml
<?php phpinfo(); ?>

OK, now for the testing. First, I restart Apache (the hard way).

zem:/var/www# /etc/init.d/apache stop
Stopping web server: apache.
/usr/sbin/apachectl stop: httpd stopped
zem:/var/www# /etc/init.d/apache start
Starting web server: apache.
/usr/sbin/apachectl start: httpd started

I fire up a browser and point it to http://localhost/test2/
The PHP info page loads correctly. I reload it a few times to
make sure it works. It does. The include_path shown in the
PHP information is ".", which is correct.

Then I point my browser to http://localhost/test1/
I get a page with the prepended message and the PHP info.
The include_path is "/var/www/test1/include", correct.

I go back to the page http://localhost/test2/
This may work at first, but after a couple of reloads I get
a message like

Fatal error: Failed opening required 'k  Tl  ðV  ' in
/var/www/test2/index.phtml on line 1

Now the "filename" may be anything. I've seen random data such
as this, the filename "prepend.inc", something that looks like
parts of constant names (uppercase characters), and "nclude".

When I reload the page, it sometimes works, sometimes doesn't
(with an error message as above). It probably has to do with
the number of Apache processes running.

I've used Netscape 4.7 and w3m as browsers, so that shouldn't
make a difference.

-- System Information
Debian Release: 2.2
Kernel Version: Linux zem 2.2.15 #1 Mon May 8 12:48:03 EEST 2000 i686 unknown

Versions of the packages php3 depends on:
ii  apache-common  1.3.9-13.1     Support files for all Apache webservers
ii  libc6          2.1.3-10       GNU C Library: Shared libraries and Timezone
ii  libdb2         2.4.14-2.7.7.1 The Berkeley database routines (run-time fil
ii  libgdbmg1      1.7.3-26.2     GNU dbm database routines (runtime version).
ii  mime-support   3.9-1          MIME files 'mime.types' & 'mailcap', and sup
ii  zlib1g         1.1.3-5        compression library - runtime
        ^^^ (Provides virtual package libz1)

---------------------------------------
Received: (at 64590-done) by bugs.debian.org; 13 Jan 2006 15:19:30 +0000
>From [EMAIL PROTECTED] Fri Jan 13 07:19:30 2006
Return-path: <[EMAIL PROTECTED]>
Received: from a-eskwadraat.nl ([131.211.39.72])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1ExQiA-0005DJ-Eb; Fri, 13 Jan 2006 07:19:30 -0800
Received: from 22pc220.sshunet.nl ([145.97.220.22] helo=bla.wolffelaar.nl)
        by a-eskwadraat.nl with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32)
        (Exim 4.50)
        id 1ExQi9-0004vX-Ho; Fri, 13 Jan 2006 16:19:29 +0100
Received: from jeroen by bla.wolffelaar.nl with local (Exim 4.50)
        id 1ExQi9-0000v7-B8; Fri, 13 Jan 2006 16:19:29 +0100
Date: Fri, 13 Jan 2006 16:19:29 +0100
To: [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: php3 removed from unstable/testing
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
From: Jeroen van Wolffelaar <[EMAIL PROTECTED]>
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,SORTED_RECIPS 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 12

Dear reporter,

php3 has been removed from Debian unstable/testing, because it's superseded
by php4 and php5. Please see #330656 for more information.

This bug does not apply to php4 or php5, so I'm closing it now.

Thank you for your report,
--Jeroen

-- 
Jeroen van Wolffelaar
[EMAIL PROTECTED]
http://jeroen.A-Eskwadraat.nl


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to