๐ณ A Docker image based on shared hosts of most popular private companies
869
See: https://github.com/wellwelwel/php-shared-host-basedโ
A Docker image based on shared hosts of most popular private companies, pre-configured to operate in production environment and works for both amd64 and arm64.
It already has Composer installed.
docker pull wellwelwel/php:8-shared-based
docker run -p 8080:80 wellwelwel/php:8-shared-based
http://localhost:8080version: '3.9'
services:
app:
image: wellwelwel/php:8-shared-based
ports:
- '8080:80'
volumes:
- ./src:/srv/www/public_html
/srv/www/public_html
/srv/www/public_html/index.php/srv/www/public_html or /srv/www, also just copy your app contents into it ๐คน๐ปโโ๏ธ/usr/local/etc/php/php.ini/etc/apache2/sites-available/000-default.confOP Cache increases PHP code execution performance by storing a shared in-memory cache of pre-compiled code from application scripts.
Turn off opcache in .htaccess file to see your changes in real time:
php_flag opcache.enable Off
Turn on display_errors in .htaccess file to debug errors:
php_flag display_errors On
It's an image created for SVPS Projectโ ๐ง๐ป
Content type
Image
Digest
sha256:6993f7c2aโฆ
Size
199.2 MB
Last updated
almost 2 years ago
docker pull wellwelwel/php:8-shared-based