This is fine if you only want one PHP setup.  Speaking with my PHP-GTK hat
on, it's not that straightforward... most PHP-GTK users will have both a
server-based installation of some kind _and_ a cli-based installation.  I
think it's safe to say that a lot of people will want to be running both PHP
4 and PHP 5 for a short time, too.  If you put php.ini in the system path
and add the php dir path to autoexec.bat, you aren't going to be able to do
that easily..

Goba, maybe the best thing would be to have two sets of instructions, one
(like Nuno's) that follows Edin's advice below for a single server-based
installation, and one that tells you how to set up a dir-based 'everything
together' setup for if you need to be running more than one version of PHP
(for whatever reason).  The latter works for cgi & cli, afaik it's only an
issue for the Apache 2 module.

> -----Original Message-----
> From: Edin Kadribasic [mailto:[EMAIL PROTECTED]
> Sent: 20 June 2004 07:24
> To: Gabor Hojtsy; PHPdoc
> Subject: Re: [PHP-DOC] help needed with windows install part of the PHP
> manual
>
>
> If you don't want to clutter your system with php files the following
> instructictions should work with all webservers.
>
> 1. Unpack php distro to a dir say 'c:\php'
> 2. Create php-<sapi>.ini in your windows folder based on php.ini-dist
> 3. Add c:\php to your path (this may require reboot depending on windows
> version)
> 4. Configure your web server.
>
> Of course 4. is server specific, but it should not be too complicated for
> the most commonly used servers.
>
> For php4 you need to add:
>
> 1b. copy c:\php\dlls\*.* c:\php
>
> Edin

Reply via email to