Jump to content

Archived

This topic is now archived and is closed to further replies.

OMorchoe

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

Recommended Posts

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 [url=http://cmstest.rpg-community.com/dragonfly/test.php]phpinfo[/url] so you can check for errors - maybe you see something I did not...

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
actually there is the <?php in the file.

Try yourself: http://cmstest.rpg-community.com/dragonfly/admin.php

It is just weird.


:'(

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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? :)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.