PHP - corrupted header

Discussion in 'Bug Reports' started by franci, Jan 22, 2006.

  1. franci

    franci New Member

    Hello,

    on Debian woody I have got this reply when sendind request to php script:

    HTTP/1.x 200 OK
    X-Powered-By: PHP/4.(
    Content-Type: text/h
    Content-Length: 4564
    Server: LiteSpeed
    Date: Sun, 22 Jan 2006 06:33:37 GMT
    Connection: close

    see X-Powered-By and Content-Type headers (Content-Type was also followed by "euro" symbol, but it changes). Sometimes are headers returned right.
    Maybe not problem of Litespeed. Its administration interface works OK, this was request to phpAdsNew.
    Server is LiteSpeed/2.1.9 Standard.

    Pavel
  2. xing

    xing LiteSpeed Staff

    Hi Pave,

    Are you:

    1) Using PHP bundled with LiteSpeed or your own customized?

    2) If customized PHP, what version and using which interface? FCGI or LSAPI?

    3) Any unusual logs in error.log in litespeed log folder?
  3. xing

    xing LiteSpeed Staff

    In your php.ini (/lswsinstall/conf/php.ini if default php binary) please set

    Code:
    expose_php = Off
    And see if that helps. Just want to see this has anything do with that string since the error happened from that point forward.

Share This Page