PHP 4.3.4 ftp_rawlist null output

From: Date: Fri, 13 Feb 2004 20:48:10 +0000
Subject: PHP 4.3.4 ftp_rawlist null output
Groups: php.general 
Request: Send a blank email to php-general+get-177641@lists.php.net to get a copy of this message
Hi... I search about this and found different answers but not a clear one. Somebody talk about a PHP bug, other that it's solved in 4.3.4. I installer PHP 4.3.4 (without ftp-support) and Apache 2.0.48 on Solaris 8, the /tmp dir permission are 777. Time after that I compilled ftp.so module and included it in php.ini. Then I wrote a script (ftp.php) that connects OK, chdir OK, but when it try a ftp_rawlist the answer is "". I try the same script in RedHat linux PHP 4.3.4 compilled with the same parameters and worked OK (the only differece was that the module ftp.so was compilled and installed at the same time as the rest of the PHP was). BTW... what is the right way to add a module after the compilation is already done (I mean... doing a "make install" does not look good on a running production environment)? What could be the problem with the PHP on Solaris? In the FTP log I get this.. (the LIST command is never issued) 10.2.0.10 UNKNOWN nobody [13/Feb/2004:17:29:08 -0300] 10.2.0.10 "USER XXX@XXX.com.ar" 331 - 10.2.0.10 UNKNOWN XXX@XXX.com.ar [13/Feb/2004:17:29:08 -0300] 10.2.0.10 UPASS (hidden)" 230 - 10.2.0.10 UNKNOWN XXX@XXX.com.ar [13/Feb/2004:17:29:08 -0300] 10.2.0.10 "QUIT" 221 - but if I do the same on Linux it works ok: 10.2.0.11 "LIST /" 226 381 Any help will be welcome. -- Federico Petronio petrus@activesec.biz

« previous php.general (#177641) next »