Skip to content

This small project exposes a php executable from a container instead of installing php locally

Notifications You must be signed in to change notification settings

nicolajknudsen/php-in-a-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

PHP in a box

This small project exposes a php executable from a container instead of installing php locally

Based on this answer on SO: https://stackoverflow.com/a/52421923

Run sudo cp php.sh /usr/local/bin/php followed by sudo chmod +x /usr/local/bin/php.

Start the php container with docker-compose up -d.

Test that it works by running php -v.

About

This small project exposes a php executable from a container instead of installing php locally

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages