Question

So I'm trying to install the PDO drivers via Macports. I am using install php5-mysql, but when I hit enter I get

usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
           [-o owner] file1 file2
   install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
           [-o owner] file1 ... fileN directory
   install -d [-v] [-g group] [-m mode] [-o owner] directory ...

I'm not really sure were to go from here. Any ideas?

Was it helpful?

Solution

From your question, it appears that you are using another (possibly built-in) install command rather than the MacPorts command port install.

According to the documentation, you may need to use sudo in front of the port install command, as well, like this:

sudo port install ...

(where ... is the name of what you are going to install via MacPorts)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top