-
Notifications
You must be signed in to change notification settings - Fork 5
php
The following versions are available to choose from, thanks to https://deb.sury.org:
- 5.6
- 7.0
- 7.1
- 7.2
By default, the following libraries/extensions are installed:
- php-mysql
- php-gd
- php-curl
- php-imap
- php-json
- php-opcache
- php-xml
- php-mbstring
- php-memcached
- php-zip
The php-fpm daemon is listening on TCP port 9000, and can be started/stopped as any standard service, named after the php version. Eg:
sudo service php7.0-fpm restart
sudo service php5.6-fpm restart
This is the "primary" container in most cases (ie, a vagrant ssh
is equivalent to vagrant ssh cli
), and the one you would spend time into, running commands
You can (and probably should) specify a GitHub token to use with Composer to avoid hitting GitHub API rate limit. You can do so by setting the composer_github_oauth_token variable. Preferably set this in your custom ~/.CodeEnigma/ce-vm/6.x/ce-vm-custom/config.yml file instead of the project config.yml.
Both the "fpm" and "cli" container can be independantly configured to use either Xdebug or Blackfire.
Optional: you can set the php_xdebug variable to 'no' to skip installing it. By default it is enabled on the "fpm" container, disabled on the "cli" one.
You will need to also configure the various tokens to use it.