You are here: Re: phpinfo issue !! « All PHP « IT news, forums, messages
Re: phpinfo issue !!

Posted by Steve on 09/26/29 12:00

"Aaron Saray" <102degrees@102degrees.com> wrote in message
news:7f94ec6f-21d8-493b-bc18-6f31050c627c@q39g2000hsf.googlegroups.com...
> On Jan 12, 12:30 pm, 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 ??
>> Will this cause me any problems ?
>>
>> Thanks
>
> The PHP binary will run as the currently logged in user. The IIS
> server should be running as a different user - most likely an IWAM_XXX
> user or something. Make sure that they have access to the php.ini
> file in the Windows directory - not the entire directory tho! :)

IIS by default uses IUSR_<computer name>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация