Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.4.0

Bug #12840 wrong PHP-Version in dependency
Submitted: 2008-01-06 16:49 UTC
From: metz Assigned: jorrit
Status: Closed Package: Net_FTP (version 1.3.4)
PHP Version: 4.3.9 OS: CentOS 4.6
Roadmaps: 1.3.5, 1.4.0a2    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 1 + 36 = ?

 
 [2008-01-06 16:49 UTC] metz (Michael Metz)
Description: ------------ Used function ftp_alloc ( see http://pear.php.net/bugs/bug.php?id=10237 ) was introduced in PHP5 so that Net_FTP won't work on PHP 4.3.0 as mentioned in dependencies.

Comments

 [2008-01-06 17:07 UTC] neufeind (Stefan Neufeind)
"problem" was introducted in 1.3.3-release when bug #10237 was fixed. The patches included ftp_alloc(), which -according to the php-docs- is only available in php5. So at least the dep should have been raised to php5.x or some compat-function used maybe.
 [2008-01-07 14:13 UTC] jorrit (Jorrit Schippers)
I will make the call optional, such that it will still be PHP 4 compiant.
 [2008-01-08 18:17 UTC] jorrit (Jorrit Schippers)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.
 [2008-01-08 18:18 UTC] jorrit (Jorrit Schippers)
Is the problem solved? PHP_CompatInfo will still show PHP 5.0.0 as minimum version, but this function is masked properly now.