Forum Search Results for "" RSS 1—8 of 8

More Search Options

  • Re: PHP realpath() problem

    Posted to IIS 7 - FastCGI Module by david.s on 01-28-2009, 8:00 AM

    Hi, I explained it a bit further on my blog - Migrating to a new IIS7 install from IIS6. Basically just make sure the folder above your website is readable by IIS7

    • http://forums.iis.net/p/1153823/1891306.aspx#1891306
  • Re: PHP realpath() problem

    Posted to IIS 7 - FastCGI Module by david.s on 12-17-2008, 7:33 AM

    After much gnashing of teeth the solution has been found. The problem described does not occur if the account the website is running under has Read permission for the parent folder. If you have your sites setup under inetpub then this is already in place. I'm using DotNetPanel and it uses a different folder structure which does not have ...

    • http://forums.iis.net/p/1153823/1887764.aspx#1887764
  • Re: PHP realpath() problem

    Posted to IIS 7 - FastCGI Module by david.s on 12-16-2008, 8:56 PM

    An additional note, I've confirmed this is not just a fast-cgi problem, it's also occurring with php5isapi.dll on IIS7. this was NOT a problem on my IIS6 setup. Either there's something odd about my setup or IIS7 is not compatible with running common PHP apps from website root folder. Please somebody tell me this is not so!

    • http://forums.iis.net/p/1153823/1887716.aspx#1887716
  • Re: PHP realpath() problem

    Posted to IIS 7 - FastCGI Module by david.s on 12-16-2008, 8:35 PM

    Moving the sites off of wwwroot to a sub directory seems to solve the problem, but quite obviously this is not an ideal solution.

    • http://forums.iis.net/p/1153823/1887713.aspx#1887713
  • Re: PHP realpath() problem

    Posted to IIS 7 - FastCGI Module by david.s on 12-16-2008, 8:02 PM

    A simple write to a session variable worked fine, so not a permissions problem.  <?php $_SESSION['myvar'] = 5; echo $_SESSION['myvar']; ?>

    • http://forums.iis.net/p/1153823/1887710.aspx#1887710
  • Re: PHP realpath() problem

    Posted to IIS 7 - FastCGI Module by david.s on 12-16-2008, 7:54 PM

    Thanks for the link, it seems to be the same problem, but I'm not 100% convinced of the reply. As noted above there's an entire page on setting up MediaWiki on IIS7 with fast-cgi, so it apparently is working fine for some! I also tried wordpress on another site and got the same problem, and I think both wordpress and mediawiki failing on ...

    • http://forums.iis.net/p/1153823/1887709.aspx#1887709
  • Re: PHP realpath() problem

    Posted to IIS 7 - FastCGI Module by david.s on 12-16-2008, 5:52 PM

    Just to add, I tried running the script from command line PHP on w2k8 and it responds correctly, so it's some issue within the IIS7 context.

    • http://forums.iis.net/p/1153823/1887704.aspx#1887704
  • PHP realpath() problem

    Posted to IIS 7 - FastCGI Module by david.s on 12-16-2008, 5:48 PM

    I've been trying to migrate a MediaWiki installation to a w2k8 IIS7 server and been encountering headaches. I've eventually tracked it to an issue with the PHP function realpath(). The following PHP code demonstrates the problem -<?php echo realpath( '.' ); ?> On IIS6 using php5isapi.dll this reports the correct path, eg ...

    • http://forums.iis.net/p/1153823/1887702.aspx#1887702

Microsoft Communities