| Summary: | lang/php5: php 5.3.3_2 uses wrong pcre library, causing php web sites to fail | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | freebsd |
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->ale ports PR. State Changed From-To: open->closed Update your pcre port. |
port of php 5.3.3_2 builds and installs OK, but web sites fail with pcre errors, e.g. in mediawika, traceback shows Internal pcre_fullinfo() error Fix: In lang/php5/Makefile, change --with-pcre-regex=${LOCALBASE} \ to --with-pcre-regex and rebuild and reinstall phpinfo now reports pcre version 8.02 2010-03-19 which works; previously reported an older version (which, of course, I forgot to write down) It's possible it would be better to adjust the Makefile to require devel/pcre to be a new enough version, but I didn't check. How-To-Repeat: install pcre 5.3.3_2, apache 2, and mediawiki and try any mediawiki page