This topic contains 2 replies, has 2 voices, and was last updated by ypetrov 7 years, 6 months ago.
- Topic
As a pre-cursor to my issue, I have very little SSH or comandline experience so may possibly be making a glaring mistake but don’t realise it..
I’m trying to install OroCommerce on my shared cloud hosting and have been following the instructions within the readme file included wth the application files but when it comes to installing composer I get the following error:
Warning: Composer should be invoked via the CLI version of PHP, not the cgi-fcgi SAPI
Composer could not find a composer.json file in /var/sites/mydomain.com
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ “Getting Started” section
Firstly the warning regarding CLI… I’ve found information suggesting that the use of php -cli composer.phar install will resolve this but it makes no difference and the error message is the same.
I’ve read through the composer guide on creating a composer.json file but as the file exists in the orocommerce-application folder I’m not sure that creating one is the issue here, perhaps more that I’ve done something wrong preventing composer from accessing the file?
I’ve tried moving the composer.json file from it’s folder into the domain’s root and whilst that does start installation I then get the following error:
Warning: Composer should be invoked via the CLI version of PHP, not the cgi-fcgi SAPI
Loading composer repositories with package information
Updating dependencies (including require-dev)
<br />
<b>Fatal error</b>: Maximum execution time of 30 seconds exceeded in <b>phar:///var/sites/mydomain.com/composer.phar/src/Composer/Package/Package.php</b> on line <b>109</b><br />
Any help would be greatly appreciated.
The forum ‘OroCommerce’ is closed to new topics and replies.