pit: PHP-installation. Zeile mit #!d:\php\php.exe notwendig??

Beitrag lesen

Guten Morgen Joe,

Die PHP-Skripte laufen, aber ich muss wie bei Perl in der 1. Zeile >olgendes eingeben:
#!d:\php\php.exe

PHP muss als Modul laufen.

[Auszug aus meiner http.conf]

AddType allows you to tweak mime.types without actually editing it, or to

# make certain files to be certain types.
    #
    # For example, the PHP 3.x module (not part of the Apache distribution - see
    # http://www.php.net) will typically use:
    #
    #AddType application/x-httpd-php3 .php3
    #AddType application/x-httpd-php3-source .phps
    #
    # And for PHP 4.x, use:
    #
    AddType application/x-httpd-php .php .phtml .php3
    AddType application/x-httpd-php-source .phps

LoadModule php4_module C:/Programme/PHP/PHP4.0.6/sapi/php4apache.dll

#pit