PHP extension and circle CI

php
circle.yml

#1

Hello,

I need to install a php5-imap extension for my project, and It’s impossible to do that with a pre dependency or something else…

I configure circleci to use the php 5.6.14 and it will install the php-imap for php 5.3 (default version)

I just added in my circle.yml
machine: php: version: 5.6.14 dependencies: pre: - sudo apt-get install php5-imap

How can I install the PHP imap extension & run the test without problem ?

Thanks by advance.

Regards


#2

- "sudo apt-get install php5-imap || true" - "ln -s /usr/lib/php5/20121212/imap.so ~/.phpenv/versions/$(phpenv global)/lib/php/extensions/no-debug-non-zts-20131226/imap.so" - "ln -s /usr/share/php5/imap/imap.ini ~/.phpenv/versions/$(phpenv global)/etc/conf.d/imap.ini"


#3