Summary: | PHP cli startup warns mm_create failure (permision denied) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Barry Schatz <barry.schatz> |
Component: | [OLD] Development | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | gentoo, gnome, koprut, shj, stas |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Barry Schatz
2009-08-26 03:22:26 UTC
Uncomment the line ;session.save_path = "/tmp" in the file /etc/php/cli-php5/php.ini As of 5.2.10 the default is /. (In reply to comment #1) > Uncomment the line > ;session.save_path = "/tmp" > in the file > /etc/php/cli-php5/php.ini > > As of 5.2.10 the default is /. > There's no way they changed the default to that as it doesn't make any sense whatsoever. I've filed a php bug report here: http://bugs.php.net/bug.php?id=49401 Seems it is related to http://bugs.php.net/49503 *** Bug 271053 has been marked as a duplicate of this bug. *** I'm still looking into this. For the short term you can either: (1) set save_path explicitly. (2) USE="-sharedmem" and emerge -C libmm I didn't have problems without libmm (or with USE="apache2" for that matter) --disable-cli *might* turn up because we're building php a couple of times (for each SAPI you define). So your apache SAPI might not know about your CLI SAPI. But that's just a guess. (In reply to comment #5) > I'm still looking into this. > > For the short term you can either: > (1) set save_path explicitly. Matti, why don't you set it explicitly to proper value by default? It would solve most of sandbox violations some packages in the tree are suffering due that Thanks Is this issue still around? It should have been fixed by upstream. At least I cannot reproduce with php-5.3.2 *** Bug 309469 has been marked as a duplicate of this bug. *** Ole: you testing with USE="-apache2"? I haven't hit that with the apache2 SAPI, a bug report upstream hinted that this SAPI still defaults save_path to /tmp. I've added a little sed to uncomment ;session.save_path = "/tmp" in the config files. So this should be fixed now (at least I can't reproduce with USE="sharedmem cli -apache2 -cgi" php-5.3.3). Thanks for the comments. |