Unable to open PHP file in browser !

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kayal24
    New Member
    • Jan 2012
    • 2

    Unable to open PHP file in browser !

    I have uploaded a php file to an website which is hosted by bluehost.Whenev er I try to open the file in the browser instead of displaying the output it opens up the script for download. I even tried a simple script as phpinfo(). Can anyone pls help me with this? Maybe I'm missing out something as I'm new to php.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    does bluehost support PHP at all? (some ISPs have that disabled on purpose)

    Comment

    • Kadir Razu
      New Member
      • Feb 2011
      • 13

      #3
      Check Your hosting configuration. Also check that Appache is exists in your CPanel program list.

      Comment

      • kayal24
        New Member
        • Jan 2012
        • 2

        #4
        PHP Pear Package and PHP Config do exist in the software/service section.
        The website has other PHP pages which are working fine.
        The problem is with the new PHP pages I'am trying to add.

        Thanks

        Comment

        • Dormilich
          Recognized Expert Expert
          • Aug 2008
          • 8694

          #5
          is there any difference between the old and the new pages?

          Comment

          Working...