Skip to content

lucidprogrammer/php7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This image has built in php7, apache, composer, php bindings for pgsql, redis, soap etc.

General Purpose : Used for projects involving simplesamlphp, soap etc.

While running this, map the files you want to deploy to /var/www/html. For example, if your host side folder is ./app, use

docker run -v $(pwd)/app:/var/www/html .....

Environment Variables

DOCUMENT_ROOT : If you don't specify this environment variable, /var/www/html is used by default. API_TOKEN: If you specify a gitbub api token, this will help composer, so it won't ask for token during install. PORT: default listen port, useful if deploying to heroku

Using redis

use Redis;


$redis = new Redis();
$redis->connect('redis');
echo $redis->ping();

About

General Purpose PHP 7 for dev projects for saml,soap,pgsql,redis

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published