LAMP with multi php version
How to use:
#docker pull hoangkien1020/lamp:multiphp
#docker run -d --rm -it -p 8080:80 hoangkien1020/lamp:multiphp
#Access:
domain/IP:8080
Switch between Multiple PHP: (Example)
a2dismod php7.4
a2enmod php5.6
service apache2 restart
update-alternatives --set php /usr/bin/php5.6
update-alternatives --set phar /usr/bin/phar5.6
update-alternatives --set phar.phar /usr/bin/phar.phar5.6
Content type
Image
Digest
Size
300.6 MB
Last updated
about 6 years ago
docker pull hoangkien1020/lamp:multiphp