I'm trying to install php 5.4.5 on apache and it failed with the following error when I test it:
searching google turns out a bug listed on php.net
but it looks as mysqlnd already checked in the make config .
it also adds the corresponding extensions in my /usr/local/etc/php/extensions.ini
php info file shows:
Steps I did:
anyone knows what I can try please?
Code:
# php
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/pdo_mysql.so' - /usr/local/lib/php/20100525-debug/pdo_mysql.so: Undefined symbol "mysqlnd_debug_std_no_trace_funcs" in Unknown on line 0
searching google turns out a bug listed on php.net
When building the MySQL extensions you explicitly have to enable mysqlnd. i.e. --enable-mysqlnd=shared. If you build mysqlnd shared you have to remember to load it, too.
but it looks as mysqlnd already checked in the make config .
it also adds the corresponding extensions in my /usr/local/etc/php/extensions.ini
Code:
extension=pdo.so
extension=pdo_mysql.so
php info file shows:
Code:
Environment:
PWD /usr/ports/databases/php5-pdo_mysql
PDO drivers - sqlite
PDO Driver for SQLite 3.x - SQLite Library 3.7.13
Steps I did:
Code:
[/usr/ports/lang/php5]# make install clean
[/usr/ports/database/php5-pdo]# make install clean
[/usr/ports/database/php5-pdo_mysql]# make install clean
[/]# apachectl stop
[/]# apachectl start
anyone knows what I can try please?
Code:
#uname -a
FreeBSD 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 01:47:53 UTC 2012 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
Code:
#php -v
PHP 5.4.5 (cli) (built: Aug 6 2012 21:59:58) (DEBUG)