Support » How-To and Troubleshooting » PHP 5.2 change broke my weblogs – how do I repair them please?

PHP 5.2 change broke my weblogs – how do I repair them please?

  • I’ve broken my WordPress weblogs – http://intheboatshed.net and http://singdanceandplay.net – and have no idea how to get them working again. I would be very grateful to know what I’ve done, and for advice on how to fix the problem

    I made the mistake of following what seems to have been dodgy advice linked to from a post here on the Wp forum. This that suggested that my site would go faster if I went to my host – Bluehost – c-panel, clicked on PHPConfig and selected the option PHP 5.2 (FastCGI).

    I’ve switched back to the previous PHP 5.2 setting, but it hasn’t made any difference.

    Instead of making the weblog go faster, what happens now is that my browsers – Chrome and Firefox – download some kind of small file.

    What can I do now? Would reinstalling my WordPress software through the c-panel help?

    Thanks, Gavin Atkin

Viewing 11 replies - 1 through 11 (of 11 total)
  • The link the to advice to change the PHP setting is linked from this WordPress forum post:


    Gavin Atkin

    Soz – managed to make my sign-off link to the post linking to the advice in question.

    My weblogs are still not functioning, so I would say read it if you like – but don’t do what it says!


    You also exposed your wp-config.php as downloadable file. Consider to change database access credentials.

    Your blog screwed because PHP files are not executable

    AddHandler x-httpd-php .php
    AddType application/x-httpd-php .php

    must be added to some apache config, maybe .htaccess, but i dont know your host

    I’ve set the permissions to 755… But this is way beyond anything I understand.

    If that’s what it needs, hopefully Bluehost will tell me what files I must change.


    Thanks Yui… Hopefully no-one’s done anything bad!


    Following some advice I have switched to PHP 5.4 (Single php.ini) but sadly the problem remains and my weblogs remain broken.

    I have pasted an example of the contents of the small file my web browsers download whenever I go to one of weblogs using a web browsers.

    I would be most grateful for any advice on how to make these installs work once again. I do wonder whether reinstalling WordPress might help – though naturally I am anxious not to over-write the database or other contents.


    The filename is: zNlR0hDp

    The content is:

    * 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 */

    If I do reinstall, should I do this using the Wp installation features of my host’s control panel, or should I do it manually using ftp?

    And what precautions would I have to take to avoid over-writing content?

    Thanks, Gavin

    I’ve just found my security was /still/ turned off, and have now set everything to 755. Is that correct?

    Now I’m even more puzzled. It turns out that two of my three current weblogs are down, but one is still working – http://julieandhersqueeze.com .

    I really wish I knew what to do!




    Forum Moderator

    Have you asked BlueHost for help?

    I did. It takes quite a few hours for them to respond, and their first advice didn’t change anything.

    My guess was that they would not feel it was their place to get too closely involved – after all, the issue was not that their servers were not working but that they had a client (me) that had done something stupid.

    The second they got in touch, however, they reported they had made some php code changes somewhere that fixed the thing. I have to say I am very pleasantly surprised and mightily relieved. I genuinely imagined I would have to rely on this forum for detailed advice – I had no idea that they’d step in and put things right.


Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘PHP 5.2 change broke my weblogs – how do I repair them please?’ is closed to new replies.