|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-12 20:33 UTC] Leknor at Leknor dot com
[2000-07-26 21:34 UTC] zak@php.net
[2000-08-17 16:26 UTC] sas@php.net
[2000-08-20 02:57 UTC] sniper@php.net
[2002-08-20 19:22 UTC] screen at brainkrash dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 12:00:01 2025 UTC |
I'm hosting a few virtual domains and I want to keep the session files in separate directories. I found that when I change the 'session.save_path' option via a php_value in an apache VirtualHost defination causes this error: [Tue Jul 11 19:44:51 2000] [notice] child pid 5138 exit signal Segmentation fault (11) and here is an example of the httpd.conf section: ... <VirtualHost leknor.com> ... /leknor/sessions ... </VirtualHost> ... I have: * tried many varriations of file permissions/owners on the session dir * tried different locations including the one above and /tmp/leknor.com * tried setting php_value session.save_path /tmp and it generates a seg fault also even though it is the same settion as the global config in php.ini What is strange IMO is that even thought the child pid seg faults the session seems to get read/written to disk correctly. which leads me to believe that fault is in the session file close code. The following work around seems to work for me: Before you call session_start(); in your php code call session_save_path("/some/path"); eg: ... session_save_path("/home/leknor/sessions"); session_start(); ... If you need more info on my setup go to: http://leknor.com/php.php If a developer needs more info feel free to email me at Leknor@Leknor.com