LoadModule vs. action

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

a simple question regarding ways of loading php as a dll or an exe file
in httpd?
What is the difference of loading php as LoadModule php5_module
"C:\php\php5apache2_2.dll" or Action application/x-httpd-php
"/php/php-cgi.exe" or Action application/x-httpd-php "/php/php.exe".

Either way, what is the most preferable way and why?



Re: LoadModule vs. action

*** rallykarro@hotmail.com escribió/wrote (10 Aug 2006 12:49:10 -0700):
Quoted text here. Click to load it

LoadModule loads PHP as Apache module, while Action loads PHP as CGI

Quoted text here. Click to load it

The module version is supposed to offer performance benefits over good old
CGI interface.

-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com

Re: LoadModule vs. action

Kimmo Laine wrote:
Quoted text here. Click to load it

Unless next_page.php generates PHP, the script with this include will
only get HTML.

Quoted text here. Click to load it


    if (isset($_GET['foo'])) {
      echo '<?php echo $_GET[\'foo\']; ?>';
    } else {
      echo '<?php echo \'Not available\'; ?>';

File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Site Timeline