CHEME1LL Posted August 27, 2008 Posted August 27, 2008 Hi I am still having problems with my Configure.php files. I cannot change it on my FTP software (I've tried 2 different ones) it changes then immediatly reverts to READ AND WRITE and the warning is still on my store. My file manager in my cpanel doesn't have the option to chenage the permissions. I spoke with my provider and they say i need to create a CHMOD.PHP file using this text: <?php $filename = "file.php"; chmod("/customers/mydomain.dk/mydomain.dk/httpd.www/$filename", 0777); echo "chmod for $filename was changed"; ?> I am a novice to PHP and am slightly confused as to what I am supposed to do with it. filing it in seems straightforward, but what do I do with the file once saved and how to I execute it to change the permission? any explanation and help would be appreciated Many thanks Cheme1ll
Guest Posted August 27, 2008 Posted August 27, 2008 As far as I know, you just navigate to the chmod file in your browser... i.e. www.yourdomain.com/directory/chmod.php Obviously you have to change the bit that says 0777 to 0644 or 0444 or 0400
FIMBLE Posted August 27, 2008 Posted August 27, 2008 and this bit too customers/mydomain.dk/mydomain.dk/httpd.www NIc Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
CHEME1LL Posted August 27, 2008 Author Posted August 27, 2008 :blush: WOW it was as simple as that! Thanks very much M.a.t.t and FIMBLE - error removed....at last Many thanks Cheme1ll
Recommended Posts
Archived
This topic is now archived and is closed to further replies.