OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005134 [php5_ftp] packaging block always 2013-12-13 19:02 2014-09-08 17:23
Reporter dcarpene View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0005134: php5_ftp install succeeds, however ftp_connect() undefined
Description Hi - I'm getting the following:

[13-Dec-2013 17:36:36 UTC] PHP Fatal error: Call to undefined function ftp_connect() in /opt/csw/apache2/share/htdocs/akamaiUpload/upload.php on line 21

... even though I've got the following installed:

# /opt/csw/bin/pkgutil -i php5_ftp
Solving needed dependencies ...
Solving dependency order ...
18 CURRENT packages:
        CSWcacertificates-20120511,REV=2012.05.11
        CSWcas-migrateconf-1.47,REV=2012.02.14
        CSWcas-preserveconf-1.42,REV=2010.11.26
        CSWcommon-1.5,REV=2010.12.11
        CSWiconv-1.14,REV=2011.08.08
        CSWlibcharset1-1.14,REV=2011.08.07
        CSWlibexpat1-2.0.1,REV=2011.07.15
        CSWlibiconv2-1.14,REV=2011.08.07
        CSWlibicudata48-4.8.1,REV=2011.10.25
        CSWlibicui18n48-4.8.1,REV=2011.10.25
        CSWlibicuio48-4.8.1,REV=2011.10.25
        CSWlibicuuc48-4.8.1,REV=2011.10.25
        CSWlibssl0-9-8-0.9.8y,REV=2013.03.08
        CSWlibxml2-2-2.7.8,REV=2011.03.24
        CSWlibz1-1.2.7,REV=2012.06.14
        CSWphp5-5.3.9,REV=2012.01.25
        CSWphp5-ftp-5.3.9,REV=2012.01.25
        CSWzlib-1.2.7,REV=2012.06.14

Nothing to do.

... install was successful:

# /opt/csw/bin/pkgutil -i php5_ftp
Solving needed dependencies ...
Solving dependency order ...
17 CURRENT packages:
        CSWcacertificates-20120511,REV=2012.05.11
        CSWcas-migrateconf-1.47,REV=2012.02.14
        CSWcas-preserveconf-1.42,REV=2010.11.26
        CSWcommon-1.5,REV=2010.12.11
        CSWiconv-1.14,REV=2011.08.08
        CSWlibcharset1-1.14,REV=2011.08.07
        CSWlibexpat1-2.0.1,REV=2011.07.15
        CSWlibiconv2-1.14,REV=2011.08.07
        CSWlibicudata48-4.8.1,REV=2011.10.25
        CSWlibicui18n48-4.8.1,REV=2011.10.25
        CSWlibicuio48-4.8.1,REV=2011.10.25
        CSWlibicuuc48-4.8.1,REV=2011.10.25
        CSWlibssl0-9-8-0.9.8y,REV=2013.03.08
        CSWlibxml2-2-2.7.8,REV=2011.03.24
        CSWlibz1-1.2.7,REV=2012.06.14
        CSWphp5-5.3.9,REV=2012.01.25
        CSWzlib-1.2.7,REV=2012.06.14
Install 1 NEW packages:
        CSWphp5-ftp-5.3.9,REV=2012.01.25 (opencsw/testing)
Total size: 31.9 KB
=> Fetching CSWphp5-ftp-5.3.9,REV=2012.01.25 (1/1) ...

=> Installing CSWphp5-ftp-5.3.9,REV=2012.01.25 (1/1) ...

Processing package instance <CSWphp5-ftp> from </var/opt/csw/pkgutil/packages/php5_ftp-5.3.9,REV=2012.01.25-SunOS5.9-sparc-CSW.pkg>

php5_ftp - The ftp extention for PHP5
(sparc) 5.3.9,REV=2012.01.25
Please see /opt/csw/share/doc/php5_ftp/license for license information.
## Processing package information.
## Processing system information.
   6 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

Installing php5_ftp - The ftp extention for PHP5 as <CSWphp5-ftp>

## Installing part 1 of 1.
/opt/csw/php5/lib/php/extensions/no-debug-non-zts-20090626/ftp.so
/opt/csw/share/doc/php5_ftp/license
[ verifying class <none> ]
Modifying /opt/csw/php5/extensions/ftp
[ verifying class <build> ]

Installation of <CSWphp5-ftp> was successful.

... and apache was restarted after the package was installed.

phpinfo() shows '--enable-ftp=shared' in the configure command. However I don't see a "FTP support enabled" section below (which I do have on my OS X installation).

Any ideas was I should be doing on this one ? Running on solaris 9/sparc.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010897)
dam (administrator)
2014-09-08 17:23

I just verified with
  CSWphp5-ftp php5_ftp - The ftp extention for PHP5
               (sparc) 5.3.28,REV=2014.09.08
and get on phpinfo()
  Registered PHP Streams => compress.zlib, php, file, glob, data, dict, ftp, ftps, gopher, http, https, imap, imaps, pop3, pop3s, rtsp, smtp, smtps, telnet, tftp


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker