Date: 04/10/00
- Next message: oliver.fuerniss <email protected>: "[PHP-DEV] PHP 4.0 Bug #4093: Canīt compile with Servlet and Oracle support"
- Previous message: Flavien LEBARBE: "[PHP-DEV] VIRTUAL_DIR problem : initialization of cwd"
- In reply to: Flavien LEBARBE: "[PHP-DEV] VIRTUAL_DIR problem : initialization of cwd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Flavien,
Can you please update your CVS tree and see if things have improved? (Of
course use VIRTUAL_DIR)
Thanks,
Andi
On Mon, 10 Apr 2000, Flavien LEBARBE wrote:
> Hi,
>
> Using latest cvs of php4 as an apache module on my linux box,
> with VIRTUAL_DIR enabled in php.h :
>
> script :
> <?php
> echo 'getcwd()='.getcwd()."\n";
> ?>
> output :
> getcwd()='/'
>
> I discovered this because a lot of functions (fopen, ImageCreateFromPNG...)
> have the virtual_cwd set to /, and therefore relative paths don't
> work anymore ! :-(
> One has to use absolute paths, which is pretty annoying, and
> breaks a lot of scripts (including mine :) ).
> (With VIRTUAL_DIR undefined, it works just fine)
>
> Is it meant to be that way ? (ouch !)
> Or does it just need some fixing from some php-apache-internals guru ? :)
>
>
> BTW, since this behaviour is in cvs for a bit more than 24 hours
> now, I wonder how many people are actually really testing the
> cvs...... :-?
>
> Flavien Lebarbé.
>
-- 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: oliver.fuerniss <email protected>: "[PHP-DEV] PHP 4.0 Bug #4093: Canīt compile with Servlet and Oracle support"
- Previous message: Flavien LEBARBE: "[PHP-DEV] VIRTUAL_DIR problem : initialization of cwd"
- In reply to: Flavien LEBARBE: "[PHP-DEV] VIRTUAL_DIR problem : initialization of cwd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

