WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] firefox downloads files instead of executing them [solution] (1 post)

  1. levy
    Member
    Posted 8 years ago #

    Ok.

    I've had the above problem for a while now and not been able to figure it out. I tried all the cookie suggestions but nothing.

    What happened was that FireFox sometimes downloaded the php files instead of executing them and then displayed php garbage file locally on my computer.

    I donĀ“t know if anyone else has had the same problem but I thought I might post the solution.

    The Apache server configurations had to be changed. These are the ones that were replaced:

    <Directory /srv/vefir/personal/levy>
    php_admin_flag engine off
    AddHandler x-httpd-php .php
    suPHP_Engine on
    suPHP_ConfigPath /etc/suphp
    suPHP_UserGroup levy users
    //<i>Levy is my user directory at my ISP</i>
    php_admin_flag safe_mode 0
    </Directory>

    Peace.

    p.s. I obviously take no responsability if your server crashes. :)

    Levy
    http://WeAreOne.co.nr

Topic Closed

This topic has been closed to new replies.

About this Topic