Rodolfo Timoteo da Silva escreveu:
Has anyone installed snort, base and receive the same error when
trying to connect to DB in the first access?
[Fri Mar 6 13:13:21 2009] [error] PHP Warning: session_start() [<a
href='function.session-start'>function.session-start</a>]:
open(/tmp//sess_ignndir3nk8sv4ntdrr05o6at2, O_RDWR) failed: No such
file or directory (2) in /htdocs/base/base_conf.php on line 21
Hi Rodolfo,
OpenBSD's apache is chroot, so to use PHP with session you need to
create the /var/www/tmp directory.
That's why you got this open(/tmp//sess_ignndir3nk8sv4ntdrr05o6at2,
O_RDWR) failed.
Remember that /var/www/tmp will turn into /tmp inside the apache's chroot.
HTH,
Anything else contact me offlist in portuguese :D
THANKS, for now.
Regards,
Vinicius