That's not a bad idea. Unfortunately the php5extension portgroup does not yet offer the capability for the port to modify its ini file.
The ini file is created by the portgroup in the post-destroot phase. Currently the php5-mysql port just prints a message telling the user to set these php. Sorry, I just posted this and randomly found this ticket. Am I wrong in that this is as simple as just putting the compile options to php5 and Mysql5 to share the same socket path for defaults? This to me, would always be better than needing to edit any config file.
I do not want to force the user to edit a file. In the mean time, you can set the socket location in php. Related to Replying to ryandesign … :. Sorry, I was not aware of that. I did try to search out the past revisions of a port and see if I could figure out what is going on.
I do think you are correct, that there just needs to be some config args set to the php side of things, then it will go clean. Duplicate of Opened 12 years ago Closed 12 years ago. Description Can we start some discussion on this, I see this as being painful for MacPorts users. As it is now, if I were to port install php5 port install mysql5 port install apache2 There is a good deal of work to be done before I am able to use those tools.
This page shows how to install and use the mysql56 port, but you can use another version if you prefer; all of these ports use a similar directory layout. For MySQL 5. You will first be prompted for your existing password Enter password: ; enter the root password auto generated or no entry depending on your MySQL version then press Return. With disabled networking it is possible to install and have running all the MacPorts mysql ports simultaneously.
0コメント