Thank you, I found the line you were referring to, however I still have a
problem. My browser comes back with "page cannot be found". I created a
small test html file, put it in the same directory and it worked alright.
When I first add the action it couldn't find the extension dlls, but this
was due to my directory structure.

Here are some snippits fron my httpd.conf file

My Apache route is as follows
ServerRoot "C:/Program Files/Apache Group/Apache"

PHP is in C:/PHP

The IP address of this server on my network is:

My document root is (where I have been placing my test files) is:
DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs"

Should I have changed something in the following options?
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
    Options Indexes FollowSymLinks MultiViews

ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"
ScriptAlias /php/ "c:/php/"

# AddType allows you to tweak mime.types without actually editing it, or to
    # make certain files to be certain types.
    AddType application/x-tar .tgz
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .php3
    AddType application/x-httpd-php .phtml
    AddType application/x-httpd-php "/php/php.exe "

Action ( I presume I have put this in the right place)

# Action lets you define media types that will execute a script whenever
# a matching file is called. This eliminates the need for repeated URL
# pathnames for oft-used CGI file processors.
# Format: Action media/type /cgi-script/location
# Format: Action handler-name /cgi-script/location
Action application/x-httpd-php "./php/php.exe "

I hope that is not too much for you to look through .

"Dl Neil" <[EMAIL PROTECTED]> wrote in message
> Alex,
> > Sorry, I cant find this "Action line".
> =can't find it where? It's on the page number that I quoted for W&T's book
> (unless there's a new edition out?). If it's not in the conf file then it
> must be added - review p799 and around - they have a section about setting
> up Apache in one place, and then later when talking about setting up PHP
> they come back to making additions to Apache's conf file - some
> for confusion there if you think 'been there, done that'...
> If you mean the DLLs being copied to
> > the Windows\System directory, I have done that.
> =good stuff
> Is there a better tutorial
> > for installing Apache and PHP, and if so should I try to uninstall and
> start
> =there are many tutorials around. On the PHP site there is a page of
> Pick one, eg PHPBuilder, and then scout around for what you want.
> Alternatively, there's been plenty of discussion here on the lists
> more on PHP-General and PHP-Win, cf this one PHP-DB = really for
> database-related topics) so a charge through the archives will unearth
> treasures.
> > again. I could even reformat if necessary - all my backups on the server
> are
> > on a separate hardfile.
> =totally unnecessary to reformat.
> =have you tested 'pure Apache' by placing an HTML file in the/an
> folder and asking for it to be served through Apache (cf through the file
> system) - and did that work?
> =from this/the wrong end of the telescope, it sounds more like a conf
> for PHP than anything else (calling for refinement not brute force!)
> > I am running Apache 1.3.24 for Win32
> =a good vintage, if not the latest nouveau.
> =if you follow W&T's instructions and it still fails, come back with the
> relevant snippets from the conf file and we'll work from there.
> =dn
> > "Dl Neil" <[EMAIL PROTECTED]> wrote in message
> > 142701c29f16$204ba340$c900a8c0@jrbrown">news:142701c29f16$204ba340$c900a8c0@jrbrown...
> > > Alex,
> > >
> > > > I am trying to set up a test server to test updates before changing
> > > > uploaded pages. I have running Windows 98. I have Apache installed
> > > > running, and thought I have PHP installed properly. (Installed it as
> > > Welling
> > > > and Thomson). However when I try to run my test.php file which
> > give
> > > > phpinfo I get a message telling me that I am downloading a file from
> > > > localhost. I presume Apache is not recognising the file type.
> > > > I have added .php to the AddType application section of httpd.conf
> > >
> > >
> > > Since W&T published a ClearModuleList has been added to the Apache
> > > file. Make sure that your brave addition doesn't get 'undone'.
> (shouldn't
> > > there be an Action line too? p799)
> > >
> > > Also, you aren't running Apache 2.n.n are you?
> > > =dn
> > >
> >
> >
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >

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

Reply via email to