网络营销电子商务研究中心

网络营销电子商务研究中心 (https://www.0058.net/index.php)
-   Drupal (https://www.0058.net/forumdisplay.php?f=67)
-   -   Can't overwrite or delete settings.php (https://www.0058.net/showthread.php?t=4591)

topvip 2013-12-09 10:13 PM

Can't overwrite or delete settings.php
 
第一步, 将default目录的属性改成可写, 755或777

第二步, 建一个php文件, 内容为
<code>
<?php
'chmod -R a+w path/to/file';
?>
</code>

replace "path/to/file" with your path to the file, ex: sites/default

That should do it for you.

最重要一点, 运行后要删除这个文件.

I think its important to note that you need not include the file name. Just the path to the file directory.

sites/default
Code:

<?php
'chmod -R a+w sites/default';
?>



All times are GMT +8. The time now is 10:54 AM.

Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.