[php5_ftp 0005134]: php5_ftp install succeeds, however ftp_connect() undefined

Mantis Bug Tracker via bug-notifications bug-notifications at lists.opencsw.org
Fri Dec 13 19:02:52 CET 2013


The following issue has been SUBMITTED. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5134 
====================================================================== 
Reported By:                dcarpene
Assigned To:                
====================================================================== 
Project:                    php5_ftp
Issue ID:                   5134
Category:                   packaging
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-12-13 19:02 CET
Last Modified:              2013-12-13 19:02 CET
====================================================================== 
Summary:                    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.
======================================================================



More information about the bug-notifications mailing list