Re: /tmp/directory

From: Date: Mon, 22 Jul 2013 16:02:00 +0000
Subject: Re: /tmp/directory
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-321683@lists.php.net to get a copy of this message
On Mon, Jul 22, 2013 at 9:59 AM, Larry Martell <larry@software-horizons.com> wrote: > On Mon, Jul 22, 2013 at 9:50 AM, Tedd Sperling <tedd.sperling@gmail.com> wrote: >> On Jul 22, 2013, at 11:20 AM, Tedd Sperling <tedd@sperling.com> wrote >>> Hi gang: >>> >>> I should know this, but I don't. >>> >>> Where is the /tmp/ directory? >>> >>> You see, I have a client where his host has apparently changed the /tmp/ directory >>> permissions such that old php/mysql scripts cannot write to the /tmp/ directory anymore -- they did >>> at one time. >>> >>> So, how do I fix it? >>> >>> Cheers, >>> >>> tedd >> >> Let me add -- the PHP version I am working with is 4.3.10. >> >> I know... > > df /tmp should show you where it's mounted. And sys_get_temp_dir() will tell you the path. # php <? print sys_get_temp_dir() ?> /tmp

« previous php.general (#321683) next »