Search the Community
Showing results for tags 'composer'.
Found 3 results
I don't know if anybody can put me through how to install composer on live server as I find little or no success at all on the net about how to do it
Yii- Version 1 -Cms-Ch22 Installation Composer ?
laurent vignaux posted a topic in The Yii BookHello Larry, I read your book twice. Honestly I do not understand very well. I have already learned from your books, specially the e-commerce. I like the principle of explanation by example. In Yii, you go well in the way of doing your best and understand the subtle mechanisms of this framework. So, I yii installs and works correctly. I followed your chapters and wanted to better understand your example. Now i would like test your example CMS. I am unable to launch the application of Cms version of Chapter 22 of your book. The window is hopelessly empty. I notice in the index.php : $compose = dirname (__ FILE __) '/ protected / vendor / autoload.php.'; I do not see a vendor folder in protected'folder and evidently no autoload.php I have my composer.phar in protected folder. Is the problem here? Thanks for advice cordialy
Installing Composer In Ubuntu Webserver
another_noob posted a topic in The Yii BookI decided to install Yii2 on my Ubuntu server I use for live demo's for clients. While trying to install Composer I ran into permissions problems with this line of code: curl -sS https://getcomposer.org/installer | php I would get these errors: Downloading... Could not create file //composer.phar: fopen(//composer.phar): failed to open stream: Permission denied Download failed: fopen(//composer.phar): failed to open stream: Permission denied fwrite() expects parameter 1 to be resource, boolean given I prefaced the command with "sudo" and received the same permissions output. After some poking around I found the problem to be I needed to add a "sudo" after the pipe also. Like this: sudo curl -sS https://getcomposer.org/installer | sudo php After that, Things worked as expected. Hopefully this will save someone some agony someday.