Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

php5 files to run php 5

  • 17-11-2006 1:17pm
    #1
    Registered Users, Registered Users 2 Posts: 648 ✭✭✭


    hi,

    i found a program that only runs on php 5.
    my host says i can run php 5 if i rename the php files extensions to php5

    as this is not a clean solution do anyone know if i can do any htaccess magic for the folder that holds the program so as it will recognise php files as php5.

    TNX!!


Comments

  • Registered Users, Registered Users 2 Posts: 68,317 ✭✭✭✭seamus


    mod_rewrite may work, but I don't know how to use it.

    An alternative could be to rename all the files to .php5, and then hand-code a .php file for each page which redirects the person to the .php5 file (along with all of the POST and GET vars).


  • Registered Users, Registered Users 2 Posts: 648 ✭✭✭ChicoMendez


    seamus wrote:

    An alternative could be to rename all the files to .php5, and then hand-code a .php file for each page which redirects the person to the .php5 file (along with all of the POST and GET vars).


    tnxbut thats what im trying to avoid.. would be a nightmare id say


  • Registered Users, Registered Users 2 Posts: 648 ✭✭✭ChicoMendez


    seamus wrote:
    mod_rewrite may work, but I don't know how to use it.

    for ref you stick this into the htaccess


    AddHandler application/x-httpd-php5 .php


  • Registered Users, Registered Users 2 Posts: 2,919 ✭✭✭Bob the Builder


    for ref you stick this into the htaccess


    AddHandler application/x-httpd-php5 .php
    exactly my idea.... but do your reasearch on MIME files before you do anything...


Advertisement