I recently upgraded to Mountain Lion and reconfigured my apache2 (https.conf
) file in the terminal to load PHP and start automatically.
My localhost/~username/phpinfo.php
page comes up to show my PHP configuration (php.ini
). I see that upload_files
is set to ON and the max_size_upload
is set to 20MB. However, the upload_tmp_dir
isn't set (it says NO VALUE). I assume the default tmp directory is "/tmp".
When I do
$ cd /etc/
$ sudo nano php.ini.default
goto the upload_tmp_dir
and I remove the ;
in front of it and enter the value /tmp
(save and exit).
I still see NO VALUE for the upload_tmp_dir
when I load my phpinfo.php
. I just wonder if I'm doing something wrong. Any help is appreciated.