Zen Cart Logo
Forums / Installing on a Linux/Unix Server / configure.php file 644

configure.php file 644

Locked

Views: 1,830

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
15 May 2009, 4:51 PM
#1
amritg avatar

amritg

New Zenner

Join Date:
May 2009
Posts:
3
Plugin Contributions:
0

configure.php file 644

Hi Guys,

I have changed the permissions on the configure.php file to 644 (won't allow me 444) but i still get the warning message.

Do you know why this is still there?

Thanks

15 May 2009, 5:13 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: configure.php file 644

Are you trying to set them to 444 via your FTP?

Many hosts do not allow settings below 644 via FTP.

You will have to go to your host account control panel and set the 444 there.

15 May 2009, 6:41 PM
#3
amritg avatar

amritg

New Zenner

Join Date:
May 2009
Posts:
3
Plugin Contributions:
0

Re: configure.php file 644

I tried to change it to 444 via the FTP and host account control panel, both didn't work and it stays at 644.

The warning message says "This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical)"

They are 644, why is the message still there?

Thanks

15 May 2009, 8:33 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: configure.php file 644

Talk to your hosting company...

16 May 2009, 1:31 PM
#5
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: configure.php file 644

Do this and it should work:

  1. Create a new text file on your PC Desktop and rename it chmod.php (ignore the warning about changing the file type).

  2. Put this code inside the file:

<?php
chmod ("includes/configure.php", 0444);
?>
  1. Upload it to the root of your Zen Cart install.

  2. Go to the file in your browser e.g. http://www.yourdomain.com/chmod.php

  3. You won't see anything on the page shown but the permissions should now have changed to 444.

  4. By changing "includes/configure.php" to "admin/includes/configure.php" and re-uploading to the root of your Zen Cart site, going to the file in your browser again, you can do the same for that configure.php file also.

  5. Then delete this file. Don't leave it on your website.

Vger