• hi,
    I have a plugin that requires php 5 but, I only have php 4. I heard that by adding theses two line of code you can upgrade it:

    <IfModule mod_fastcgi.c>
    AddHandler application/x-httpd-php5 .php
    </IfModule>

    or this code:

    AddHandler application/x-httpd-php5 .php
    AddHandler application/x-httpd-php .php4

    which one do I use and what part of my htaccess do I put it in.
    thanks for any replies

Viewing 1 replies (of 1 total)
  • You should talk to your host!

    Adding something to your .htaccess file isn’t going to upgrade your PHP from 4 to 5. But if your host has PHP 5 installed then adding a statement to .htaccess could force PHP5 to be used rather than PHP 4.

    Note some hosts may want something like this added to .htaccess:
    AddType x-mapp-php5 .php

    Again, please discuss this with your host.

Viewing 1 replies (of 1 total)
  • The topic ‘Php 5 upgrade’ is closed to new replies.