WordPress.org

Ready to get started?Download WordPress

Forums

PHP5 and .htaccess files (9 posts)

  1. lizscarff
    Member
    Posted 3 years ago #

    Hi,

    I've recently upgraded wordpress to 3.1 and want to install a new theme I have been working with offline.

    I'm having problems with installing the theme as it requires PHP5 to run and my server provider 1 and 1 only have php4 as standard.

    I know that the wordpress install is OK as the default theme twentyten works just fine.

    I've searched around the topic and found that adding a .htaccess file should solve the problem.

    I've tried uploading a file with this:

    AddType x-mapp-php5 .php

    as advised by 1 and 1

    also this:

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

    but neither is working.

    I'm a bit stuck for what to do - any help much appreciated.

    Thanks,

    Liz

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    I've tried uploading a file with this:

    What file? It needs to be an .htaccess file in your domain's root folder.

  3. arkgroup
    Member
    Posted 3 years ago #

    Liz,

    If it strictly requires php5 and workaround with .htaccess is 100% not working, then you should get another hosting package with php5 installed.

    Such hosting services as 1 and 1 probably has few old servers with old software, so either you already host your website there for a long time, either it's a bad luck.

  4. lizscarff
    Member
    Posted 3 years ago #

    Hi -

    The file I tried to upload was a .htaccess file in the root directory.

    I tried a .htaccess file with this:

    AddType x-mapp-php5 .php

    as advised by 1 and 1

    and then I tried this:

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

    Neither worked. Any suggestions greatly appreciated

    thanks

  5. GRAQ
    Member
    Posted 3 years ago #

    Considering that PHP 5.2 and MySQL 5 are due to become minimum requirements for the next major release of WordPress, my advice would be to move hosts.

    If you want any kind of longevity using WordPress then your host will soon be impossible to work around.

  6. lizscarff
    Member
    Posted 3 years ago #

    OK - thanks. Any good host suggestions with PHP5 and MySQP 5.I'm in the UK currently with 1 and 1.

    Thanks,

    Liz

  7. GRAQ
    Member
    Posted 3 years ago #

    I honestly don't know. I build my own servers to host WordPress (and other stuff), so I'm only familiar with VPS.

    For all I know you just need to give your current host a kick-up-the-sun-don't-shine? Because I find it a bit surprising that they don't have at least PHP 5.1.6

    Actually, scrap that, a quick Google shows a few people saying the PHP 5 work around doesn't work with WP 3.1

  8. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    1&1 do offer PHP5.

  9. arkgroup
    Member
    Posted 3 years ago #

    Liz,

    Ask 1&1 to move your website to another server where PHP5 already installed.

Topic Closed

This topic has been closed to new replies.

About this Topic