|
Posted by Bucker on 01/20/08 17:52
On Jan 15, 11:55 am, "Steve" <no....@example.com> wrote:
> "Aaron Saray" <102degr...@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>- Hide quoted text -
>
> - Show quoted text -
On My Windows XP Professional I've tried installing PHP 5.2.5
Default install is OK. Installing in c:\PHP directory.
echo phpinfo(); says loaded configuration file (NONE)
When I copied the php.ini to the windows directory, set the file so
IWAM and IUSR had
god privledges to the file and reboot the system, I get a blank screen
when loading the sample php page with just
a echo phpinfo();
Looks like the interpreter didn't compile the page.
When I remove the php.ini from the windows directory and reboot the
computer, every is OK except the
loaded configuration file (NONE).
Anyone have any ideas.
J
Navigation:
[Reply to this message]
|