if php.ini default session.save_file not found. then php make session_mm*.sem file to / emerge pecl-http try `php-cgi -m` php-cgi will make /session_mm_cgi-fcgi0.sem , access violation by sandbox I suggest php.ini default session.save_path to /tmp thank you.
I cannot reproduce it here. if you really have a bug, please attach more information like emerge --info, and the build.log including the sandbox violation
1. USE="-apache cli cgi -threads sharedmem sharedext" emerge php 2. php.ini session.save_file remove 3. emerge dev-php5/pecl-http answer is session.save_file = /tmp I wish add to php.ini default value.
Okay I have it here too.
Created attachment 192525 [details] build.log
Created attachment 192526 [details] php.ini
Hm, this seems to be a general problem. You only get it if you USE="-apache2". Every other SAPI fails. ***3 hours later*** I've figured it out: the sandbox violation is caused by mm_* calls. This suggests a problem with libmm trying to write your session files. Setting USE="-sharedmem" (and uninstalling libmm) seem to fix the problem. Also, setting session.save_path explicitly in php.ini fixes the issue. This is also reported upstream (with pointers): http://bugs.php.net/bug.php?id=49401 I'm not exactly sure WHY this is happening, but i'll update the bug if i find out. Meanwhile, setting session.save_path explicitly sounds like a good work around. I don't consider this a fix, as the default IS '/tmp/' already and the fact php isn't honoring that is a bug.
Seems we have multiple bugs with this one. *** This bug has been marked as a duplicate of bug 282768 ***