Some servers especially ones that are free give you pretty much locked out on what you can do but there is tricks that I found along my way.
First off the config.php files should be set to 444 and if your server don't allow this through FTP, cpanel or other means than you can try the following:
than go to your domain/permissions.php after that delete this file
make a file and call it permissions.php inside that file do this:
Code: Select all
<?php
// Read and write for owner, nothing for everybody else
chmod("/pathto/config.php", 0444);
// Read and write for owner, read for everybody else
chmod("/pathto/admin/config.php", 0444);
// Everything for owner, read and execute for others
chmod("/pathto/index.php", 0444);
// Everything for owner, read and execute for owner's group
chmod("/pathto/admin/index.php", 0444);
?>
if that don't work I suggest look for another host in my opinion because sooner or later you will be hacked if you can't set those permissions