Date: 01/19/01
- Next message: szii <email protected>: "[PHP-DEV] PHP 4.0 Bug #8811 Updated: DB2 SQLColumns() doens't work by default."
- Previous message: Mike Robinson: "RE: [PHP-DEV] Undefined Versioned Symbol"
- In reply to: Jason Greene: "[PHP-DEV] Re: shebang through suid-wrapper (execv)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jason, thanks alot!
Should this be documented somewhere, anyone?
Regards, Johan
> Your problem has to do with the combination of your suexec-like
> cgi-wrapper and the
> detection algorythem implied in php. CGI mode of php detects your
> webserver by looking at
> various environment rules (eg. SERVER_SOFTWARE). When you a cgi
> is executed by
> the webserver (ex. wrapper.cgi), PATH_TRANSLATED and/or
> SCRIPT_FILENAME is
> set by the webserver to point to the script you just executed,
> which is wrapper.cgi. PHP sees this
> and then decides to execute wrapper.cgi. All you need to do to
> fix your problem is set
> PATH_TRANSLATED to the name of the script you want to run.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: szii <email protected>: "[PHP-DEV] PHP 4.0 Bug #8811 Updated: DB2 SQLColumns() doens't work by default."
- Previous message: Mike Robinson: "RE: [PHP-DEV] Undefined Versioned Symbol"
- In reply to: Jason Greene: "[PHP-DEV] Re: shebang through suid-wrapper (execv)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

