Re: PHP on Windows without Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, Dec 14, 2008 at 12:49, Jeff <jharris@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> I need to install PHP on a windows server. This will be my company intranet.
> The IT manager moved the IIS webserver directory to drive (D:) instead of
> (C:). He does not want me to use WAMP or XAMP server .exe(s) Now I have to
> install phpadmin and php separately along with sql.
>
> How do I make this work when php installs config files in C:? Are there any
> simple tutorials out there?

1.) Download the latest Windows zip package from http://php.net/downloads
2.) Unzip the contents to d:\php
3.) Copy all files from d:\php\dlls\ to %SYSTEMROOT%\system32\
4.) Copy all files from d:\php\sapi\ to %SYSTEMROOT%\system32\
5.) Copy d:\php\php.ini to %SYSTEMROOT%\php.ini
6.) Open IIS, and select the option to add a Web Service Extension.
7.) Call the extension "PHP"
8.) Set the path as to the location of the php5isapi.dll file.
        (It's probably d:\windows\system32\php5isapi.dll)
9.) Set the status to "Allow"
10.) Right-click the "Web Sites" folder, and select Properties.
11.) On the "Home Directory" tab, select "Configuration"
12.) Click "Add", then browse to the php5isapi.dll file, set the
extension as .php, and deselect "Verify that the file exists".
13.) Click OK.
14.) Apply the setting to all sites.
15.) Restart IIS

    That should do it.

-- 
</Daniel P. Brown>
http://www.parasane.net/
daniel.brown@xxxxxxxxxxxx || danbrown@xxxxxxx
50% Off Hosting! http://www.pilotpig.net/specials.php

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux