FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


uid and guid need to be set?





markblu
Hello I cannot get a script to work, here is what it says to do but I do not have SSH access and the system(), exec() commands have been disabled in PHP. Any help? What would the uid and guid need to be according to this and how would I go about doing what the tutorial says? Thank you!




Quote:

2.4 Setting ownership of files and directories
This information is only applicable for Linux users. Windows users can skip this section and proceed with '2.5 Take the 8 steps'.

Find out who is the user and group of the Apache web server. Check the file /etc/httpd/conf/httpd.conf and look for 'User' and 'Group'. It is in 'Section 2 Main Server Configuration'. You find a user and group for the webserver, names like: 'apache' or 'www' or 'nobody'. Let's assume you find the user and group 'www'.

Now go to your document root directory. It will be something like '/home/httpd/html/', or '/home/httpd/htdocs/', or '/var/www/'.
Execute, as user root, the following commands:
Code:

# chown -R www.www starnet
# chown -R www.www agenda
# chown www.www index.php
# chown www.www print.php


These commands will recursively change the ownership of the directories and their contents and the two files to user and group 'www'.

NOTICE: Correct ownership of directories and files is a necessity to ensures the correct working of the installation script. Wrong ownership of directories and files is often a cause of errors or unsuccessful installations.

When you install Site@School at an ISP (Internet Service Provider), ask them for the correct ownership of your Site@School files and directories.
Bondings
You shouldn't be needing to change the ownership of the files.
rvec
Please use the code BB-Code and -Quote tags when pasting code or a quote.
Code:
[code][/code]

Code:
[quote][/quote]


you can change permissions of folders with ftp and directadmin.
a tutorial on how to do it with directadmin: http://www.site-helper.com/filemanager.html#permissions

Edit: as Bondings said no need to change ownership but some software require you to change permissions. The tutorial explains that just in case you meant that.
Related topics
.htaccess tutorial
Set As Home Page Script (IE Only)
I cant install php chat tables nor set up diffrent subdomain
Submarine Set Free
any one knows how to set up dial up (windows 2000)
How can I set acces to my folders...
how to set up a server
Can not delete files
[RESOLVEd] How to set the default page ?
How to set a time with the host?
Fix for deleting files/directories owned by apache
Can't he use those files?
problem from NTFS resizing
Hot to change "Reset Ownership" using php?
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.