Re: Q on parts of PHP?Apache setup...
| From: | Jim | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Q on parts of PHP?Apache setup... | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20988@lists.php.net to get a copy of this message | ||
This subject has come up on PHPBuilder site previously and it looks like
they might have solved the question. Check out:
http://www.phpbuilder.com/board/showthread.php?threadid=10242264
and see if there is information there that helps you out. It looks to me
like there are 2 different DLLs depending on which method of use you are
using, and this would make sense to me because there are different methods
of hadeling the data. In any even, this thread should help you out.
Jim
-------Original Message-------
From: jsWalter
Date: Saturday, August 02, 2003 10:12:44
To: php-windows@lists.php.net
Subject: [PHP-WIN] Q on parts of PHP?Apache setup...
These are the config commands I have for PHP under Apache...
LoadFile "/etc/php/php4ts.dll"
Action application/x-httpd-php "/etc/php/php.exe"
LoadFile "/etc/php/gnu_gettext.dll"
LoadModule php4_module "/etc/php/sapi/php4apache2.dll"
ScriptAlias /php/ "/etc/php/"
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288
</Files>
I understand that PHP can run in 2 different modes...
- CGI
- SAPI
What I don't see is how to configure Apache to do one or the other.
Would some kind soul please take the above conf lines (or add/remove as you
saee fit) and give me series for CGI and the series for SAPI.
I've looked for this info and just haven't found it (oh, its out there, I'm
just looking in the right places).
Thanks
Walter
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.