install of old version of php5-postgresql also installs newest mysql5?
ryandesign at macports.org
Tue Feb 9 21:22:05 PST 2010
On Feb 9, 2010, at 22:00, awmartin wrote:
> I'm attempting to install an older version of the php5-postgresql extension
> (v 5.3.0_2) using portfile found at
What's the matter with the current version? I guess you're trying to use PHP 5.3.0 instead of 5.3.1? If so, what's the matter with 5.3.1?
> When I download the Portfile and run 'sudo port install +postgresql83', the
> installer attempts to install the latest version of mysql5, which is version
> 5.1.42_0. I don't want this to happen, since I need MySQL version 5.0 for
Rails doesn't work with MySQL 5.1.x?
> I don't understand what the Postgre PHP extention has to do with MySQL.
Shouldn't have anything to do with it. Unless you are using php5 @5.3.0_1+mysql5 or earlier, in which case php5-postgresql depends on php5 which depends on mysql5 which therefore gets updated. php5 @5.3.0_2 moved database support out of the main php5 port and into separate ports like php5-mysql and php5-postgresql.
> can I do to install php5-postgresql without installing the newest version of
Use the -n switch.
sudo port -n install php5-postgresql +postgresql83
More information about the macports-users