PHP version dependency problems, was need help with php.

John Levine johnl at iecc.com
Wed Oct 20 00:57:45 UTC 2010


>	compiled correctly.  Then, still nothing.  Typing "php" at a
>	root prompt outputs these warnings.  What's strange is that I
>	_thought_ I had mysql set up correctly.  

PHP has a bunch of version dependencies on other ports that the guy
who maintains the PHP port refuses to fix or even to document.  I sent
in two fixes for a pcre dependency, one of which was a one-line change
to the makefile to use the bundled pcre, the other of which was a
different one-line change to note the version depenency on the
separate pcre port.  He rejected them both, insisting that everyone
always keeps all their ports current.  That's absurd, but there's not
much to be done.

The failures were odd PHP bugs in packages like mediawiki that used
to work just fine.

So if you've built PHP on a system that's not freshly installed, I'd
suggest one of these to bring all the ports on which it depends up to
date.

# portupgrade -R php\*
# portmaster php\*

R's,
John


More information about the freebsd-questions mailing list