Apache/SSL und PHP3

Andre Landwehr andre.landwehr at gmx.net
Mon Aug 11 11:26:17 CEST 2003


On Mon, Aug 11, 2003 at 11:11:02AM +0200, Frank Matthieß wrote:
> Wenn ich nun in den php3 Scripten kein Shellbang ala #!/usr/bin/php3
> eintrage, dann meckert Apache:
> 
> [Mon Aug 11 10:57:31 2003] [error] (8)Exec format error: exec of /usr/lib/cgi-bin/status.php3 failed
> [Mon Aug 11 10:57:31 2003] [error] [client 10.10.1.2] malformed header from script. Bad header=Launching... /usr/lib/apache-s: /usr/lib/cgi-bin/status.php3
> 
> Mit Shellbang geht es...

das ist klar, weil es in dem Moment ganz normale CGI Scripte mit
einem Interpreter deiner Wahl in der ersten Zeile sind...

> Wird in jedem Fall /usr/bin/php3 ausgeführt oder führt das
> Apacheservermodul libphp3.so die Scripte direkt aus?

letzteres sollte der Fall sein, sofern du ihm in der
Konfiguration gesagt hast, daß PHP der Handler für dieses
Verzeichnis / diesen Dateityp ist.

Andre

> -- 
> Linux mailing list Linux at lug-owl.de
> subscribe/unsubscribe: http://lug-owl.de/cgi-bin/mailman/listinfo/linux
> Hinweise zur Nutzung: http://www.lug-owl.de/Mailingliste/hints.epo




More information about the Linux mailing list