New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21738 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

php5: open_basedir sometimes turns to garbage

Reported by: ryandesign@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: scott@…
Port: php5

Description

If you use open_basedir in php 5.3.0, its value randomly turns to garbage, causing PHP to issue a warning that you're trying to access files outside of that directory. If display_errors is on, this can also cause disclosure of server information to users.

This is  php bug 48880 which has already been fixed in the 5.3 branch in their repository but while we're waiting for 5.3.1 to be released we can patch it in the portfile.

The fix is in 5.3.1RC1 so php5-devel is not affected.

This problem was  reported on the mailing list by Scott Haneda.

Change History

Changed 2 years ago by ryandesign@…

  • status changed from new to closed
  • resolution set to fixed

Fixed in r58589.

Note: See TracTickets for help on using tickets.