Skip to content
This repository was archived by the owner on Oct 31, 2020. It is now read-only.
This repository was 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

@macmladen

Description

@macmladen

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? 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions