Re: /tmp/directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 22, 2013 at 9:59 AM, Larry Martell
<larry@xxxxxxxxxxxxxxxxxxxxx> wrote:
> On Mon, Jul 22, 2013 at 9:50 AM, Tedd Sperling <tedd.sperling@xxxxxxxxx> wrote:
>> On Jul 22, 2013, at 11:20 AM, Tedd Sperling <tedd@xxxxxxxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux