amazon linuxでcakephp3を構築しているところなのですが、
php70のインストールを事前に行っているのにmigrationを実行する際に
console
1Minimum PHP version: 5.6. You are using: 5.3.29
と言われてしまいます。
ansible
1- name: Add repository 'remi-repo' 2 yum: name=http://rpms.famillecollet.com/enterprise/remi-release-6.rpm state=present 3 become: yes 4 when: has_repo.stat.exists == false
ansible
1- name: php install 2 yum: name=php state=installed enablerepo=remi-php70 disablerepo=amzn-main 3 become: yes 4 notify: httpd restart 5 6- name: php dependencies 7 yum: name={{ item }} enablerepo=remi-php70 disablerepo=amzn-main state=installed 8 with_items: 9 - php-mbstring 10 - php-intl 11 - php-pdo 12 - php-mysql 13 become: yes 14 notify: httpd restart
どなたか原因がわかる方、対応方法を教えていただけないでしょうか。
console
1[ec2-user@ip-172-31-20-0 ~]$ rpm -qa | grep php 2php-common-5.3.29-1.8.amzn1.x86_64 3php-pdo-5.3.29-1.8.amzn1.x86_64 4php-cli-5.3.29-1.8.amzn1.x86_64 5php-mysql-5.3.29-1.8.amzn1.x86_64 6php-intl-5.3.29-1.8.amzn1.x86_64 7php-5.3.29-1.8.amzn1.x86_64 8php-mbstring-5.3.29-1.8.amzn1.x86_64
追記
amzn-mainレポジトリがそもそも邪魔をしているような気がしてきました。
一応disableしてはいるのですが、これでは足りないのかもと。
そちらの線も調べてみます。
回答3件
あなたの回答
tips
プレビュー