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

Reply via email to