ID:               24666
 Updated by:       [EMAIL PROTECTED]
 Reported By:      dhunter at uta dot edu
-Status:           Open
+Status:           Feedback
 Bug Type:         Apache related
 Operating System: Solaris 8
 PHP Version:      4.3.2
 New Comment:

Try to enable logging of php errors and see if the php error contains
any errors that could explain the cause for the blank pages.


Previous Comments:
------------------------------------------------------------------------

[2003-07-20 17:35:31] dhunter at uta dot edu

Thanks for the input. I wasn't able to reproduce the error in debug
mode. Maybe increased traffic increases the frequency of occurrence.
Here is what I have done. I rebuilt all of the web server components,
apache, ssl, php, using a newer version of gcc (3.2.3), and I removed
some of php's configuration options. As I mentioned I wasn't able to
reproduce the problem in apache's debug mode, and gdb didn't have
anything to report. The problem continues to occur with the rebuilt
components, so I am continuing to use 4.3.1 for now. I'll build the
snapshot and see if the error is still present. 
Summary:
- plain html pages are ok.
- php pages randomly print blanks regardless of code.
- occurs with apache 1.3.27 or 1.3.28, and php 4.3.2 on sparc solaris
8
- php 4.3.1 works great

------------------------------------------------------------------------

[2003-07-16 21:05:01] [EMAIL PROTECTED]

Oopps, made a slight mistake, run it like:

# gdb httpd
(gdb) run -X -DSSL


------------------------------------------------------------------------

[2003-07-16 21:01:24] [EMAIL PROTECTED]

Could you try if you can reproduce this when you run apache like this:

# gdb httpd -X

(if you need SSL, add -DSSL there)

You should test the snapshot on separate instance/machine.
e.g. have another apache with PHP build from the snapshot
running in other port. (separate development server would be best
choice though :)



------------------------------------------------------------------------

[2003-07-16 15:56:42] dhunter at uta dot edu

Thanks,
I'll try the latest snapshot. I'll also try to cut down the
configuration, but we use most of the options.

Answers to your questions:
- output buffering is on
- i'm using the php.ini-recommended that comes with 4.3.2. no
differences except that i have safe mode on.
- i don't set any php.ini settings in .htaccess or httpd.conf.
- exactly right, any script randomly produces output and randomly
produces no output as evidenced by observation and as recorded in the
apache access log.

I downgraded to 4.3.1 to correct the problem for now.

------------------------------------------------------------------------

[2003-07-15 22:10:51] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

and cut down your configure line to bare minimum that you need for your
pages to work.

Are you using output buffering features? (php.ini)
What is the diff between your php.ini and the php.ini-dist
in the 4.3.2 release? (diff -u)
Do you set any php.ini settings in httpd.conf / .htaccess
parts that might affect the pages involved?
Are you sure it's any script? Even plain <?php echo "foo"; ?> style
script?



------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/24666

-- 
Edit this bug report at http://bugs.php.net/?id=24666&edit=1

Reply via email to