Multiple PHP Versions

回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Multiple PHP Versions

文章 yehlu »

https://www.virtualmin.com/documentatio ... ultiplephp

代碼: 選擇全部

rpm -Uvh https://www.softwarecollections.org/repos/rhscl/php55/epel-6-x86_64/noarch/rhscl-php55-epel-6-x86_64-1-2.noarch.rpm
yum install php55 php55-php-mysqlnd php55-php-mbstring
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Re: Multiple PHP Versions

文章 yehlu »

代碼: 選擇全部

/opt/rh/php55/root/usr/bin/php /usr/local/bin/composer create-project --prefer-dist laravel/laravel laravel54
cd laravel54
/opt/rh/php55/root/usr/bin/php artisan optimize
/opt/rh/php55/root/usr/bin/php artisan key:generate
回覆文章

回到「CentOS」