An open API service indexing awesome lists of open source software.

https://github.com/beardocker/imdock-cap56

php5.6 + apache
https://github.com/beardocker/imdock-cap56

apache php56

Last synced: 3 months ago
JSON representation

php5.6 + apache

Awesome Lists containing this project

README

        

imdock-cap56
====================================================

## What's this:

Centos(Nginx + PHP5.6)

* you can easy install PHP Framework (ex: Laravel)

* you can use xdebug mode by PHPStorm(2017.2 or latest)

* this project use management by docker-compose

* you can use this for Laravel-5 PHP Framework


## How to install:

~ $ mkdir {project-name}
~ $ cd {project-name}
~/{project-name} $ git clone https://github.com/imagine10255/imdock-cap56.git
~/{project-name} $ cd imdock-cap56

#### change your custom settting (container_name: {project-name})

~/{project-name}/imdock-cap56 $ vim ./docker-compose-yml
~/{project-name}/imdock-cap56 $ docker-compose up

#### open browser, testing your host-ip, see the phpinfo is success! ctrl+c close this
#### now, you can move the your project to website dir

   ~/{project-name}/imdock-cap56 $ vim ./site-enable/default.conf

#### setting your custom apache config (volumes: ./website:/var/www → ../{project-dir}:/var/www)

~/{project-name}/imdock-cap56 $ vim ./docker-compose-yml
~/{project-name}/imdock-cap56 $ vim ./conf/apache.conf
~/{project-name}/imdock-cap56 $ docker-compose up -d

## Reference architecture:

```txt
{project-name}
├── imdock-cap56
│ ├── conf/
│ ├── sites-enable/(apache website setting)
│ ├── website(sample phpinfo)
│ ├── Dockerfile
│ └── docker-compose.yml
└── {project-dir}
└── ...
```

## How to and other docker-compose use the same network :

#if you not have group network, you can create this, and other docker-compose use this network setting
~ $ docker network create --driver bridge imdockgroup


## How to change setting:

* You just look at this directory you will understand (config/*)

* When the settings are complete, restart the container

## PHP Extend:
- [x] PHP5.6
- [x] mbstring
- [x] mcrypt
- [x] php-dom, php-domxml, php-wddx, php-xsl
- [x] php-mysqli, php_database
- [ ] mongodb
- [ ] redis
- [ ] pgsql
- [x] php-mssql
- [x] php56w-pdo_sqlite, php56w-sqlite3
- [ ] apcu
- [x] gd
- [ ] imap
- [x] imagick
- [x] zend-opcache
- [x] memcache
- [x] xdebug