Opened 14 years ago

Closed 13 years ago

#25757 closed defect (worksforme)

php5-ftp php5 5.3.2 upgrade disables ftp

Reported by: micrology Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: php5-ftp

Description

I did a 'port upgrade outdated' on an installation in which php5 and php5-ftp had previously been installed (and in which php5-ftp worked correctly). The effect was that php5 became configured without the --enable-ftp flag, and ftp functions were no longer available within php. To correct the problem, I had to force upgrade first php5-ftp and then php5. I guess that there maybe a sequencing issue here.

Change History (6)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to ryandesign@…
Port: php5-ftp added

Please remember to fill in the Port field and cc the maintainer.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Why do you mention php 5.2.3? The php5 ports are at version 5.3.2.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: php5-ftp php5.2.3 upgrade dis-enables ftpphp5-ftp php5 5.3.2 upgrade disables ftp

Nigel indicated by email that this is a typo and he meant 5.3.2.

Ok, so then the next question is why FTP didn't work for you when you installed php5-ftp and restarted your web server. I can't explain why. It is correct and intentional that installing just the php5 port will not give you FTP support, and that accordingly it does not use the --enable-ftp flag. The way to get FTP support in PHP is to then also install the php5-ftp port (this will add the PHP FTP extension and a text file telling PHP to load it) and restart your web server. You are certain this did not work?

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Is this still a problem with 5.3.9?

comment:5 Changed 13 years ago by micrology

I have just upgraded from 5.3.8 to 5.3.9 and all seems well. So the problem seems to have gone. Thank you.

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.