I keep getting errors when trying to upload to my tmp
directory, it always fails if I try by URL or upload. The only way it works is via a direct upload Joomla extension.
As I have root access I have made sure permissions and ownership are correct and that the file path to my tmp
folder is correct in global of admin as well as configuration.php
so I am trying to figure out why it keeps failing.
I have chown apache:root
on all my Joomla folders with permissions 755 and the path is mysite.com/joomla
as it is in a sub-directory but all else works except for this. Also I noticed each time I do an install it fails to create the configuration.php
file. Have I got ownership and permissions correct?
Update
The error was a number of things coming up but the main thing persisting that I remember and that is still there is tmp
file folder not writable. I ended up clearing the cache via command and since then everything works but this one error message on tmp
folder remains in warnings.
Further to this I reinstalled latest 3.6 with exact same ownership and permissions but used wget command for tar file and now it is all working no errors.