Hello,
In order to fix a 500 error on my website, I tried to change the owner of all folders and files in public_html.
I followed what the user asend said here : 500 Internal Server Error with PHP file and so I did this command :
After doing this, I had to do the following command :
But I had the following error :
I do not understand because the previous chown command worked.
And now I have a 403 error instead of a 500 error..
Can someone help me please?
I'm french, sorry for my mistakes.
In order to fix a 500 error on my website, I tried to change the owner of all folders and files in public_html.
I followed what the user asend said here : 500 Internal Server Error with PHP file and so I did this command :
Code:
chown -R my_user:my_user public_html
Code:
chown my_user:nobody public_html
Code:
chown: changing ownership of 'public_html': Operation not permitted
And now I have a 403 error instead of a 500 error..
Can someone help me please?
I'm french, sorry for my mistakes.