Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sajetek-developer/php5.6-ols-ssl
Docker image w\php 5.6.40/7.4 running on Openlitespeed \w SSL enabled
https://github.com/sajetek-developer/php5.6-ols-ssl
centos centos7 docker dockerfile php5 php56
Last synced: 1 day ago
JSON representation
Docker image w\php 5.6.40/7.4 running on Openlitespeed \w SSL enabled
- Host: GitHub
- URL: https://github.com/sajetek-developer/php5.6-ols-ssl
- Owner: SaJeTek-Developer
- Created: 2024-07-09T23:25:51.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-09T23:36:38.000Z (4 months ago)
- Last Synced: 2024-10-13T12:03:43.228Z (about 1 month ago)
- Topics: centos, centos7, docker, dockerfile, php5, php56
- Language: Shell
- Homepage: https://hub.docker.com/r/sajetek/php5.6-ols-ssl
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[Docker image](https://hub.docker.com/r/sajetek/php5.6-ols-ssl) for old applications running php5.6.40 - Can also run applications on php 7.4.33
CentOS 7 with active repository (added from archives)
SSL enabled with selfsigned SSL certificate
Size: ~903MBHow to build:
docker build -t image-name .
Configurable:
EXPOSED PORTS: 80 443 7080
#ENV#
DEFAULT_PHP: 56
DOCUMENT_ROOT: /Configurable:
Set ENV DEFAULT_PHP to 56 or 74 to switch between lsphp56 or lsphp74
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-php5.6-ols-ssl -e "DOCUMENT_ROOT=/" -e "DEFAULT_PHP=56" docker.io/sajetek/php5.6-ols-ssl
docker run -d -p 8708:7080 -p 8000:80 -p 8443:443 --name sajetek-php5.6-ols-ssl -e "DOCUMENT_ROOT=/" -e "DEFAULT_PHP=56" sajetek/php5.6-ols-ssl -v
/some/host/path:/usr/local/lsws/Example/html
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
php5.6.40
- enabled by default
- ioncube_loader
- opcache
- bcmath
- bz2
- calendar
- ctype
- curl
- dba
- dom
- enchant
- exif
- fileinfo
- ftp
- gd
- gettext
- gmp
- iconv
- imap
- intl
- ldap
- mbstring
- mcrypt
- mysqlnd
- mysqlnd_mysql
- mysqlnd_mysqli
- odbc
- pdo
- pgsql
- phar
- posix
- pspell
- recode
- shmop
- simplexml
- snmp
- soap
- sockets
- sqlite3
- sysvmsg
- sysvsem
- sysvshm
- tidy
- tokenizer
- xml
- xmlwriter
- xsl
- zip
- pdo_mysqlnd
- pdo_odbc
- pdo_pgsql
- pdo_sqlite
- wddx
- xmlreader
- xmlrpc
- igbinary
- redis