Opened 15 years ago
Closed 15 years ago
#21738 closed defect (fixed)
php5: open_basedir sometimes turns to garbage
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
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 (1)
comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed in r58589.