SmartFAQ 由 The SmartFactory (https://www.smartfactory.ca),InBox Solutions (https://www.inboxsolutions.net) 的部门开发

服务器升级到 phpsuexec 之后我该如何更改文件/文件夹权限?
普通的 FTP 客户端不允许在升级到 phpsuexec 之后修改现有网站的文件/文件夹权限。您必须使用您的 cpanel 文件管理器来完成此操作,或者使用以下脚本作为使用 php 修改权限的示例。
chmod("mainfile.php"0444);
chmod("cache"0755);
chmod("uploads"0755);
chmod("templates_c"0755
?>
这是 xoops 安装的标凈要求。

1- 将上面的代码放入文本文件中,并保存为 changeperm.php 或您偏好的其他名称。

2- 将文件上传到您的 xoops 网站根目录,即 mainfile.php 所在位置。
user

3- 调用脚本 http://example.com/changeperm.php


困扰我的是这个问题。我可以用我的FTP管理器设置所有其他文件的权限,但是无法设置“mainfile.php”文件,它总是恢复到644。

通过“changeperm.php”文件来设置则没问题。

谢谢

 


Login

Who's Online

348 user(s) are online (19 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 348


more...

Donat-O-Meter

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

Did you know ?

You can have some problems during the installation because of the Zend Optimiser

Random question

Is there a way to set a cookie to a users machine that will remember his login information as well as his preferences for which ever theme he likes to view the site with?

I have over 1100 registered users at vmoa.net many of them find it a hassle to have to always type in their passwords and then switch to a different theme.... The default theme was choosen by the president of the organization... I am adding alternate themes as they are suggested... I am only the webmaster... and can only implement technical changes not content...

Later/wetsteve