ID: 19324
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Critical
Bug Type: Output Control
Operating System: Solaris8 x86
PHP Version: 4.2.3
New Comment:
apache 1.3.26
Previous Comments:
------------------------------------------------------------------------
[2002-09-25 22:48:14] [EMAIL PROTECTED]
With which apache version it doesn't work?
------------------------------------------------------------------------
[2002-09-25 21:29:57] [EMAIL PROTECTED]
I compiled php without any CFLAGS, showing source still
arisen .
My gcc version is 3.2 .
PS: but the situation doesn't arise on "APACHE 2.x + PHP" .
------------------------------------------------------------------------
[2002-09-25 09:44:54] [EMAIL PROTECTED]
Could you try compiling PHP without using ANY predefined CFLAGS? ie.
only run the configure with your options.
------------------------------------------------------------------------
[2002-09-25 03:56:02] [EMAIL PROTECTED]
When I use :
header('Location: xxx.php?a=123&b=456');
(1) use header() function
(2) the URL append GET string
then php file show the source on client's browser.
But after reload, the PHP just normal run.
------------------------------------------------------------------------
[2002-09-09 20:54:05] [EMAIL PROTECTED]
After I upgrade PHP from v4.2.2 to v4.2.3, my system
actually show PHP source on client's browser ! It never
arise in v4.2.2 , and I haven't change my configure and
php.ini . The case is not always arising. It should arise
when I click the links to switch the PHP pages fast.
===========================================================
CC=gcc \
CFLAGS="-O6 -mcpu=pentiumpro" \
./configure \
--enable-track-vars \
--enable-inline-optimization \
--enable-mbstring \
--enable-ctype \
--disable-wddx \
--disable-debug \
--disable-experimental-zts \
--with-xml \
--with-mcrypt=/usr/local \
--with-dom=/usr/local \
--with-zlib-dir=/usr/local \
--with-mysql=/usr/local/mysql \
--with-iconv=/usr/local \
--with-apxs=/usr/local/apache/bin/apxs \
--prefix=/usr/local
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19324&edit=1