Jump to content


Photo

Q: Downloading PHP file instead of displaying - whats wrong?


  • Please log in to reply
4 replies to this topic

#1 OMorchoe

OMorchoe
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 18 September 2006 - 07:55 PM

I am currently testing several PHP-based CMS. One of them is Dragonfly.
Its a clear new install and i would have to access a file to set up the site. but whenever i try that, a download window opens.

The Apache Server it is on seems fine and other PHP-Systems run just fine on it. Since on the Dragonfly-Board nobody seems to know a solution, I thought, I might ask for help here.

Anyone?

PS: Here is a phpinfo so you can check for errors - maybe you see something I did not...

#2 realjumper

realjumper
  • Members
  • PipPipPip
  • Advanced Member
  • 399 posts

Posted 18 September 2006 - 08:34 PM

Just a wild guess but I know that with php 5 and some pre made scripts they don't use <?php at the beginning of the script....instead they are lazy and just use <? .....mostly you can get away with this but php 5 want's you to open in the proper fashion of <?php or else it will just display the raw code. Hope that is your problem?

#3 OMorchoe

OMorchoe
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 19 September 2006 - 09:44 AM

actually there is the <?php in the file.

Try yourself: http://cmstest.rpg-c...onfly/admin.php

It is just weird.


:'(

#4 radalin

radalin
  • Members
  • PipPipPip
  • Advanced Member
  • 179 posts

Posted 19 September 2006 - 10:13 AM

well probably php is not installed in your apache server and that's cause a problem. Check if in your apache folder there is php.ini file.
Roy Simkes
Yet Another Parkyeri Developer

#5 OMorchoe

OMorchoe
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 19 September 2006 - 04:34 PM

uhm... as i said before, there are many other php based porgs running on that server. also the phpinfo() would not work without php running on it, would it now? :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users