php cannot find mysql libs and includes after portupgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



FreeBSD 5.2.1 and portupgraded mysql-client and server to 4.0.23a. Then
portupgrade -f lang/php4 and databases/php4-mysql. After this phpinfo()
and any php application using mysql no longer finds the include and lib
dirs and do not work.

>From phpinfo():
<snip>
extension_dir => /usr/local/lib/php/20020429
=> /usr/local/lib/php/20020429

<snip>

mysql

MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => 4.0.23a
MYSQL_MODULE_TYPE => none
MYSQL_SOCKET => /tmp/mysql.sock
MYSQL_INCLUDE =>
MYSQL_LIBS =>


but:

# ldd /usr/local/lib/php/20020429/mysql.so
/usr/local/lib/php/20020429/mysql.so:
        libmysqlclient.so.12
=> /usr/local/lib/mysql/libmysqlclient.so.12 (0x2815b000)
        libz.so.2 => /lib/libz.so.2 (0x2817e000)
        libcrypt.so.2 => /lib/libcrypt.so.2 (0x2818c000)
        libm.so.2 => /lib/libm.so.2 (0x281a5000)

mysql client itself connects without any problem, just php applications
cannot. Any ideas? Has anyone else come across this?

Sven

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux