Multiple php.ini files.

John Salatas john at csn.gr
Fri Oct 25 13:52:01 EEST 2002


On Friday 25 October 2002 13:07, Kekes Stamatis wrote:
>  Geia xara,
>  Se enan server me apache-1.3.26 kai mod_php apo php-4.1.2 statical
> linked exo ftiaksei ena php.ini pou na exei register globals Off gia
> kapoio programma pou to xreiazotan. Kapoio allo omos pou idi ypirxe kai
> xreiazotan tis globals arxise na ksernaei kalapodia ( tou styl oti to
> username einai adeio )molis energopoiisa tis globals den trexei to proto.
> I lisi einai na exo dyo php.ini arxeia. Kserei kaneis sas mipos ton
> tropo na to kano xoris na exo dyo versions apache sikomenes epano ??
>  Filika
>   Stamatis
>   http://www.kosmoslink.gr
>   mailto:skekes at kosmoslink.gr
Mporeis na to kaneis sto configuration file tou apache:
<VirtualHost xxx.xxx.xxx.xxx>
...
php_value register_globals On
...
</VirtualHost>
kai antistoixa
<VirtualHost yyy.yyy.yyy.yyy>
...
php_value register_globals Off
...
</VirtualHost>
kai na afiseis to php.ini stin isixia tou ;-)



More information about the Linux-greek-users mailing list