Mailinglisten-Archive |
> From: Roland Scheike <r.scheike_(at)_r2-net.de>
> Subject: Re: [php] Include-Path
>
> > >Im Manual steht, dass man folgendes mit PHP4 nicht mehr
> > >machen kann:
> > >..htaccess:
> > >php3_include_path
> >
> > Ja, das ist richtig. Du kannst aber das machen:
> > php_value include_path=.:/home/httpd/php-lib
> >
> > Siehe http://www.php.net/manual/configuration.php#ini.include-path
>
> Spitze !
>
> Danke,
> so klappt es !
>
> Roland
Nur so am Rande. Wer unter *nix den Apachen mal mit ./httpd -L (ruhig im
lfd. Betrieb) aufruft bekommt eine Auflistung aller
Konfigurationsdirektiven. Sofern mod_php laeuft sind auch alle PHP
Direktiven in exakter Schreibweise aufgefuehrt und was noch wichtiger
ist, wo man diese auch einsetzten kann, sprich .htaccess oder nur in der
httpd.conf. Fuer PHP4 sollte das wohl auch drin sein (so auf Verdacht
gesagt..). Eine kuerzere Auflistung gibt es fuer den der den internen
Apachehandler "server-info" aktiviert hat.
!!Auszug mod_php3!! aus ./httpd -L
php3_error_reporting (mod_php3.c)
error reporting level
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes Options
php3_doc_root (mod_php3.c)
directory
Allowed in *.conf anywhere
php3_user_dir (mod_php3.c)
user directory
Allowed in *.conf anywhere
php3_safe_mode_exec_dir (mod_php3.c)
safe mode executable dir
Allowed in *.conf anywhere
php3_include_path (mod_php3.c)
colon-separated path
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes Options
php3_auto_prepend_file (mod_php3.c)
file name
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes Options
php3_auto_append_file (mod_php3.c)
file name
Allowed in *.conf anywhere and in .htaccess
when AllowOverride includes Options
usw.
ps:
Anwender der Suchmaschine ht://dig sollten mal "php3_last_modified"
aktivieren, denn dann wird auch das Datum wieder mit ausgeworfen im
Suchergebnis. (Sofern man den Header nicht von Hand setzt)
Gruss
Joerg Behrens
--
Key fingerprint = 92 7D E0 A6 CF AE EC 32 14 28 EF 0D 57 2A 88 5B
----------------------------------------------------------------------
TakeNet GmbH Mobil: 0171/60 57 963
D-97080 Wuerzburg Tel: +49 931 903-2243
Alfred-Nobel-Straße 20 Fax: +49 931 903-3025
php::bar PHP Wiki - Listenarchive