|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23335 ftp_chdir crashes Apache 2
Submitted: 2003-04-24 11:43 UTC Modified: 2003-04-24 20:50 UTC
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:3 (100.0%)
From: lionelenkaoua at chez dot com Assigned:
Status: Not a bug Package: FTP related
PHP Version: 4CVS-2003-04-24 (stable) OS: XP
Private report: No CVE-ID: None
 [2003-04-24 11:43 UTC] lionelenkaoua at chez dot com
The execution of ftp_chdir() on windows Apache 2 with the latest PHP crashes Apache.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-24 11:56 UTC]
Please provide us a test script which uses some public
ftp site (like for example) so we can test
this ourselves too.

 [2003-04-24 12:10 UTC] lionelenkaoua at chez dot com
This simple connexion script crashes my apache.

$ftp = ftp_connect('my ftp server');
ftp_login($ftp, 'xx', 'xx');
ftp_chdir($ftp, '/'); // crashes

My ftp server is U-serv from RhinoSoftware. It's running under Windows
XP also.

Could you give login and password to test on
 [2003-04-24 12:14 UTC] lionelenkaoua at chez dot com
I have tested with login:anonymous and my email for the password and it also crashes my Apache :(

So it seems not to be related with my FTP server
 [2003-04-24 12:37 UTC]
Does not crash in Linux, so it's propably just win32 issue.

 [2003-04-24 12:57 UTC] lionelenkaoua at chez dot com

 [2003-04-24 13:03 UTC] lionelenkaoua at chez dot com
It's not a bug, my installation of php was not complete, because I forgot to replace php4ts.dll in my Apache bin/ directory when I changed my Php version.
 [2003-04-24 20:50 UTC]
Not a bug => Bogus 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC