Alright, I'll take the bait.

1. If you've got IIS installed, why are you trying to install Apache?
Choose one or the other.

2. Configuration for either server should be drop dead easy. The PHP
installer exe file should configure IIS (I don't use IIS, fortunately),
and the zip file contains what you should use for Apache. Put it in c:\php
(or wherever...). Apache config is easy for a localhost install. You'll
have to change a few lines and add a few.

 a. For an Apache server without a DNS entry, change the following line to
reference your IP:

ServerName xxx.xxx.xxx.xxx

 b. Add these lines for PHP

LoadModule c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php

 c. Change this line if you want index.php to be a valid initial page:

DirectoryIndex index.html

 to

DirectoryIndex index.php index.html

 d. Restart Apache.

3. Get MySQL from MySQL.com and install it where you want. MySQL should be
the easiest thing to install of the three. Set up a user and a password
for PHP. I initially learned MySQL (scratch that - still learning) using
the root user (very dangerous) until got a grasp of it's permissions.
Definitely don't do that for code that others will use.

Good luck!

-Dash

Immortality -- a fate worse than death.
                -- Edgar A. Shoaff

On Wed, 20 Nov 2002, Joe Finlinson wrote:

> I am using a machine running Windows XP pro... I managed to install IIS just
> fine.  However, it seems that I am having major traumas getting PHP, Apache,
> and mysql to function.  I have tried downloading some pre-configured kits
> from various sites with no luck.  Can any of you suggest a place where I can
> download the software... and give me some advice on configuring it.
>
> Thanks in advance,
> Joe
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to