Reputation: 11
I have already added two files for the amazon elastic but configuration but it does not work.
.elasticbeanstalk\eb.config
files:
"/etc/php.d/project.ini" :
mode: "000644"
owner: root
group: root
content: |
extension=php_gmp.dll
.elasticbeanstalk\software.config
packages:
yum:
php7.0-gmp: []
Upvotes: 1
Views: 1012
Reputation: 1
After several days. this works for me,
commands:
command1:
command: sudo yum install -y php73-gmp
command2:
command: sudo restart httpd
Upvotes: 0
Reputation: 173
I was struggling with the same issue. The solution is to install php70-gmp and to add the extension to the ini:
In any.config:
container_commands:
01_install_gmp:
cwd: /tmp
command: |
sudo yum install -y php70-gmp
files:
/etc/php.d/z_project.ini:
mode: "000644"
owner: root
group: root
content: |
extension=gmp.so
Upvotes: 1