I am trying to install php a script on my host server, however i am getting a unix

Phillipa D

New member
error that i do not? understand. This is what i am getting
Please set the correct user (e.g. apache) for the root folder of your script (e.g. chown www-data.www-data -R getboo/)

What does this mean? do i have to CHMOD the folder where the script is? What does chown mean?

Thanks in advance
 
chown and chmod are related commands. chmod changes the permission settings on a file (read-write-execute for user-group-others). chown changes the owner of a file. Your webserver(Apache) runs as a particular user - say, apache. What the error message is asking you to do is to change the owner of the script to the apache user. It works like this -
chown USERNAME:GROUPNAME FILENAME
so if your webserver is running as the user joe('ps aux | grep httpd' should tell you. Or check the httpd.conf), you might want to do something like
chown joe:joe foobar
OR
chown -R joe:joe foobar # change for subdirectories too (recursive)
 
chown and chmod are related commands. chmod changes the permission settings on a file (read-write-execute for user-group-others). chown changes the owner of a file. Your webserver(Apache) runs as a particular user - say, apache. What the error message is asking you to do is to change the owner of the script to the apache user. It works like this -
chown USERNAME:GROUPNAME FILENAME
so if your webserver is running as the user joe('ps aux | grep httpd' should tell you. Or check the httpd.conf), you might want to do something like
chown joe:joe foobar
OR
chown -R joe:joe foobar # change for subdirectories too (recursive)
 
chown and chmod are related commands. chmod changes the permission settings on a file (read-write-execute for user-group-others). chown changes the owner of a file. Your webserver(Apache) runs as a particular user - say, apache. What the error message is asking you to do is to change the owner of the script to the apache user. It works like this -
chown USERNAME:GROUPNAME FILENAME
so if your webserver is running as the user joe('ps aux | grep httpd' should tell you. Or check the httpd.conf), you might want to do something like
chown joe:joe foobar
OR
chown -R joe:joe foobar # change for subdirectories too (recursive)
 
chown and chmod are related commands. chmod changes the permission settings on a file (read-write-execute for user-group-others). chown changes the owner of a file. Your webserver(Apache) runs as a particular user - say, apache. What the error message is asking you to do is to change the owner of the script to the apache user. It works like this -
chown USERNAME:GROUPNAME FILENAME
so if your webserver is running as the user joe('ps aux | grep httpd' should tell you. Or check the httpd.conf), you might want to do something like
chown joe:joe foobar
OR
chown -R joe:joe foobar # change for subdirectories too (recursive)
 
chown and chmod are related commands. chmod changes the permission settings on a file (read-write-execute for user-group-others). chown changes the owner of a file. Your webserver(Apache) runs as a particular user - say, apache. What the error message is asking you to do is to change the owner of the script to the apache user. It works like this -
chown USERNAME:GROUPNAME FILENAME
so if your webserver is running as the user joe('ps aux | grep httpd' should tell you. Or check the httpd.conf), you might want to do something like
chown joe:joe foobar
OR
chown -R joe:joe foobar # change for subdirectories too (recursive)
 
Back
Top