SmartFAQ is developed by The SmartFactory (, a division of InBox Solutions (

How do I change file/folder permissions since my server has upgraded to phpsuexec?
  Requested and Answered by Carnuke on 2006/4/21 17:42:00     12073  reads 
An ordinary FTP client will not allow you modify file/folder permissions on existing sites after upgrading to phpsuexec. You will have to use your cpanel file manager to do this or use the following script as an example of using php to cange the permissions.
This is the standard requirements for a xoops installation. usage 1- put the above code into a text file and save it as changeperm.php or whatever name you prefer. 2- upload the file to the root of your xoops site, ie, where mainfile.php is. 3- call the script 4- You will see a blank page 5- Now return to your FTP client and check your file permissions for the folders CACHE -0755 TEMPLATES_C -0755 UPLOADS -0755 MAINFILE.PHP -0444 You can of course change the files/ folders to carry out this permissions change method.

The comments are owned by the author. We aren't responsible for their content.

 Worked fine

I struggled with this. I could set all the other file-permissions with my ftp-manager, but not the "mainfile.php"- file, it always reverted back to 644.

Doing it through a "changeperm.php"-file worked fine though.





Lost Password? Register now!

Who's Online

66 user(s) are online (1 user(s) are browsing XOOPS FAQ)

Members: 0

Guests: 66



Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Did you know ?

that you can open your closed site in the database when you can´t login anymore?

Random question

What is debugging and how do I do this?