[pmwiki-users] pmwiki.php is downloaded

Patrick R. Michaud pmichaud at pobox.com
Sat Feb 3 15:41:22 CST 2007


On Sat, Feb 03, 2007 at 10:33:33PM +0100, Borkenkaefer wrote:
> I regulary use PmWiki and recently I changed my hosting provider. Now,
> PmWiki doesn't work anymore. Always when i go to
> http://www.example.ch/pmwiki.php my browser wants to download the
> pmwiki.php file and it doesn't show me the right site. It looks like
> php isn't activated, but it is...
> 
> Any hints or helping hands anywhere?
> 
> I'm using the actual stable version of PmWiki. The affected site is
> reachable under http://www.axalphuesli.ch/wiki/pmwiki.php and there is
> a http://www.axalphuesli.ch/phpinfo.php aswell for further
> configuration information.

Odd.  I'm getting similar results as you with the urls, 
although the phpinfo.php script appears to be at 
http://www.axalphuesli.ch/wiki/phpinfo.php .

You're right that it appears that the webserver isn't treating
the pmwiki.php script as an executable PHP script but seems to 
want to return it directly.  That's definitely strange.  Perhaps
double-check the file permissions on the script?

ALso, what happens if you create an 'index.php' script that
contains the line below?

    <?php include_once('pmwiki.php');

At any rate, it definitely looks like a server configuration issue
of some sort.

Pm



More information about the pmwiki-users mailing list