forcetype in php5

Discussion in 'Apache' started by 123GoToAndPlay, Jul 29, 2009.

  1. #1
    I am moving a site from php4 to php5.1.6 (finally)

    But this htaccess doesn't seem to work anymore:

    
    <Files tag>
        ForceType application/x-httpd-php
    </Files>
    
    Code (markup):
    I have tried this without succes
    
    <Files tag>
       ForceType php5-cgi
    </Files>
    
    Code (markup):
    What would be the right way???
     
    123GoToAndPlay, Jul 29, 2009 IP
  2. gostats

    gostats Peon

    Messages:
    325
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Does apache produce and errors or warnings? (do you have error logs turned on?)

    Also, have you defined the type association for php5 earlier in the config?
     
    gostats, Jul 30, 2009 IP
  3. manikas

    manikas Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you tell me what script does your site use i would help you.:p
     
    manikas, Jul 31, 2009 IP