php cannot find mysql libs and includes after portupgrade

Sven Willenberger sven at dmv.com
Wed Feb 2 10:43:39 PST 2005


On Wed, 2005-02-02 at 11:55 -0500, Sven Willenberger wrote:
> 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.
> 

I found that downloading 4.3.9 and compiling from scratch (no ports
system) and building all the modules from scratch (no php-extensions)
solved the issue. Interestingly, building 4.3.10 from scratch did result
in the proper paths being found but no php scripts using mysql would
work. 4.3.9 on the other hand works fine. Not sure if this is an issue
with the ports/FreeBSD 5.3 version, or with php 4.3.10 but for now issue
solved/worked around.

Sven



More information about the freebsd-ports mailing list