it probably isn't interpreting the php at all...

First, follow the steps for manual installation, this involves creating
a php4 folder, and copying the php.ini to the x:\windows folder, and
some of the dll files to the x:\windows\system32 folder...

alternatively you can copy *.exe and *.dll to the windows\system folder.
(this was easier, although, admitedly slopier, but fine for a dev install)

once you have the files in place.. create a test.php file in it you
will have simply <?PHP phpinfo();?> ...  and from a command prompt type:
    php.exe -c test.php

if this works, then php is installed... once you have php installed,
and configured (see php.ini), you will then need to configure apache.

in httpd.conf, you will want to uncomment the following lines...
    ScriptAlias /php/ "c:/php/"
    AddType application/x-httpd-php .php .phtml
    Action application/x-httpd-php "/php/php.exe"

this should be all you need to have php configured as a cgi for apache
on win32...  personally, I prefer iis, simply because of other support
(asp, .net, etc)... but to each their own. :)

--
=======================================================================
Michael J. Ryan  -  tracker1[*at*]theroughnecks.com
Roughneck BBS: http://www.theroughnecks.net  telnet://theroughnecks.net
=======================================================================
Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/


"Peter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> wot messages do you have coming up on your browser?
>
>
> -----Original Message-----
> From: news.per.connect.net.au [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 2 July 2002 1:40 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Followed install.txt... and NOTHING
>
>
> I am using Windows XP Professional version 2002.
>
> I have followed the instructions of install.txt that came with the zipped
> package at
> http://www.php.net/do_download.php?download_file=php-4.2.1-Win32.zip a
> number of times and I get no output when I try to write PHP files.  For
> example, a simple <?PHP phpinfo();?> tag will display a blank page on my
> browser.  I have tried running it through Apache version 1.3.24  (I must
> admit I don't really know what I'm doing or what this all means).  All I
> want to do is start using the PHP language with MySQL eventually.  Are there
> simpler ways to configure this?  I'm stuck!
>
> Thanks :o)
>
>
>
> --
> 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