Hi all,
I'm relatively new to all this, so forgive me if I ask somepthing obvious, but I have a problem.
I recently moved my wordpress site from shared host to a VPS with DirectAdmin. I created a user, attached the domain to it, created a database, imported the tables into the database and ftp'd all the files over. Site works like a charm, but for some reason wordpress cannot write to the server. For instance, I cannot upload images on chmod 755, it only works when the upload folder is set to 777. I cannot install plugins or wp updates unless I put all filepermisions to 777. Surely, that is not the way go.
I googled extensively and the ony solution I found was the problem where files were assigned to apache, and not the user. As far as I can tell, the file owner for all files is the user I created and not apache. Doe anybody have a clue as to how I can fix this? I'm getting a bit desperate here. Thanks in advance!
I'm relatively new to all this, so forgive me if I ask somepthing obvious, but I have a problem.
I recently moved my wordpress site from shared host to a VPS with DirectAdmin. I created a user, attached the domain to it, created a database, imported the tables into the database and ftp'd all the files over. Site works like a charm, but for some reason wordpress cannot write to the server. For instance, I cannot upload images on chmod 755, it only works when the upload folder is set to 777. I cannot install plugins or wp updates unless I put all filepermisions to 777. Surely, that is not the way go.
I googled extensively and the ony solution I found was the problem where files were assigned to apache, and not the user. As far as I can tell, the file owner for all files is the user I created and not apache. Doe anybody have a clue as to how I can fix this? I'm getting a bit desperate here. Thanks in advance!