Guest Posted November 26, 2004 Posted November 26, 2004 i'm trying to get an osCommere solution working on catalog.com, and they require #!/usr/local/safe/bin/php at the top of every php file, or most of them....they also require 755 permissions on all php pages. (They are using using php 4.3.4 and apache.) example here - http://www.artinvietnam.com/catalog/ as you can see, not pretty. the #!/usr/local/safe/bin/php shows up everywhere. so.....2 questions... Is this the norm for an apache server/php 4.3.4 config? How can i effectively resolve these requirements and not see the #!/usr/local/safe/bin/php? thanks, Brett
♥Vger Posted November 26, 2004 Posted November 26, 2004 I have never, ever, in all of my life, heard of a hosting company that requires you to place a file pathway at the top of each and every page. Are you sure that you have understood correctly what they have told you? You have other problems, which are 1. You need to delete the 'install' directory 2. You need to reset the permission on includes/configure.php to 400 3. You need to change the last line of both of your configure.php files to this define('STORE_SESSIONS', 'mysql'); Vger
Guest Posted November 26, 2004 Posted November 26, 2004 I've contacted someone from the support staff on this. If i have it there, everything works. If i don't, it doesn't work (505 error). http://www.catalog.com/support/Website_Hos.../CGI/PHP_B.html they also require all the pages to be set to 755 permissions. Is doing all this nuts?..... I have never, ever, in all of my life, heard of a hosting company that requires you to place a file pathway at the top of each and every page. Are you sure that you have understood correctly what they have told you? You have other problems, which are 1. You need to delete the 'install' directory 2. You need to reset the permission on includes/configure.php to 400 3. You need to change the last line of both of your configure.php files to this define('STORE_SESSIONS', 'mysql'); Vger <{POST_SNAPBACK}>
♥Vger Posted November 26, 2004 Posted November 26, 2004 You would be nuts if you tried to run an osCommerce website with this hosting company - personally I think their setup is absolutely nuts. To say that it is not user-friendly has to be the understatement of the year. Vger
ozcsys Posted November 26, 2004 Posted November 26, 2004 Yes it is nuts and it is time for you to find a new hosting company. There is no reason you should need to fight with this and 755 for all files is not a good idea. You are better off spending a bit more money and get a hosting company with a clue. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
Guest Posted November 26, 2004 Posted November 26, 2004 That is indeed the requirement. Help?!?!?! I've contacted someone from the support staff on this. If i have it there, everything works. If i don't, it doesn't work (505 error). http://www.catalog.com/support/Website_Hos.../CGI/PHP_B.html they also require all the pages to be set to 755 permissions. Is doing all this nuts?..... <{POST_SNAPBACK}>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.