composerインストールlaravel
1398 ワード
./configure \
--prefix=/usr/local/php \
--with-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--enable-short-tags \
--disable-posix \
--with-config-file-path=/usr/local/php/etc \
--with-config-file-scan-dir=/usr/local/php/etc/conf.d \
--enable-ftp \
--with-curl=/usr \
--with-zlib \
--enable-xml \
--with-gd \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--with-freetype-dir=/usr/lib \
--enable-mbstring \
--enable-sockets \
--enable-exif \
--enable-fpm \
--with-openssl \
--enable-zip \
--with-mcrypt \
--disable-fileinfo
composerのインストール
sudo apt-get install libmcrypt libmcrypt-devel
sudo apt-get install php-mbstring
sudo apt-get install php-xml
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
composer -V
laravelのインストール
sudo apt-get install php-mbstring
composer create-project --prefer-dist laravel/laravel blog "5.2.*"
composer config -g repo.packagist composer https://packagist.phpcomposer.com
2、 : storage bootstrap/cache (window )
5、( ) Composer ( web ),
a、 .env.example , .env
b、 , .env , ( )
php artisan key:generate