Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation and 777


Guest

Recommended Posts

I am struggling to install the program.

 

I ahve changed the configure.php files to 777 but i've been told that my server won't allow a php file with a permission of 777 to run, should it still install with 755 or 711.

 

regards.

Link to comment
Share on other sites

I am struggling to install the program.

 

I ahve changed the configure.php files to 777 but i've been told that my server won't allow a php file with a permission of 777 to run, should it still install with 755 or 711.

 

regards.

 

0755 should be fine in this case.

Link to comment
Share on other sites

Unless you're on a strangely configured system, files should be 644 (or 444 for read-only access). 755 won't necessarily do any harm, but it's not needed. 777 is almost always a bad thing. 711 is unusable (obviously you don't understand permissions).

 

http://www.oscommerce.com/forums/index.php?showtopic=327395&view=findpost&p=1443272

Link to comment
Share on other sites

Unless you're on a strangely configured system, files should be 644 (or 444 for read-only access). 755 won't necessarily do any harm, but it's not needed. 777 is almost always a bad thing. 711 is unusable (obviously you don't understand permissions).

 

http://www.oscommerce.com/forums/index.php?showtopic=327395&view=findpost&p=1443272

 

He was talking of installation .. the configure.php files need to be writeable.

Link to comment
Share on other sites

If PHP/Apache run as "owner", 644 should be sufficient (a few oddball systems are set up to require "execute bit" on PHP files: 755). If PHP/Apache run as "group", 664/775 would be required. Only if PHP/Apache run as "world" would 666/777 be needed. All explained in the post I linked to. 644 is writable during installation under normal circumstances (PHP/Apache run as "owner").

Link to comment
Share on other sites

If PHP/Apache run as "owner", 644 should be sufficient (a few oddball systems are set up to require "execute bit" on PHP files: 755). If PHP/Apache run as "group", 664/775 would be required. Only if PHP/Apache run as "world" would 666/777 be needed. All explained in the post I linked to. 644 is writable during installation under normal circumstances (PHP/Apache run as "owner").

 

MrPhil

 

The OP was having trouble installing, this added discussion about permissions is irrelevant.

 

Simply put with osCommerce you make the configure.php writeable for the install and following you lower the permissions (often to 444).

 

It doesn't matter whether the file may or may not have been writeable at a lower permission on the OPs server we are just trying to help this guy install by giving him permissions that WILL allow the install to work .. this is 0755/0777.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...