Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2008 01:39:01 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: PHP Session Support in /tmp
Message-ID:  <ggct36$5cn$1@ger.gmane.org>
In-Reply-To: <27ade5280811231602m4900af50t83daafca16f94b97@mail.gmail.com>
References:  <27ade5280811231602m4900af50t83daafca16f94b97@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigAE1E13194920D9A44F5C7907
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

APseudoUtopia wrote:
> Hey.
>=20
> PHP stores session data for the 'file' handler in /tmp, by default.
> For organizational purposes, I'd like to change this to something like
> /tmp/php_sessions/ or so. However, I have the clear_tmp_enable feature
> enabled, so /tmp is cleared on reboot. PHP wont create the
> php_sessions dir on it's own.
>=20
> So basically, I'm looking for a way to create the dir
> /tmp/php_sessions/ each time the server is booted BEFORE apache
> starts. I'm sure I could do this somehow with the rc.d scripts, but I
> really have no idea how.

man 8 rc.local


--------------enigAE1E13194920D9A44F5C7907
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkp96YACgkQldnAQVacBcimJgCguLNzQvpKU8P0K0TBqgNbR0L8
WFAAoPUs1BmJ79fQ8LRlIpB1i31T1nHa
=grrn
-----END PGP SIGNATURE-----

--------------enigAE1E13194920D9A44F5C7907--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ggct36$5cn$1>