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 [EMAIL PROTECTED]" 331 -
10.2.0.10 UNKNOWN [EMAIL PROTECTED] [13/Feb/2004:17:29:08 -0300] 10.2.0.10 UPASS (hidden)" 230 -
10.2.0.10 UNKNOWN [EMAIL PROTECTED] [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 [EMAIL PROTECTED]
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php