Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dockette/php
:whale: Dockette Debian based PHP 5.6-8.3 + FPM + Composer.
https://github.com/dockette/php
composer docker dockette php php-fpm
Last synced: 1 day ago
JSON representation
:whale: Dockette Debian based PHP 5.6-8.3 + FPM + Composer.
- Host: GitHub
- URL: https://github.com/dockette/php
- Owner: dockette
- License: mit
- Created: 2015-12-10T18:44:11.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-24T19:32:44.000Z (8 months ago)
- Last Synced: 2024-03-24T20:34:04.644Z (8 months ago)
- Topics: composer, docker, dockette, php, php-fpm
- Language: Dockerfile
- Homepage:
- Size: 126 KB
- Stars: 67
- Watchers: 7
- Forks: 67
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Dockette / PHP
Ready-to-use Debian based images for PHP 5.6-8.3 with CLI or FPM and Composer preinstalled.
Trying to follow the latest releases with official PHP.
🕹 f3l1x.io | 💻 f3l1x | 🐦 @xf3l1x-----
## Usage
```
docker run -v /path/to/site:/srv dockette/php:8.3
docker run -v /path/to/site:/srv dockette/php:8.3-fpm
docker run -v /path/to/site:/srv dockette/php:8.2
docker run -v /path/to/site:/srv dockette/php:8.2-fpm
docker run -v /path/to/site:/srv dockette/php:8.1
docker run -v /path/to/site:/srv dockette/php:8.1-fpm
docker run -v /path/to/site:/srv dockette/php:8.0
docker run -v /path/to/site:/srv dockette/php:8.0-fpm
docker run -v /path/to/site:/srv dockette/php:7.4
docker run -v /path/to/site:/srv dockette/php:7.4-fpm
docker run -v /path/to/site:/srv dockette/php:7.3
docker run -v /path/to/site:/srv dockette/php:7.3-fpm
docker run -v /path/to/site:/srv dockette/php:7.2
docker run -v /path/to/site:/srv dockette/php:7.2-fpm
docker run -v /path/to/site:/srv dockette/php:7.1
docker run -v /path/to/site:/srv dockette/php:7.1-fpm
docker run -v /path/to/site:/srv dockette/php:7.0
docker run -v /path/to/site:/srv dockette/php:7.0-fpm
docker run -v /path/to/site:/srv dockette/php:5.6
docker run -v /path/to/site:/srv dockette/php:5.6-fpm
```**Base image**
```Dockerfile
FROM dockette/php:8.1-fpmRUN apt update && apt install -y curl
```## Documentation
### Linux packages
These images have preinstalled couple of linux packages: apt-transport-https ca-certificates git.
### PHP extensions
These images have preinstalled couple of PHP extensions: apcu, bcmath, bz2, calendar, cgi, cli, ctype, curl, fpm (in*-fpm), geoip, gettext, gd, intl, imagick, imap, ldap, mbstring, mcrypt (<7.2), memcached, mysql, pdo, pgsql redis, soap, sqlite3, ssh2 (<7.2), xmlrpc, xsl, zip.
### Composer
![Composer](https://avatars3.githubusercontent.com/u/837015?v=3&s=200)
This super image has also preinstalled [Composer](https://getcomposer.org).
### Customization
In case of customization PHP 5.6 - 8.3:
- /etc/php/{5.6-8.3}/{cli,cgi,fpm}/conf.d/991-custom.ini
## Development
See [how to contribute](https://contributte.org/contributing.html) to this package.
This package is currently maintaining by these authors.
-----
Consider to [support](https://github.com/sponsors/f3l1x) **f3l1x**. Also thank you for using this package.