On 4/24/06, Mark Cullen <[EMAIL PROTECTED]> wrote: > Is there some way to change what version of MySQL the php-mysql > extension uses? It wants to use MySQL 5, but I would actually like to > stick with using MySQL 4 for now, if possible! I looked around a bit but > couldn't seem to find any options anywhere.
>From /usr/pkgsrc/mk/mysql.buildlink3.mk: MYSQL_VERSION_DEFAULT?= 50 MYSQL_VERSIONS_ACCEPTED?= 50 41 I would just set MYSQL_VERSION_DEFAULT=41 in /etc/mk.conf. I haven't *tested* this, since I abhor both PHP and MySQL, but pkgsrc is so disturbingly flexible I wouldn't be surprised if that's all it takes. -- Dmitri Nikulin
