file and directory manipulation in PHP requires that you edit the Php.ini-dist/recommended file, and then save it as PHP.INI in your %sysdir%
normal stuff like date/time and the command dir to list contents is one thing...
// backticks
$date = 'date';
echo $date;
or
// passthru
passthru("date");
or
// system
$date = system("date");
echo $date;
all...
should work w/o directing the PHP.INI file, but when you start messing w/ file and directory management the PHP.INI file needs to know where everything is, and the defaults are all written with a bias toward Linux/Unix in otherwords ...
upload_tmp_dir= ./
is the default
you have to change it to:
upload_tmp_dir = C:\temp\
Make sure it is outside of the webtree if this is a prod machine 🙂 E.G., you would not want to set temp as C:\Apache Group\Apache\htdocs\temp
that would be bad 🙂