Results 1 to 5 of 5

Thread: GoDaddy and php

  1. #1
    rlhanson's Avatar
    rlhanson is offline Master Glow Jedi
    Join Date
    Aug 2007
    Location
    Chapman, Kansas
    Posts
    531

    Default GoDaddy and php

    I need the MIME type or Apache handler for the htaccess to have php parsed as html on a GoDaddy Wiindows server.

    I have tried, with no success:

    AddHandler application/x-httpd-php .html
    AddHandler application/x-httpd-php5 .php .php4 .php3 .phtml
    AddHandler application/x-httpd-php .htm

    and

    AddType application/x-httpd-php .html .htm
    Addhandler application/x-httpd-php .html .htm

    I found the answer a few months ago through Google Search, but can't seem to locate it again.

    It's not the answer that is within GoDaddy Support, this applies to their Linux servers.

    Any suggestions are appreciated!
    Thank you,
    Lynne Hanson
    RL Hanson-Online

  2. #2
    sergey is offline Master Glow Jedi
    Join Date
    Aug 2005
    Posts
    472

    Default

    You need to ask GoDaddy technicians to add the following application extensions in IIS -> Web Sites -> yourdomain.com -> Properties -> Home Directory -> Configuration -> Mappings

    .html (extension) C:\PHP\php.exe (execution path)

    If they have PHP installed in another folder, they should specify the path to php.exe in Execution Path field.

  3. #3
    rlhanson's Avatar
    rlhanson is offline Master Glow Jedi
    Join Date
    Aug 2007
    Location
    Chapman, Kansas
    Posts
    531

    Default

    Thank you Sergey! Do you have any other suggestions?

    I am just doing some web design for them and would like to use the php includes... not to keen on contacting the client to have them contact GoDaddy.
    Thank you,
    Lynne Hanson
    RL Hanson-Online

  4. #4
    sergey is offline Master Glow Jedi
    Join Date
    Aug 2005
    Posts
    472

    Default

    Unfortunately there is no another way to enable php parser for html pages on the Windows server except the way I described in my last response.

  5. #5
    rlhanson's Avatar
    rlhanson is offline Master Glow Jedi
    Join Date
    Aug 2007
    Location
    Chapman, Kansas
    Posts
    531

    Default

    Thank you so much Sergey! I do appreciate your responses!
    Thank you,
    Lynne Hanson
    RL Hanson-Online

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14