[MacPorts] #24835: php5-zip 5.3.2 Error: php5-zip 5.3.2 requires PHP 5.3.2 but you have PHP 5.3.0.

MacPorts noreply at macports.org
Wed May 12 10:54:35 PDT 2010


#24835: php5-zip 5.3.2 Error: php5-zip 5.3.2 requires PHP 5.3.2 but you have PHP
5.3.0.
---------------------------------------------------+------------------------
  Reporter:  absolutelyunderstandguitar@…          |       Owner:  macports-tickets@…                   
      Type:  defect                                |      Status:  closed                               
  Priority:  Normal                                |   Milestone:                                       
 Component:  ports                                 |     Version:  1.8.2                                
Resolution:  invalid                               |    Keywords:                                       
      Port:  php5-zip                              |  
---------------------------------------------------+------------------------

Comment(by absolutelyunderstandguitar@…):

 Ah, thanks for the clarification on use of port installed versus port info
 - my bad!

 Prior to receiving the error I had just run sudo port selfupdate and sudo
 port upgrade outdated, and as jmr at macports.org points out the debug output
 suggests php5 5.3.2 was already installed.

 During my uninstall reinstall attempts, I mentioned it took me a couple of
 times to get it to work, it seemed like there was some sort of cache
 giving out old information, and it wasn't until I had run sudo port
 uninstall php5 and sudo port clean --all php5 a few times that it then let
 me install php5 without error. One of the issues was that it wouldn't
 allow me to install php5 with the apache2 variant because of the presence
 of the old mod_conf.php file - which indicated to me that sudo port
 uninstall apache2 didn't appear to delete any files - I expected sudo port
 uninstall apache2 to delete the apache2 folder and files.

 Anyway not sure if any of that is relevant, and apologies again for my
 ignorance. I've read the MacPorts guide but I'm still unclear exactly what
 is happening behind the scenes. Thanks for taking the time to respond,
 much appreciated.

 Replying to [comment:2 ryandesign@…]:
 > Replying to [ticket:24835 absolutelyunderstandguitar@…]:
 > > Error: php5-zip 5.3.2 requires PHP 5.3.2 but you have PHP 5.3.0.
 >
 > Correct.
 >
 > > But when I run port info php5, it suggests I am using 5.3.2, and
 outputs:
 >
 > "port info" tells you what version is available, not what version is
 installed. "port installed php5" would tell you what version is installed,
 which based on the error message must be a version of 5.3.0.
 >
 > Replying to [comment:1 absolutelyunderstandguitar@…]:
 > > Well, I don't understand what was causing the problem, but I managed
 to fix it by uninstalling php5 and apache2 ports, cleaning and then
 reinstalling both and then installing php5-zip. It took a couple of
 attempts but eventually it worked. Fingers crossed.
 >
 > By uninstalling php5 and reinstalling, you now got 5.3.2.
 >
 > In the future, you will want to regularly make use of "sudo port
 selfupdate" to get updated port definitions and "sudo port upgrade
 outdated" to upgrade any outdated ports.

-- 
Ticket URL: <http://trac.macports.org/ticket/24835#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list