Toggle navigation Home Store Browse All ----- Webhosting Domains Quotation (Webdesign Services) eMail Hosting SEO- Search Engine Optimisation GRAPHIC DESIGN Dedicated/ VPS Webhosting BULKSMS Mobi Applications Website Maintenance Register a New Domain Transfer Domains to Us Announcements Knowledgebase Network Status Affiliates Contact Us Account Login Register ----- Forgot Password? Categories 9 CGI Scripts 34 Databases 28 Dedicated Servers 1 DNS 15 Domains 5 eCommerce 79 eMails 27 FTP 1 General Issues 1 MX Records 1 Nameservers 28 Other 104 Scripting 254 Web Hosting Control Panel 9 Web Resources 8 Web Stats & Logs 11 Web Tools 8 Website Help and Diagnostics 4 Windows Hosting Categories CGI Scripts (9) Databases (34) Dedicated Servers (28) DNS (1) Domains (15) eCommerce (5) eMails (79) FTP (27) General Issues (1) MX Records (1) Nameservers (1) Other (28) Scripting (104) Web Hosting Control Panel (254) Web Resources (9) Web Stats & Logs (8) Web Tools (11) Website Help and Diagnostics (8) Windows Hosting (4) [PHP2.01] How do I set permissions on files and scripts? Doing a CHMOD (changing a file's permissions) is the setting of access privileges for a file. This tutorial shows the process in one of the most common FTP applications called WS_FTP but the process is very similar with other ftp clients.First connect to your hosting via FTP using the settings provided in your setup email.Next click on the directory you have placed the cgi script in and right-click on the file you would like to set permissions for. The right-click menu is then displayed, and by clicking the "CHMOD" option we get to the main part of doing a CHMOD.The new menu that appears has three columns - Owner, Group, and Other. Each column has three checkboxes below them - Read, Write, and Execute. eg for cgi scripts needing 755 permission - In the "Owner" column, check all three boxes. In the "Group" column check the first and third checkboxes. In the "Other" column, check the first and third boxes.Finally, click "OK" to complete the CHMOD. Test your script or file again by calling it from your web browser. Everything should work correctly, but if you are still seeing an Error 500 Server Error then it is not because of your permissions. Was this answer helpful? Yes No Print this Article Also Read [PHP2.03] Is PHP a CGI or Apache module? PHP runs as a cgi at Hosting cPanel – this is because it is more secure than running it as an... [PHP2.10] Can you set "register_globals" to ON in PHP for me? Such a global change to the php.ini config is a well known security risk and affects all other... [PHP2.02] What is the path to perl? /usr/bin/perlYou can also find information on paths to other useful programs by logging in to... [PHP2.14] How do I use short open tags in my php scripts? Short open tags are turned off in php5 scripts by default.To get your php5 scripts to work you... [PHP2.08]Can I override php.ini settings? Some variables in the php.ini file can be overwritten, you can do this creating a php.ini file in... Support My Support Tickets Announcements Knowledgebase Downloads Network Status Open Ticket × Close Title Loading...