[PHP-INST] Apache on win2000 and PHP 4
by =?iso-8859-2?Q?Luk=E1=B9_Moravec?= other posts by this author
Aug 14 2002 9:09PM messages near this date
[PHP-INST] Re: php with mysql problem
|
[PHP-INST] Re: Apache on win2000 and PHP 4
Hi there,
I have a problem with apache for win2000 and PHP.
When I installed Apache, I tried to configure Apache. In Install manual
there are two ways :
First - inserting these lines into conf.file :
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
And setting a directive cgi.force_redirect to 1.
When I did it, I tested a javascript which is giving to script one =
variable (action="post", input name="variable") but script returned =
that this variable is not defined....
When I used other way the apache does not work but i do not know where
to insert these lines (in htconf)...
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
Same problem I had with IIS5 ... variables from any javascript form =
were not defined...
If you can help me ...do it please...
Moravec
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
=?iso-8859-2?Q?Luk=E1=B9_Moravec?=
xiaobo
|