I added the following lines to my httpd.conf file:

ScriptAlias /php/ "c:/php/"
   AddType application/x-httpd-php .php
   Action application/x-httpd-php "/php/php.exe"

This is correct correct? <--LOL!!


Mark




"~Fanta~" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Have you enable the php function in the apache configuration(httpd.conf)?
>
> --
>
> "Mark" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I am fairly new to PHP and  just finished setting up Apache 1.3.22 and
PHP
> > 4.1.0 and can not get it to run correclty.  I first tried loading by
> module,
> > but after  trying that, apache would not load.  I then tried the CGI
> binary
> > mode and was able to get apache loaded correctly, but when I try and
load
> a
> > *.php file all I get is a blank browser window or it just opens and
> displays
> > the contents of the file.  I also tried running the the file at the DOS
> > prompt using c:\PHP php.exe filename.php and all I get is PHP.exe
showing
> > the contents of the file.  Is that correct??  Am I missing something in
> the
> > PHP.ini file??  Do I need to make additional changes to my Apache config
> > file??  Any input would be greatly appreciated.  Thanks in advance.
> >
> > Mark
> >
> >
>
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to