Support » Fixing WordPress » PHP 5.5 Breaks WordPress – Causes File Download

  • Hello friends!

    Working to update my PHP version from 5.3 to 5.5 (in cpanel), when I go to 5.5 on my Linux based server my wordpress sites show a white screen and I get an automatic download file. So I have instead gone to 5.4 until we can figure this out.

    The file that downloads is called “download” and contains the following:

    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    * @package WordPress

    * Tells WordPress to load the WordPress theme and output it.
    * @var bool
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );

    Any thoughts would be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Do you need to add a php55 handler to your htaccess file?

    [edit] ..random generalized example:

    # Use system PHP5.5 as default

    AddHandler application/x-httpd-php55 .php

    Maybe, I’ll give that a try thanks! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 5.5 Breaks WordPress – Causes File Download’ is closed to new replies.