Add MySQL support to previously-installed (MacPorts) PHP4
Ryan Schmidt
ryandesign at macports.org
Thu Jan 13 15:43:27 PST 2011
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
More information about the macports-users
mailing list