php5-mysql and disabling mysqlnd

Philippe lists at
Sat Oct 30 16:54:48 UTC 2010


Recent databases/php5-mysql and databases/php5-mysql introduce the
availability to enable/disable mysqlnd.

With ports updated today (10/30/2010), despite having to specify to
disable the library mysqlnd, compiling php5-mysql still active it :

php -m

[PHP Modules]

The standard php5-mysql api does not seem to load properly, our webapps
that use this api break with php messages :
PHP Fatal error:  Call to undefined function mysql_connect() in

Is there any clues to resolve this problem ?

Some more infos which may help :

cat /var/db/ports/php5-mysql/options
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for php5-mysql-5.3.3_2

uname -srm : FreeBSD 8.1-RELEASE-p1 amd64
php port version : php5-5.3.3_2
apache port version : apache-2.2.17_1

php --ini output :
Configuration File (php.ini) Path: /usr/local/etc
Loaded Configuration File:         /usr/local/etc/php.ini
Scan for additional .ini files in: /usr/local/etc/php
Additional .ini files parsed:      /usr/local/etc/php/extensions.ini

empty /usr/local/etc/php.ini

cat /usr/local/etc/php/extensions.ini


More information about the freebsd-ports mailing list