Forums

Running PHP on Host Server? (7 posts)

  1. Lightning Rod
    Member
    Posted 9 months ago #

    Hello,

    I would appreciate if anyone could answer the following:

    While attempting to install WordPress 3.2, I received an error message that my server wasn't running the required version of PHP.

    I asked my service provider, and they replied that all I need to do is to 'parse' the .htaccess file, like this:

    Script 1: .htaccess

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    Am I right to be suspicious of this as a viable solution, or is this the correct way to go?

    If yes, I'm not clear on where to add the above script.

    Thanks in advance for any help.

    LR

  2. esmi
    Theme Diva & Forum Moderator
    Posted 9 months ago #

    Am I right to be suspicious of this as a viable solution, or is this the correct way to go?

    This is the correct approach on some hosts - such as 1&1.

    I'm not clear on where to add the above script

    To an .htaccess file in your main WordPress folder.

  3. Lightning Rod
    Member
    Posted 9 months ago #

    Thanks very much for the fast reply.

    I'll give it a go, and try the install again.

  4. Lightning Rod
    Member
    Posted 9 months ago #

    No joy yet.

    I've created my own .htaccess file (as a text file) using NotePad, with these contents:

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    Then I uploaded it to the root of my subdirectory on my site, where I installed WordPress.

    But I got an error 404 message when I tried to access http://mysite.com/subdirectory/wp-admin/install.php

    Any obvious mistake?

    Thanks.

    LR

  5. Lightning Rod
    Member
    Posted 9 months ago #

    Disregard. My mistake. Wrong URL.

    However, I'm still getting this error:

    Your server is running PHP version 4.4.9 but WordPress 3.2.1 requires at least 5.2.4.

    Thanks.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 9 months ago #

    You really need to speak to your hosts about this.

  7. Lightning Rod
    Member
    Posted 9 months ago #

    Just emailed them. Many thanks. Will share any revelations.

Reply

You must log in to post.

About this Topic