Re: move_uploaded_file and CPU wait state (IO)

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

 



Aleksandar Skodric wrote:
Hi,

I have changed the directory to the same disk. Results are _much_ better!
So nothing to blame on PHP, only my lack of knowledge about *nix-like system *blush*

Thank all for the advice and help!

It's not *nix systems - it's all operating systems.
When you move a file between partitions it has to copy the whole file then remove it from the original place when it has verified it has copied ok.

PS. defining of php_value in virtual host of apache did not work, so I changed php.ini value.

Figured as much :)

Chris wrote:

Aleksandar Skodric wrote:

Hi,

Yes, /tmp is on another disk then the final directory. I shall move it to the same disk (tmp_upload_dir) right now.

Question: can I define tmp_upload_dir to be otherwise just for one host in apache conf, like:

php_ini upload_tmp_dir /some/dir


<snip>

I'm guessing not, but the php docs will tell you for sure - http://www.php.net




--
Postgresql & php tutorials
http://www.designmagick.com/

--
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