[MacPorts] #37452: php: add mysql variants to ${php}-mysql subports
MacPorts
noreply at macports.org
Mon Dec 31 11:37:59 PST 2012
#37452: php: add mysql variants to ${php}-mysql subports
--------------------------+--------------------------
Reporter: pc@… | Owner: ryandesign@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: php |
--------------------------+--------------------------
Comment (by pc@…):
I've now got things working with mysqlsnd as you suggested. I have php54,
mysql5.5 and mod_mysql_auth working. Thanks for your speedy and helpful
response last night.
I don't think you have much space in Macports for comments about variants
but:
I think that the variant perhaps should be labelled - 'Use any Mysql
server on your system'. 'Native' in the Mac context means 'it's a Mac
thing' to me.
Two key bits of ignorance led me to believe that things were not working -
when they probably were:
'You may need to specify the socket address of the server in php.ini'.
I've never had to do this before for a PHP installation probably because
the dedicated people who make things work have always done it for me. The
error message from mysqli_connect is less than helpful (Cannot find file
or some such) and it takes a bit of time to realise that it cannot find
the socket.
and
'Phpinfo will not tell you the version of your server, and will report a
possibly a lesser version of mysql provided by the mysqlnd client
library'. This fooled me into thinking that things were not working - when
they were.
Thanks for all that you do BTW.
--
Ticket URL: <https://trac.macports.org/ticket/37452#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list