Re: [PHP] PHP in CGI ....php.in

2004-10-31 Thread Jonel Rienton
have you tried #!/usr/local/lib/php -c /home/mydomaine/www -- I not know English well, but I know 7 computer languages. On Oct 31, 2004, at 2:32 AM, Christian Ista wrote: where did you place your php.ini? In the root of my application in www. /home/mydomaine/www Thanks, Christian, -- PHP General M

Re: [PHP] PHP in CGI ....php.in

2004-10-31 Thread Christian Ista
> where did you place your php.ini? In the root of my application in www. /home/mydomaine/www Thanks, Christian, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP in CGI ....php.in

2004-10-30 Thread Jonel Rienton
Hi, where did you place your php.ini? regards, Jonel -- I not know English well, but I know 7 computer languages. On Oct 30, 2004, at 2:48 AM, Christian Ista wrote: #!/usr/bin/php -c /path/to/php.ini I tried this #!/usr/local/lib/php -c php.ini In the php.ini : register_globals = on but that's not

Re: [PHP] PHP in CGI ....php.in

2004-10-30 Thread Christian Ista
> #!/usr/bin/php -c /path/to/php.ini I tried this #!/usr/local/lib/php -c php.ini In the php.ini : register_globals = on but that's not work Any idea ? Christian, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP in CGI ....php.in

2004-10-29 Thread Greg Donald
On Fri, 29 Oct 2004 21:45:24 +0200, Christian Ista <[EMAIL PROTECTED]> wrote: > > php -c /path/to/php.ini > > Could you explain ?? This is how you specify which php.ini file to use with a cgi binary php. Is that not what you asked? When you use php as a cgi binary (not as mod_php) you can run p

Re: [PHP] PHP in CGI ....php.in

2004-10-29 Thread Christian Ista
> php -c /path/to/php.ini Could you explain ?? My php pages are in /home/mysite/www Thanks, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP in CGI ....php.in

2004-10-29 Thread Greg Donald
On Fri, 29 Oct 2004 21:14:27 +0200, Christian Ista <[EMAIL PROTECTED]> wrote: > Someone else told me it's possible to have a php.ini by website. Could you > tell me where put in and what in ? php -c /path/to/php.ini -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destine

[PHP] PHP in CGI ....php.in

2004-10-29 Thread Christian Ista
Hello, On a server with linux redhat and apache 1.3 I have PHP4 and 5 installed in CGI. In the php.ini, register_globals is set to off. I'd like for a website have this flag set to on,. I tried with a .htaccess file with this value in : php_flag register_globals on but that's not work. Some