RE: [PHP-WIN] Eh?? RE: [PHP-WIN] Guidelines for installing PHP on Apache Win32 - comments please
| From: | Ross Fleming | Date: | Thu, 20 Jun 2002 15:09:29 +0000 |
| Subject: | RE: [PHP-WIN] Eh?? RE: [PHP-WIN] Guidelines for installing PHP on Apache Win32 - comments please | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14317@lists.php.net to get a copy of this message | ||
I did state that this was for the ISAPI version. There is no reason to use
CGI. And win2k may well be easier, I wouldn't know. I installed it on
Win98. I did NOTHING more than the 7 steps that I suggested and it works.
And I ain't exaggerating when I said that I actually removed apache and php
before starting (as in I was doing a reinstall of windows anyway so know
mysterious "registry entries" that I may have done before could remain, or
any other steps), I installed from scratch. It still works.
Ross
> -----Original Message-----
> From: Jacques Steyn [mailto:jacques@knowsystems.com]
> Sent: 20 June 2002 15:34
> To: r.fleming@clara.co.uk
> Cc: php-windows@lists.php.net
> Subject: Re: [PHP-WIN] Eh?? RE: [PHP-WIN] Guidelines for installing PHP
> on Apache Win32 - comments please
>
>
> Hi Ross
> It depends on whether you do ISAPI or CGI.
>
> You need to muck with registery if it is CGI, and then you have to
> restart.
> And WIN2000 etc is much easier than Win98.
>
> Then again, the referenced page is not an installation summary, but a
> summary of
> all the suggestions as the standard steps (in your case 7) do not seem
> to work
> on the specific configuration. Once a set of steps have been identified
> that
> works on this configuration, it will be posted as the final version.
>
> Ciau
> Jacques
>
> Ross Fleming wrote:
>
> > Have I just been working with computers for too long? To test I wasn't
> > missing something, I've just installed Apache/PHP from scratch,
> and it is by
> > no means as involved as that page makes out. There are only
> SEVEN steps I
> > had to do...
> >
> > 1. Installed apache to c:\program files\apache group\apache
> (used the .msi
> > file and just hit next a lot)
> > 2. Extracted the PHP zip file to c:\php
> > 3. renamed php.ini-dist and moved it to c:\windows (actually MOVE it to
> > ensure you've only got one copy)
> > 4. opened the newly created php.ini (in the c:\windows folder)
> and entered
> > the details for doc_root and extension_dir.. change NOTHING else, you're
> > only trying to get it working:
> > doc_root = "C:\progra~1\apache~1\apache\htdocs"
> > extension_dir = "c:\php\extensions"
> > 5. Opened the httpd.conf file in the apache/conf folder and added the
> > following lines to the bottom of the file:
> > LoadModule php4_module c:/php/sapi/php4apache.dll
> > AddType application/x-httpd-php .php
> > 6. Placed a copy of php4ts.dll in the windows/system directory.
> > 7. Started Apache and et voila, pointing to
> > http://localhost/test.php
> > test.php was located in apache/htdocs and contained only the following:
> > <?PHP
> > phpinfo();
> > ?>
> >
> > There are NO restarts involved and no mucking about with the system
> > registry. And if anyone here is feeling a sense of deja-vu, then it's
> > probably because the 7 steps (which took all of five minutes)
> all feature in
> > the install.txt file that comes with the PHP distro. I
> struggled to find
> > how the
> >
> > Feel free to replace the webpage with that. This also assumes
> that you want
> > the apache module, the CGI version is horrible and less
> functional anyway
> >
> > Ross
> >
> > > -----Original Message-----
> > > From: Jacques Steyn [mailto:jacques@knowsystems.com]
> > > Sent: 17 June 2002 22:26
> > > To: php-windows@lists.php.net; php-install@lists.php.net
> > > Subject: [PHP-WIN] Guidelines for installing PHP on Apache Win32 -
> > > comments please
> > >
> > >
> > > Quite a few notes have been posted here on guys battling to get this
> > > kind of environment going.
> > > If you have tips on installing PHP for Apache on Win 98, could you
> > > please read
> > > http://www.knowsystems.com/notes/phpinstallnotes.html
> > > and comment. The notes in the PHP Manual are ancient and need
> an update.
> > >
> > > I've had some good feedback from the friendly guys on this list, but
> > > have not been able to get the system going yet.
> > >
> > > So I put together all the suggestions for all to see - and
> hopefully get
> > > a fix so that others do not battle as I have done.
> > >
> > > Please note that somewhere there is something missing in these
> > > guidelines - which is where I desparately need your help. So don't
> > > follow them yet...
> > >
> > > Thanks
> > > Jacques
> > > --
> > > ___________________
> > > Jacques Steyn
> > >
> > > +27 (0)11 478-1259
> > > http://www.knowsystems.com
> > >
> > >
> > >
> > > --
> > > 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
>
> --
> ___________________
> Jacques Steyn
>
> +27 (0)11 478-1259
> http://www.knowsystems.com
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>