Add MySQL support to previously-installed (MacPorts) PHP4

Leez theleez at gmail.com
Thu Jan 13 15:53:32 PST 2011


Like a charm.  Thanks again.

On Thu, Jan 13, 2011 at 15:43, Ryan Schmidt <ryandesign at macports.org> wrote:

>
> On Jan 13, 2011, at 17:06, Leez wrote:
>
> > I have one last question for you.  To save disk space and keep things
> clean, I'd like to uninstall the non-mysql php4.  What is the best way to do
> this?  If I "sudo uninstall port php4", will it know that I'm referring to
> the first install solely by the omission of "+mysql5" and leave the current
> build of php4 alone?
>
> Try it out -- because you have more than one php4 installed, it should ask
> you to specify which one you want to uninstall:
>
>
> $ sudo port uninstall php4
> --->  The following versions of php4 are currently installed:
> --->      php4 @4.4.9_11+apache2
> --->      php4 @4.4.9_11+apache2+mysql5 (active)
> Error: port uninstall failed: Registry error: Please specify the full
> version as recorded in the port registry.
>
>
> Here's how you could uninstall the old one:
>
>
> $ sudo port uninstall php4 @4.4.9_11+apache2
> --->  Uninstalling php4 @4.4.9_11+apache2
> --->  Cleaning php4
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110113/85b19757/attachment.html>


More information about the macports-users mailing list