> Be sure to include the OS, filesystem type and the configure line
> in the report, cause there seems to be something system dependent
> causing it since the script you posted earlier worked fine on my
> system.
Thanks for your help. I appreciate it.
--
PHP General Mailing List (http://www.php.
On Thu, Dec 22, 2005 at 02:41:40PM -0700, jgmtfia Mr wrote:
> > > I just ran the test with php4 cli and it works correctly.
> > > PHP 4.3.10-15 (cli) (built: May 9 2005 08:54:56)
> > >
> > > But with php5 cli and apache2 module it does not:
> > > PHP 5.1.0b3 (cli) (built: Oct 18 2005 16:13:19)
> >
> > I just ran the test with php4 cli and it works correctly.
> > PHP 4.3.10-15 (cli) (built: May 9 2005 08:54:56)
> >
> > But with php5 cli and apache2 module it does not:
> > PHP 5.1.0b3 (cli) (built: Oct 18 2005 16:13:19)
> > PHP 5.1.0 apache module
>
> The versions I ran the tests were on:
>
On Thu, Dec 22, 2005 at 08:29:53AM -0700, jgmtfia Mr wrote:
> > Thank you for checking on this.
> >
> > I am using debain stable with a 2.6.14.3 kernel. The filesystem in
> > question is ext2 on a 48 MB ramdisk.
> >
> > I also did the following on another machine using ext2 on a harddisk
> > with
> Thank you for checking on this.
>
> I am using debain stable with a 2.6.14.3 kernel. The filesystem in
> question is ext2 on a 48 MB ramdisk.
>
> I also did the following on another machine using ext2 on a harddisk
> with command line php.
I just ran the test with php4 cli and it works correctl
> > The loop then continues forever with file_exists() returning true, but
> > unlink() returns false with the error message "Warning:
> > unlink(/config1/C) [function.unlink]: No such file or directory in
> > /www/script.php on line 10"
>
> This might be an issue with the OS or Filessystem. The c
On Wed, Dec 21, 2005 at 11:27:23AM -0700, jgmtfia Mr wrote:
> I have a directory with the files:
> /config/A
> /config/B
> and
> /config/C is a symlink to /config/A.
>
> Via php I unlink /config/C:
>
> $FILE = '/config/C';
> while(file_exists($FILE)){
>
I have a directory with the files:
/config/A
/config/B
and
/config/C is a symlink to /config/A.
Via php I unlink /config/C:
$FILE = '/config/C';
while(file_exists($FILE)){
unlink($FILE);
clearstatcache();
}
When run,
8 matches
Mail list logo