Content Mismatch after Upgrade to PHP 5.2.6

Discussion in 'General' started by netnerd, Jan 23, 2009.

  1. netnerd

    netnerd New Member

    My installation has been working great for quite some time until I upgraded to PHP 5.2.6. Now the script just outputs non printable charecters like ���������������������

    Everything works fine when I switch the PHP DSO back to PHP4.

    Has anyone else seen this or fixed this problem ?

    OS: RHEL 4 ES
  2. falko

    falko Super Moderator ISPConfig Developer

    Did you see any errors in Apache's error log when this happened?
  3. netnerd

    netnerd New Member

    No, unfortunately there is nothing in the error_log. Strangely enough there is nothing in the access_log either. I verified my setup by loading phpinfo() from a file called index2.php placed right next to the mydnsconfig index.php with the same permissions. Phpinfo displayed properly so I am certain it is something related to the source.

    I have other popular PHP packages installed to like postfixadmin and sugarcrm.

    One thing I notice, ob_start is passing some kind of reference to gzip and I see in my setup gzip compression is being handled my mod_deflate. I wonder if there is some incompatibility here ?

    httpd -v
    Server version: Apache/2.0.52
    Server built: Aug 2 2006 05:21:10

    php -v output:
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php5/lib/php/extensions/current/' - cannot open shared object file: No such file or directory in Unknown on line 0
    PHP 5.2.6 with Suhosin-Patch (cli) (built: Jun 19 2008 00:26:54)
    Copyright (c) 1997-2008 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
  4. falko

    falko Super Moderator ISPConfig Developer

    Can you disable curl in your PHP configuration and restart Apache?
  5. netnerd

    netnerd New Member

    Content Mismatch after Upgrade to PHP 5.2.6 (SOLVED!!)

    Well it wasn't the curl module but one of the others I had loaded. My host allows me to add and remove just about every known php addon module through a nifty control panel and I had turned every single one on. After reading the last reply to my post from Falko I removed everything but the minimum to allow Mydns to work. Now everything works great.

    Tnx Falko

Share This Page