How do I fix an error with PHP4 change it to read as PHP5?

Discussion in 'Programming' started by bigidea_guy, Jun 29, 2008.

  1. #1
    I found an answer to a previous problem, but I don't know how to do what I was told :D

    This is what I am supposed to do:
    How do I do that? what do i write in the .htaccess file?
     
    bigidea_guy, Jun 29, 2008 IP
  2. jmf000

    jmf000 Peon

    Messages:
    46
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try put this string into .htaccess
    
    AddHandler x-httpd-php5 .php
    
    Code (markup):
    Or find in httpd.conf and replace the following string
    AddHandler x-httpd-php .php
    with the code above

    You have to have php5 installed also.
     
    jmf000, Jun 30, 2008 IP
  3. bigidea_guy

    bigidea_guy Banned

    Messages:
    518
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3

    Thank you, I will try that when I get home again.

    This is what support said when I asked them:
    I mean, is that even right? It did not work?
     
    bigidea_guy, Jun 30, 2008 IP