Discussion:
[PHP-INSTALL] PHP on Windows without Apache
Jeff
2008-12-14 17:49:40 UTC
Permalink
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?
Daniel Brown
2008-12-14 18:18:44 UTC
Permalink
Post by Jeff
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/
***@parasane.net || ***@php.net
50% Off Hosting! http://www.pilotpig.net/specials.php
Daniel Brown
2008-12-14 18:32:14 UTC
Permalink
On Sun, Dec 14, 2008 at 13:19, Jeffery Harris
Thanks Daniel. Any recommendations on a good php learning book.
My pleasure, Jeff.

I've honestly never read any of the PHP books out there, so I
wouldn't be able to give you a definite recommendation on that. What
I *will* highly recommend, though, is subscribing to the PHP General
mailing list. You'll not only get a lot of good information and
insight from that list, but it's a decent, friendly group of
highly-skilled people there, too.

When you subscribe to the list, your introductory post could be
asking about a good PHP book, and I'll bet that you get some good
answers.
--
</Daniel P. Brown>
http://www.parasane.net/
***@parasane.net || ***@php.net
50% Off Hosting! http://www.pilotpig.net/specials.php
Loading...