Re: [PHP] ini function like ini_set and ini_alter

2002-12-05 Thread Franco Pozzer
Thanks Jason. I use PHP as CGI in Win32 system because It is most stable like Apache module. I have make a same code PHP like this follow that I try ini_set and ini_aletr function instead of the -htaccess solution. The code that try it is this: $path"; echo ini_get("include_path"); echo""; e

Re: [PHP] ini function like ini_set and ini_alter

2002-12-05 Thread Jason Wong
On Thursday 05 December 2002 17:29, Franco Pozzer wrote: > > plaese write step by step how to do to confugure apache. > > remeber this. I work in Win32 system and PHp worh as CGI. I don't use PHP as CGI with Apache so I don't think I can help you here. But ... > I have created .htaccess like th

Re: [PHP] ini function like ini_set and ini_alter

2002-12-05 Thread Franco Pozzer
Thanks Janson. plaese write step by step how to do to confugure apache. remeber this. I work in Win32 system and PHp worh as CGI. I have created .htaccess like this: php_value auto_prepend_file="C:OPENFEDRA\Apache\htdocs\fedra\sv\cfg\systemvariables.php" and httpd.conf modify in this direct

Re: [PHP] ini function like ini_set and ini_alter

2002-12-05 Thread Franco Pozzer
Thanks Philip for the response. I can to write in step by step for to explain well my situation. 1. my application work fine in Win32 system but I must to executed it also in Linux and Mac env. It is possible. In Win32 in many case, I do not have Apache and PHP install. It is possible to have ot

Re: [PHP] ini function like ini_set and ini_alter

2002-12-04 Thread Philip Olson
Reread the docs here (the table): http://www.php.net/ini_set You cannot set this directive at runtime. Using .htaccess is as close as you'll get to that. I see no reason why using auto_prepend_file here would be better than include() as this is exactly what include() is for. Regards, Philip

Re: [PHP] ini function like ini_set and ini_alter

2002-12-04 Thread Jason Wong
On Thursday 05 December 2002 00:33, Franco Pozzer wrote: > Thanks for all. > > My end it is Apache 1.3.27 and PHP 4.3.2 in Win32 system NT 4.0. > > I have the php.ini auto_prepend_file like this: > auto_prepend_file="C:\OPENFEDRA\Apache\htdocs\fedra\sv\cfg\" > > All work fine with this configurati

[PHP] ini function like ini_set and ini_alter

2002-12-04 Thread Franco Pozzer
Thanks for all. My end it is Apache 1.3.27 and PHP 4.3.2 in Win32 system NT 4.0. I have the php.ini auto_prepend_file like this: auto_prepend_file="C:\OPENFEDRA\Apache\htdocs\fedra\sv\cfg\" All work fine with this configuration of the php.ini. For same reason I must to do not configure php.in