Professional Web Applications Themes

#25673 [Opn->Fbk]: Zlib output corrupted - PHP Development

ID: 25673 Updated by: [email]sniperphp.net[/email] Reported By: alfredo at renatec dot com dot br -Status: Open +Status: Feedback Bug Type: Zlib Related Operating System: Linux 2.4.20 PHP Version: 4.3.3 New Comment: Please show how the pages are 'corrupted'. This works just fine for me.. Previous Comments: ------------------------------------------------------------------------ [2003-09-30 08:30:41] alfredo at renatec dot com dot br Is already with the PHP.INF from 4.3.3 ------------------------------------------------------------------------ [2003-09-27 16:45:36] [email]sniperphp.net[/email] Replace your old php.ini with php.ini-dist from the PHP 4.3.3 distribution package. ------------------------------------------------------------------------ [2003-09-27 16:36:02] alfredo at renatec dot com dot br If I compile without --with-zlib option, this works, but on a ...

  1. #1

    Default #25673 [Opn->Fbk]: Zlib output corrupted

    ID: 25673
    Updated by: [email]sniperphp.net[/email]
    Reported By: alfredo at renatec dot com dot br
    -Status: Open
    +Status: Feedback
    Bug Type: Zlib Related
    Operating System: Linux 2.4.20
    PHP Version: 4.3.3
    New Comment:

    Please show how the pages are 'corrupted'. This works just fine for
    me..



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

    [2003-09-30 08:30:41] alfredo at renatec dot com dot br

    Is already with the PHP.INF from 4.3.3

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

    [2003-09-27 16:45:36] [email]sniperphp.net[/email]

    Replace your old php.ini with php.ini-dist from the PHP 4.3.3
    distribution package.


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

    [2003-09-27 16:36:02] alfredo at renatec dot com dot br

    If I compile without --with-zlib option, this works, but on a network
    yzer I see that the transfer is not compressed.

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

    [2003-09-27 16:29:33] alfredo at renatec dot com dot br

    I used this before...
    But this not happens with PHP 4.2.2 here. This is not a transparent
    compression? My web browser (IE 6.0, Mozilla 1.5) should not
    transparently uncompress the source html?

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

    [2003-09-27 07:38:07] [email]sniperphp.net[/email]

    And try reading the notes about this in php.ini-dist..


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

    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
    [url]http://bugs.php.net/25673[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=25673&edit=1[/url]
    sniper@php.net Guest

  2. #2

    Default #25673 [Opn->Fbk]: Zlib output corrupted

    ID: 25673
    Updated by: [email]sniperphp.net[/email]
    Reported By: alfredo at renatec dot com dot br
    -Status: Open
    +Status: Feedback
    Bug Type: Zlib Related
    Operating System: Linux 2.4.20
    PHP Version: 4.3.3
    New Comment:

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]




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

    [2003-09-30 09:27:07] alfredo at renatec dot com dot br

    PS: Sorry my bad english and the words mistakes.

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

    [2003-09-30 09:26:08] alfredo at renatec dot com dot br

    This is a strange think. The page appears to be compressed, but the
    browser appears to not try decompress. I tested in 3 different
    machines. On a network yser a see this relevant headers when I try
    with a Mozilla Browser:

    Request:
    GET / HTTP/1.1
    Accept-Encoding: gzip,deflate
    User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.5b)
    Gecko/20030827

    Response:
    HTTP/1.1 200 OK
    Server: Apache/2.0.47 (Unix) PHP/4.3.3
    X-Powered-by: PHP/4.3.3
    Transfer-Encoding: chunked
    Content-Type: text/html; cht=ISO-8859-1


    On the browser the page comes totally unreadable with stange characters
    like binary data. I think that PHP is not sending the correct headers
    to browser, or Apache alter this headers, but Apache is with default
    configuration from his sources.

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

    [2003-09-30 08:59:48] [email]sniperphp.net[/email]

    Please show how the pages are 'corrupted'. This works just fine for
    me..


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

    [2003-09-26 13:41:28] alfredo at renatec dot com dot br

    Description:
    ------------
    I compile PHP 4.3.3 as module of Apache 2.0.47 with the following
    command:
    ../configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
    --with-zlib
    If I set zlib.output_compression to "On", all my pages are unreadable
    (corrupted).
    All other PHP configurations are default, except register_globals that
    was turned on too.

    PHP Zlib related:
    ZLib Support enabled
    'zlib:' fopen wrapper enabled
    Compiled Version 1.1.4
    Linked Version 1.1.4




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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=25673&edit=1[/url]
    sniper@php.net Guest

Similar Threads

  1. #25673 [Fbk->Opn]: Zlib output corrupted
    By alfredo at renatec dot com dot br in forum PHP Development
    Replies: 1
    Last Post: September 30th, 02:41 PM
  2. #25673 [Bgs->Opn]: Zlib output corrupted
    By alfredo at renatec dot com dot br in forum PHP Development
    Replies: 1
    Last Post: September 30th, 12:33 PM
  3. #25673 [Opn->Bgs]: Zlib output corrupted
    By sniper@php.net in forum PHP Development
    Replies: 1
    Last Post: September 27th, 08:48 PM
  4. #25673 [Bgs]: Zlib output corrupted
    By sniper@php.net in forum PHP Development
    Replies: 1
    Last Post: September 27th, 08:31 PM
  5. #25673 [NEW]: Zlib output corrupted
    By alfredo at renatec dot com dot br in forum PHP Development
    Replies: 0
    Last Post: September 26th, 05:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139