gemsinth Posted November 2, 2017 Posted November 2, 2017 Hi,Can you run this SSH Command for me to install Composer so that I can install plugins for roundcube. Can you run this code: echo 'alias composer="php -d allow_url_fopen=On /home/gemsinth/composer.phar"' >> ~/.bashrc ThanksJonathon Robertswww.gemsinthecountrycrystals.cfAlso can I run php commands or can I give you the code to run.
wolstech Posted November 2, 2017 Posted November 2, 2017 (edited) That command just defines "composer" as a bash command alias...which won't do much good since you can't access SSH. Composer requires SSH or php's exec() functions to be useful, neither of which we allow for security reasons. We get requests for Composer all the time, but as of now, there is no secure way for us to support it. What you can do is set up Composer on your local PC and run your composer commands there. Then, upload the resulting file structure and it will run on our servers. The one time I've had to use composer, this was what I did and it worked perfectly (just had to set paths/DB settings in the application config file). Composer is just an assembly tool for software, and is not required for the assembled software to function. Edited November 2, 2017 by wolstech
gemsinth Posted November 2, 2017 Author Posted November 2, 2017 Hi again,Thanks for that how do I do that as I'm not that experienced. thanks
wolstech Posted November 2, 2017 Posted November 2, 2017 Krydos would know more than I do about how it should be done on Linux. If you're on Windows, there's guides out there. You need a web server (or at least PHP) already on your PC. Xampp is probably the most well known Apache/PHP server setup for Windows, and if you want, you can get a portable version. you could then look at something like this for setting up Composer: http://webdevzoom.com/how-to-install-composer-on-windows/
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now