Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Permissions of the Configure.php


DancingLush

Recommended Posts

Warning: I am able to write to the configuration file: ..../..../.../configure.php. This is a potential security risk - please set the right user permissions on this file.

 

I have tried changing this both in the file manager in cPanel as well as using cute ftp into my account and changing it that way. For some reason it just isn't cooperating. It stays at 644 for the file atributes. Any thoughts?

 

Thanks!

 

Nikki

Link to comment
Share on other sites

I had to use a small PHP file to actually get the configure.php file to CHMOD to the correct setting try this.

 

Create a file called protect.php with the following contents:

 

<?php
chmod('includes/configure.php', 0444);
?>

 

Upload it to your catalog folder and then in a browser open protect.php on your site. It will set the protection.

 

You should also upload this to your admin folder too. Once you have done this, you can delete the protect.php files.

 

Hope that helps.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...