Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 07:55:11 PM

Pages: [1]   Go Down
  Print  
Author Topic: Magento Install (php5 enabled) but php5 not working ..  (Read 2802 times)
tungsten
Newbie
*
Offline Offline

Posts: 4


« on: April 30, 2009, 08:37:46 AM »



Trying to use Magento shopping cart..

Switched on php5 as Magento needs Php 5.2.0 and installed (downloaded, unzipped and uploaded) Magento.


Tested for php5 as below, but failed ..


Then downloaded file "php5-cgi" from their site http://www.magentocommerce.com/support/php5cgi/php5-cgi

and placed it in /public_html/cgi-bin/,  changed permissions to 755, and  pointed to binary using

Code:
   Action php5-cgi /cgi-bin/php5-cgi
   AddHandler php5-cgi .php

 in /magento/.htaccess.




Then checked php5 (according to http://www.magentocommerce.com/wiki/welcome_to_the_magento_user_s_guide/chapter_2/..


Code:
Bad location to the PHP5 binary: Make sure the AddHandler  directive in your .htaccess file is pointing to the correct location

 for the PHP5 binary. You can often test it by trying to surf to the location with your web browser. For example, if your site is www.example.com

 and your PHP5 location is /cgi-bin/php5-cgi , try visiting http://www.example.com/cgi-bin/php5-cgi with your web browser.

If you see an “Internal Server Error” message, then that means your PHP5 binary is in the correct location.

If you get a “File not found” message, then this is not the correct location.
[/b]


Php5 not working .. ("File not found" message).



Changed .htaccess in root (/public_html): "AddHandler application/x-httpd-php5 .php"
Php5 still not working ..



Used "/usr/local/php5/bin/php-cgi" in /magento/.htaccess from http://wiki.lunarpages.com/Special_Server_Paths
Php5 still not working ..



Have searched forum but none of handful of posts ( on Magento , or Magento install ) show anything useful..



Wondering if I'm missing something ( to switch on php5). Can't quite go on to the next step  ... which is download using downloader/installer without

getting this step done ..


Appreciate pointers/suggestions to try ..




   
Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12838


WWW
« Reply #1 on: April 30, 2009, 08:46:43 AM »

What type of hosting plan do you have?  We usually do not suggest Mageto for Basic or Business, due to the fact that neither supports the needed InnoDB support. 
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
tungsten
Newbie
*
Offline Offline

Posts: 4


« Reply #2 on: May 01, 2009, 05:15:17 AM »



Am on Basic .. fair enough, no harm done. Should have checked system requirements thoroughly.

Will weigh up another one to install.

Thanks for the help .. saved me much fruitless effort.



Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12838


WWW
« Reply #3 on: May 01, 2009, 05:48:43 AM »

Not a problem, wish I had happier news for you, but always happy to help in any way that I can.
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
grishnoff2323
Newbie
*
Offline Offline

Posts: 2


« Reply #4 on: May 14, 2009, 08:43:58 AM »

I was told that there is a workaround to get Magento to work with Lunarpages, and I've noticed a lot of Lunarpage users able to use it.  I can't find the workaround anywhere, I've contacted those users, lunarpages and magento without luck...Does anyone know where to go from here?
Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12838


WWW
« Reply #5 on: May 14, 2009, 08:51:25 AM »

Nope, afraid it isn't supported on the shared hosting plans.  Where did you hear about the work around?
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
grishnoff2323
Newbie
*
Offline Offline

Posts: 2


« Reply #6 on: May 14, 2009, 08:56:03 AM »

A number of sources...one was the Lunarpages technical support person who said that he didn't have the information, but heard there was a workaround.  Also, other people have successfully gotten it to work and I don't know how.  I'm wondering if I download an older version of Magento?  Maybe the older versions don't require InnoDB...
Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12838


WWW
« Reply #7 on: May 14, 2009, 10:48:35 AM »

I wouldn't suggest running an older version, as you might open yourself up to security risks or other vulnerabilities of the script in question. 
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
Pages: [1]   Go Up
  Print  
 
Jump to: