The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

directory problems

Discussion in 'General Discussion' started by viral, Jan 25, 2006.

  1. viral

    viral Member

    Joined:
    Jan 21, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    When I try to visit a directory that has an index.php

    it asks me to download (firefox) x-httpd, why does it do this?
     
  2. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    is php compiled and working properly?
     
  3. Gnomercy

    Gnomercy Well-Known Member
    PartnerNOC

    Joined:
    Sep 4, 2002
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    I'm having a similar problem here. Any php file, in both firefox and IE, generates a download window for an "application/x-httpd-php".

    I've recompiled php several times, compared apache config files with other servers (this is a 64 bit CentOS kernel) that work, verified that the NameVirtualHost x.x.x.x:80 line is present... all the appropriate php entries are in the httpd.conf file... I'm quite stuck. Putting in a ticket with cpanel now since it appears that everything is normal.

    I'll report back here with any solution I get from them.
     
  4. Gnomercy

    Gnomercy Well-Known Member
    PartnerNOC

    Joined:
    Sep 4, 2002
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    6
    Ok, never got the ticket in. After manually clearing my browser cache (since simply shutting down Firefox apparantly doesn't do so) and reaccessing the page, I discovered that compiling apache without the flash php module fixed the problem.

    This may be a specialized fix, or at least somewhat, as this is being run on a 64 bit kernel and flash was just incompatible with it.
     
Loading...

Share This Page