Date: 09/17/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6737 Updated: gettype of 'user function' returns null"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6741 Updated: gettype of 'user function' returns null"
- In reply to: rubys <email protected>: "[PHP-DEV] Re: doc_root solution"
- Maybe reply: rubys <email protected>: "[PHP-DEV] Re: doc_root solution"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 07:44 AM 9/17/00 -0400, rubys <email protected> wrote:
>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.
OK great. I just didn't know enough about how the servlet works in order to
know if it's more like the Apache module or CGI. In your case it sounds as
if the Apache approach is the right one to take.
Andi
--- Andi Gutmans <andi <email protected>> http://www.zend.com/-- 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 #6737 Updated: gettype of 'user function' returns null"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6741 Updated: gettype of 'user function' returns null"
- In reply to: rubys <email protected>: "[PHP-DEV] Re: doc_root solution"
- Maybe reply: rubys <email protected>: "[PHP-DEV] Re: doc_root solution"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

