Date: 09/17/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6781 Updated: Error in mktime() funtion (Serious???)"
- Previous message: georgewu <email protected>: "Re: [PHP-DEV] PHP 4.0 Bug #6779: Apache crashes on start-up"
- Reply: Andi Gutmans: "[PHP-DEV] Re: doc_root solution"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Andi Gutmans wrote:
>
> PHP's "root directory" on the server. Only used
> if non-empty and PHP is in CGI or Java servlet
> mode." PHP will open the main script according to
> doc_root and PATH_INFO and not PATH_TRANSLATED.
>
> I'm cc'ing Egon so that he can make the documentation
> changes and Sam Ruby to find out why servlets use
> php_fopen_primary_script(). Are they like CGI's?
Servlets use php_fopen_primary_script() because (a) I'm lazy and "borrowed"
the code from cgi, and (b) I had problems when PHP was prone to change my
working directory on my. (b) has been solved by the virtual directory
support (Thanks Andi!), and taking a quick peek at the sapi_apache, I can
certainly use that approach instead.
- Sam Ruby
-- 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: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6781 Updated: Error in mktime() funtion (Serious???)"
- Previous message: georgewu <email protected>: "Re: [PHP-DEV] PHP 4.0 Bug #6779: Apache crashes on start-up"
- Reply: Andi Gutmans: "[PHP-DEV] Re: doc_root solution"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

