GithubHelp home page GithubHelp logo

sineverba / php56xc Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 38 KB

Docker image for PHP5.6 with Xdebug and Composer

License: MIT License

Dockerfile 45.06% Makefile 54.94%
docker docker-image php php5-6 php56-cli xdebug composer

php56xc's Introduction

php56xc: Docker image for PHP5.6.x + Xdebug + Composer

Docker image built from PHP5.6.x CLI official + Xdebug + Composer, multiarchitectures.

CD / CI
Semaphore CI Build Status
Circle CI CircleCI
Docker Hub docker pull sineverba/php56xc:1.8.0 - Link to image

Short tags are OFF.

Image ready to use as alias for development.

Do you use it? Star it!

Versions

Github / Docker Image tag PHP Version Composer version XDebug Multiple Architectures ?
latest 5.6.40 1.10.27 2.5.5 linux/amd64,linux/arm/v6,linux/arm/v7
1.8.0 5.6.40 1.10.27 2.5.5 linux/amd64,linux/arm/v6,linux/arm/v7
1.7.0 5.6.40 1.10.27 2.5.5 linux/amd64,linux/arm/v6,linux/arm/v7
1.6.0 5.6.40 1.10.26 2.5.5 linux/amd64,linux/arm/v6,linux/arm/v7
1.5.0 5.6.40 1.10.26 2.5.5 linux/amd64,linux/arm/v6,linux/arm/v7
1.4.0 5.6.40 1.10.25 2.5.5 linux/amd64,linux/arm/v6,linux/arm/v7
1.3.0 5.6.40 1.10.22 2.5.5 linux/amd64,linux/arm/v6,linux/arm/v7
1.2.0 5.6.40 1.10.21 2.5.5 linux/amd64,linux/arm/v6,linux/arm/v7
1.1.0 5.6.40 1.10.20 2.5.5 linux/amd64,linux/arm/v6,linux/arm/v7

OpCache and settings

During development, you can enable/disable opcache_validate_timestamps with

# docker-compose.yml
services:
  app:
    environment:
      PHP_OPCACHE_VALIDATE_TIMESTAMPS: 1

Update local image

$ docker pull sineverba/php56xc:1.8.0

PHP modules

$ docker run --rm sineverba/php56xc php -m

[PHP Modules]
bcmath
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
hash
iconv
json
libxml
mbstring
mhash
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
Phar
posix
readline
Reflection
session
SimpleXML
SPL
sqlite3
standard
tokenizer
xdebug
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib

[Zend Modules]
Xdebug
Zend OPcache

Add image as alias

$ cd ~
$ nano .bashrc
$ alias php56='docker run -it -w /data -v ${PWD}:/data --entrypoint php --rm sineverba/php56xc:1.8.0'
$ alias composer56='docker run -it -w /data -v ${PWD}:/data --entrypoint "/usr/bin/composer" --rm sineverba/php56xc:1.8.0'

Issues with memory limit (on composer)

$ php -d memory_limit=-1 /usr/bin/composer require [...]

php56xc's People

Contributors

sineverba avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.