vidmarc Posted May 15, 2013 Share Posted May 15, 2013 I'm trying to get a friend's Cubecart up and running in a sub folder, whilst keeping the original site's webstore running in the root folder. However, the original site is running on php4, whilst Cubecart requires 5.2. Is there a way around this? I can get only one site working at a time as One&One only offers a "global php" setting. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 15, 2013 Share Posted May 15, 2013 I am not an expert in .htaccess file statements and web server (Apache) configuration, but here's a wild guess: * Create a subdomain, cubecart5.maindomain.com, and have it point to the exact folder where CubeCart is located. * For that subdomain, tell Apache to use php5. This won't work, of course, if your hosting package at 1&1 doesn't include hosted subdomains, or if your hosted package cannot run two versions of PHP at the same time. It is not so much what appears in the "global" php.ini settings as PHP will already have started when it reads the php.ini file. You will need to configure the web server, whose job it is to start the appropriate application based on the requested file suffix. Quote Link to comment Share on other sites More sharing options...
vidmarc Posted May 15, 2013 Author Share Posted May 15, 2013 Thanks for the suggestion - I checked and I'm allowed up to 1500 sub-domains. If this works and when the store is built, will it be easy to then move everything into the main root folder? Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 15, 2013 Share Posted May 15, 2013 Yes. Quote Link to comment Share on other sites More sharing options...
vidmarc Posted May 16, 2013 Author Share Posted May 16, 2013 OK, I set up a sub domain as suggested but unfortunately when it says "Global php" it means global, including the sub domain. Damn. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 16, 2013 Share Posted May 16, 2013 Lots of comments regarding this scenario: google for -- 1and1 x-mapp-php5 Quote Link to comment Share on other sites More sharing options...
vidmarc Posted May 16, 2013 Author Share Posted May 16, 2013 Is it not possible for me to do this on one&one? All that coding talk is beyond my scope. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.