Skip to content
This repository has been archived by the owner on Oct 31, 2020. It is now read-only.

PHP7: Adding 'php-cli' to same 'fpm' container with some dev tools #7

Open
macmladen opened this issue Aug 21, 2016 · 0 comments
Open

Comments

@macmladen
Copy link
Contributor

PHP 7.x CLI is actually available now so I was thinking about this division between CLI and FPM, maybe they should be merged?

There is some difference between lean one and one with both but it is about 10MB and that includes xdebug, opcache and composer and those are valuable tools.

These PHP modules are added:

        php7-opcache \
        php7-xdebug \
        php7-phar \
        php7 \

and Composer which is in path in /usr/local/bin. php7 is symlinked as php in /usr/bin

Configuration files are copied into their place at /etc/php7/conf.d/.

Xdebug is usually on port 9000 which is the same as php-fpm so I moved it to 9009 and expose it for local debuging tools.

I've built it and test it locally. There is pull request for this suggestion.

What do you think? 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant