Wordpress Problems Help Please

Discussion in 'Programming' started by Demon fox, Dec 27, 2007.

  1. #1
    I'm having an issue with wordpress after moving to a vps from shared server. Whenever I click publish when writing a new post sometimes a download pops up attempting to download new-post.php

    Whenever i click edit it post it sometimes comes up with a download box for post.php. And when i try to save it it comes up with a download box for edit.php

    What the heck is going on never had an issue like this with shared hosting. Any help would be hugely appreciated.
     
    Demon fox, Dec 27, 2007 IP
  2. hogan_h

    hogan_h Peon

    Messages:
    199
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Probably not the wordpress issue, but the web-server one.

    Your server is not parsing/processing php files and is serving them open for public.

    a) Contact you hosting provider, b) edit the apache config file or c) edit the .htaccess if you can and add:
    <IfModule mod_mime.c>
    TypesConfig conf/mime.types
    AddType application/x-httpd-php .php
    </IfModule>

    Test few simple php files to see if they are executed, if not, then it's definetely not the wordpress issue.
     
    hogan_h, Dec 27, 2007 IP
  3. Boulder

    Boulder Well-Known Member

    Messages:
    806
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    118
    #3
    Yea I agree with what the above poster "hogan_h" is saying! This sounds like a php problem.. You server may not even have php installed?

    Could put this code in a blank php file and name it something like test.php and call it up in the browser like domainname/test.php


    <?php phpinfo(); ?>

    See if that executes and prints up the php page..

    Boulder
     
    Boulder, Dec 27, 2007 IP