Date: 04/10/00
- Next message: Andi Gutmans: "[PHP-DEV] Re: VIRTUAL_DIR problem : initialization of cwd"
- Previous message: klaus.rothert <email protected>: "[PHP-DEV] Bug #4092: wrong informix error message, -100 instead of 100"
- In reply to: Andi Gutmans: "[PHP-DEV] CVS users"
- Next in thread: Andi Gutmans: "[PHP-DEV] Re: VIRTUAL_DIR problem : initialization of cwd"
- Reply: Andi Gutmans: "[PHP-DEV] Re: VIRTUAL_DIR problem : initialization of cwd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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é.
-- Flavien LEBARBE OPEN CARE Support for Freedom mailto:flebarbe <email protected> http://www.ocare.com Tel:+33 141430890 Fax:+33 141430891-- 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: Andi Gutmans: "[PHP-DEV] Re: VIRTUAL_DIR problem : initialization of cwd"
- Previous message: klaus.rothert <email protected>: "[PHP-DEV] Bug #4092: wrong informix error message, -100 instead of 100"
- In reply to: Andi Gutmans: "[PHP-DEV] CVS users"
- Next in thread: Andi Gutmans: "[PHP-DEV] Re: VIRTUAL_DIR problem : initialization of cwd"
- Reply: Andi Gutmans: "[PHP-DEV] Re: VIRTUAL_DIR problem : initialization of cwd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

