|
Posted by NC on 01/13/08 01:55
On Jan 12, 10:30 am, Jez <jerryyang_...@yahoo.com> wrote:
>
> IIS6 - Windows 2003 SP2.
> PHP 5.2.5 Manual install using php5isapi.dll
>
> PHP seems to be installed and working OK.
>
> Yet I have a slight issue !!
>
> I've created a page (test.php) with just this in it :
>
> <?php
> phpinfo();
> ?>
>
> When run via my browser the php.ini settings are shown as:
>
> Configuration File (php.ini) Path C:\WINDOWS
> Loaded Configuration File (none)
>
> Yet if I launch the test.php page via a command line:
>
> php C:\Inetpub\wwwroot\test.php the php.ini settings are shown as:
>
> Configuration File (php.ini) Path => C:\WINDOWS
> Loaded Configuration File => C:\WINDOWS\php.ini
>
> The php.ini is located in C:\Windows
>
> Why the difference ??
Sounds like a permissions issue. The user on behalf of which IIS is
running does not have read access to C:\WINDOWS...
Cheers,
NC
Navigation:
[Reply to this message]
|