1

Hi Guys

I am working on a Magento site which is hosted on one of your VPS servers. I am trying to install a PayPoint module to the site. I can connect to the server via SSH fine. When I run this command './pear mage-setup' I get the following error: './pear: line 91: exec: php: not found'

Any ideas what I need to do to correct this?

Cheers
Darren

2

Hi Readio,

I don't really have sufficient information to guarantee that I'm about to give you the correct response, but on the balance of probabilities I'm going to do it anyway!

In your Hosting Control Panel I suspect you've set your shell access to be /bin/bash (chroot) .  The chroot environment is a good security measure, but its so good that it prevents access to PHP!  If you switch this to /bin/bash  then I think your problem will be resolved.

Additionally, we would always strongly recommend backing up your website before adding/removing or updating any modules within Magento.

If this is not the resolution then please can you log a ticket here http://www.nublue.co.uk/web-hosting/submit-ticket and we'll look into it further (and I'll post the resolution here).  If this does resolve your issue then please can you update this forum thread,

Paul.

3

Hi Paul

Changing shell access did the trick. Extension now installed with no problems.

Thanks for the help
Darren