Prachait,

You were like Ronaldo, player of Brazilian soccer that
acts in the Real Madri of the Espanish: you made a
great goal!

Thanks very much for this help me!

Next, I write a step-by-step explaining how I solved
my problem. I believe that this procedure can help
other users.

I solve the problem adding php as a Module of Apache.

Once PHP 4.2.3 is incompatible with the Apache 2.0.43,
due to a bug in php4apache2.dll, I made the following,
to solve this problem:

First, I downloaded the php4-win32-STABLE-latest.zip
from

http://ftp.proventum.net/pub/php/win32-snapshots/php4-win32-STABLE-latest.zip

Unzip it and extract the php4apache2.dll (only it) in
the directory C:\php\sapi

Replace it, if necessary.

Insert the two lines

LoadModule php4_module c:phpsapiphp4apache2.dll
AddType application/x-httpd-php .php

at the end of httpd.conf file.

Notes:

1. Apache 2.x for win32 is sensitive to "\" and "/".

2. I tested it in Win2K Workstation, Apache 2.0.43,
PHP 4.2.3, and MySQL 3.23.52.

I don't guarantee that this will solve other problems
similar to mine. Follow this example for his/her bill
and risk.

Jaboticabal-SP, Brazil, November, 8, 2002.

I am sorry, but my english is not good.


 --- Prachait Saxena <[EMAIL PROTECTED]>
escreveu: > The php_value only works when php is added
in apache
> as a Module not as 
> Intrepruter.
> Please check  it as who php is added as Module or
> php.exe
> 
> Prachait
> 
> Marcelo laia wrote:
> 
> > Hi list,
> > 
> > I am trying to configure a site (gallery) and I am
> not
> > getting to obtain success.
> > 
> > When inserting the instruction,
> > 
> > <Directory "C:\webdoc\gallery">
> > AllowOverride Options FileInfo Index
> > </Directory>
> > 
> > in httpd.conf of the Apache 2.0.43, I receive the
> > following error
> > in the log of the Apache:
> > 
> > [Thu Nov 07 16:17:08 2002] [alert] [client
> 127.0.0.1]
> > C:/webdoc/gallery/setup/.htaccess: Invalid command
> > 'php_value', perhaps mis-spelled or defined by the
> > modulate not included in the server configuration,
> > referer: http://localhost/gallery/
> > 
> > The lines of mine .htaccess are transcribed next:
> > 
> > [line 1] php_value auto_prepend_file
> php_value_ok.php
> > [line 2] php_flag magic_quotes_gpc off
> > 
> > [line 3] Options FollowSymLinks
> > [line 4] <IfModule mod_rewrite.c>
> > [line 5] RewriteEngine On
> > [line 6] RewriteRule ^(index.php)
> > $index.php?init_mod_rewrite=1&ersandbroken = [QSA]
> > [line 7] </IfModule>
> > 
> > Where can the error will be??
> > 
> > Any sugestion will be very apreciated?
> > 
> > Thanks
> > 
> > Marcelo
> > From Brazil

_______________________________________________________________________
Yahoo! GeoCities
Tudo para criar o seu site: ferramentas fáceis de usar, espaço de sobra e acessórios.
http://br.geocities.yahoo.com/

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

Reply via email to