SmartFAQ is developed by The SmartFactory (https://www.smartfactory.ca), a division of InBox Solutions (https://www.inboxsolutions.net)

How do I change file/folder permissions since my server has upgraded to phpsuexec?
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.
chmod("mainfile.php"0444);
chmod("cache"0755);
chmod("uploads"0755);
chmod("templates_c"0755
?>
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 http://example.com/changeperm.php 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.
user

 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.

Thx

 


Login

Who's Online

267 user(s) are online (3 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 267


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Did you know ?

XOOPS 2.0.x requires PHP version 4.1.0 or higher
XOOPS 2.2.x requires PHP version 4.2.0 or higher

Random question

Is it possible to run Xoops on my own web servers rather than using a commercial host.