Hi
I'm an absolute PHP newbie. We had a aerver which was compromised and all was working fine until we were injected with that imigaaa.net malware.
Hosting.com built us a new server but didn't maintain or record any of the settings on the "working but compromised" one and shut it down. On the new server, I'm getting this error:
HTTP ERROR: Error using gzinflate to un-gzip the payload
On every page but the index page, anytime hotel data is being loaded, or trying to be anyway.
Hosting company set up three test scripts
http://www.juicyhotels.com/hdctest.php
http://www.juicyhotels.com/hdctest.php
http://www.juicyhotels.com/hdctest3.php
To indicate that on the server level, things are set up as they should be.
So then why were our scripts all working fine on the old server and now we get that error?
Any help much appreciated.

    Sounds like you might be missing an extension in your PHP installation.

    Can you give a [man]phpinfo/man output (or link to it). Sounds like it could be as simple as enabling zlib and/or gzip.

      That sure is what it feels like since it worked fine before the new server installation...
      I don't know how to do the output you're asking for...can you tell me the steps please?
      I can do ssh if that's what you mean...

      Here is the result of running what they said to run:
      root@vps [~]# php -i | grep zlib
      Configure Command => './configure' '--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-libxml' '--enable-magic-quotes' '--enable-soap' '--enable-sockets' '--enable-zip' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-bz2' '--with-curl=/opt/curlssl/' '--with-gd' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libxml-dir=/opt/xml2' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pcre-regex=/opt/pcre' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr'
      Registered PHP Streams => zip, php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps
      Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags, convert., consumed, convert.iconv., bzip2., zlib.
      cURL Information => libcurl/7.21.4 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
      zlib
      Stream Wrapper support => compress.zlib://
      Stream Filter support => zlib.inflate, zlib.deflate
      zlib.output_compression => On => On
      zlib.output_compression_level => -1 => -1
      zlib.output_handler => no value => no value
      root@vps [~]#

      Also the server guys created three tests:
      my domain is juicyhotels.com:
      my domain.hdctest.php
      my domain.hdctest2.php
      hdctest3.php

      I just made a new file with code suggested in another forum to test the deflate:
      hdctest4.php

      Does this tell you anything? Thank you so very very much for your help...I really appreciate it!

        I'm not really sure.

        Something in your script isn't working correctly as that's a PHP error, not Apache. Can you post the script?

          Thanks...we fixed it be telling it not to unzip. Not sure if it impacted other aspects but seemed to fix that error anyway.

          Thanks

            Write a Reply...