Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sajetek-developer/php56-70-71-72-73-ols-ssl-centos7
Docker image - Openlitespeed with ssl ready, php 5.6.40|7.0|7.1|7.2|7.3, CentOS 7, Active repo, size ~983MB
https://github.com/sajetek-developer/php56-70-71-72-73-ols-ssl-centos7
centos centos7 docker dockerfile lsphp openlitespeed openlitespeed-image php php5 php56 php7 php70 php71 php72 php73
Last synced: 22 days ago
JSON representation
Docker image - Openlitespeed with ssl ready, php 5.6.40|7.0|7.1|7.2|7.3, CentOS 7, Active repo, size ~983MB
- Host: GitHub
- URL: https://github.com/sajetek-developer/php56-70-71-72-73-ols-ssl-centos7
- Owner: SaJeTek-Developer
- License: mit
- Created: 2024-07-12T02:31:43.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-22T15:06:55.000Z (7 months ago)
- Last Synced: 2025-01-19T17:55:52.538Z (22 days ago)
- Topics: centos, centos7, docker, dockerfile, lsphp, openlitespeed, openlitespeed-image, php, php5, php56, php7, php70, php71, php72, php73
- Language: Shell
- Homepage: https://hub.docker.com/r/sajetek/php56-70-71-72-73-ols-ssl-centos7
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# php56-70-71-72-73-ols-ssl-centos7
Openlitespeed with ssl ready, php 5.6.40 | 7.0.33 | 7.1.33 | 7.2.34 | 7.3.33, CentOS 7, Active repo, size ~983MB[Docker image](https://hub.docker.com/r/sajetek/php56-70-71-72-73-ols-ssl-centos7) for old applications running php5.6 to php7.3
CentOS 7 with active repository (added from archives)
SSL enabled with selfsigned SSL certificate
Size: ~983MBEXPOSED PORTS: 80 443 7080
Configurable:
#ENV#
DEFAULT_PHP: 56
DOCUMENT_ROOT: /
Configurable:
Set ENV DEFAULT_PHP to 56, 70, 71, 72, 73 to switch between lsphp versions
Set ENV DOCUMENT_ROOT to / for regular websites or /public for laravel applications etc. or as needed
How to run:
docker run -d -p 8708:7080 -p 8000:80 -p 8443:443 --name sajetek-php56-70-71-72-73-ols-ssl-centos7 -e "DOCUMENT_ROOT=/" -e "DEFAULT_PHP=56" docker.io/sajetek/php56-70-71-72-73-ols-ssl-centos7
docker run -d -p 8708:7080 -p 8000:80 -p 8443:443 --name sajetek-php56-70-71-72-73-ols-ssl-centos7 -e "DOCUMENT_ROOT=/" -e "DEFAULT_PHP=56" docker.io/sajetek/php56-70-71-72-73-ols-ssl-centos7 -v
/some/host/path:/usr/local/lsws/Example/html
WebAdmin Console (port 7080)
user: admin
pass: 123456
Modify the image if required via ssh for your needs
e.g. removing or adding modules, compiling another php etc.
image="docker.io/sajetek/php5.6-ols-ssl"
docker pull $image
container_id=$(docker run -d -it --name temp $image)
docker exec -it temp /bin/bash
#You are now chrooted into the image. type exit when finished
#Install more php versions or do what you need... add or remove modules etc.
#Type exit when finished
docker commit $container_id $image
docker stop $container_id
docker rm $container_idOpenlitespeed v1.8.1
- mod_rewrite
- mod_mime
- mod_headers
- mod_expires
- mod_auth_basic
lsphp
- 5.6.40
- 7.0.33
- 7.1.33
- 7.2.34
- 7.3.33