Results 1 to 5 of 5
  1. #1
    Join Date
    May 2009
    Posts
    3
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default 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.
    20 years a Zencart User

  3. #3
    Join Date
    May 2009
    Posts
    3
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: configure.php file 644

    Talk to your hosting company...
    20 years a Zencart User

  5. #5
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default 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:
    Code:
    <?php
    chmod ("includes/configure.php", 0444);
    ?>
    3. Upload it to the root of your Zen Cart install.

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

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

    6. 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.

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

    Vger

 

 

Similar Threads

  1. Change permission of Includes/Configure.php from 444 to 644.
    By anticobello in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 6 Jun 2011, 04:21 AM
  2. Configure.php file permissions.
    By ndnguru in forum Installing on a Linux/Unix Server
    Replies: 20
    Last Post: 1 Aug 2007, 04:06 AM
  3. how to configure my configure.php file
    By vr4indian in forum Basic Configuration
    Replies: 4
    Last Post: 30 Oct 2006, 04:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg