• Home
    • English
    • 中文
  • About Us
  • Services
    • SEO Services
    • Website Design Service
  • Projects
  • Docs
  • Blog
    • Affiliate
    • Ecommerce
    • Frontend
    • linux
      • nginx
    • PHP
      • Magento
      • wordpress
    • Python
    • SEO
    • Web
  • Contact Us

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

What's Hot

Design a plugin for wordpress woocommerce to display a tab to show attachment download

2024-04-06

TranslatePress v2.6.9 – WordPress Translation Plugin

2023-12-25

A Linux batch script converting pictures to webp format

2023-07-10
Facebook Twitter Instagram
  • 中文
  • English
Facebook Twitter Instagram Pinterest VKontakte
Weilai Tech Weilai Tech
  • Home
    • English
    • 中文
  • About Us
  • Services
    • SEO Services
    • Website Design Service
  • Projects
  • Docs
  • Blog
    • Affiliate
    • Ecommerce
    • Frontend
    • linux
      • nginx
    • PHP
      • Magento
      • wordpress
    • Python
    • SEO
    • Web
  • Contact Us
Weilai Tech Weilai Tech
Home»virtualization»how to use docker to run php5.6 plus apache
virtualization

how to use docker to run php5.6 plus apache

OxfordBy Oxford2023-05-15No Comments1 Min Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Share
Facebook Twitter LinkedIn Pinterest Email

https://hub.docker.com/r/porchn/php5.6-apache

apache-php5 Supported tags

This repo used in Dockerhub url ‘https://hub.docker.com/r/porchn/php5.6-apache/‘

  • latest Link to Dockerfile
  • pdftk Link to dockerfile

Software

  • PDFTK

Module install in images

  • gd
  • iconv
  • mcrypt
  • intl
  • mysql
  • mysqli
  • pdo_mysql
  • zip
  • mbstring
  • mod_rewrite

External extension

  • Memcached
  • Composer
  • OpenSSL
  • Imagick

Volume

  • /var/www
  • /var/log/apache2
  • /etc/apache2/sites-enabled

Port

  • 80
  • 443

How to use with Docker

docker run --name testphp -p 8080:80 -d -v $(pwd):/var/www/html porchn/php5.6-apache

Use with Docker-compose

  apache:
    image: porchn/php5.6-apache
    container_name: apache
    ports:
      - "80:80"
    volumes:
      - ./apache2/conf:/etc/apache2/sites-enabled
      - ./apache2/www:/var/www
      - ./apache2/logs:/var/log/apache2
    environment:
      - TZ=Asia/Bangkok
    restart: always
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Avatar photo
Oxford

Related Posts

Running the Apache HTTP Server with PHP inside Docker

2023-05-15

Compile a Jekyll project without installing Jekyll or Ruby by using Docker

2022-01-07

run jekyll on docker

2022-01-06

Add and Use ISO Library Storage Repository in Xen XCP-ng

2021-12-26
Recent Posts
  • Design a plugin for wordpress woocommerce to display a tab to show attachment download
  • TranslatePress v2.6.9 – WordPress Translation Plugin
  • A Linux batch script converting pictures to webp format
  • Hearing aid listed company official website SEO case
  • how to use docker to run php5.6 plus apache
May 2023
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  
« Mar   Jul »
Tags
app branding design digital Docly docs etc faq fix github Helpdesk Image issue magento Manual marketing memecached Photography planing seo sequrity tips Travel ui/ux web WordPress 爬虫
Editors Picks
About Us

Guangzhou Weilai Technology is a foreign trade integrated marketing service provider focusing on Google as the drainage center and marketing self-built website as the carrier.

Email Us: [email protected]
Contact: +86 18676917505

Facebook Pinterest YouTube LinkedIn
Recent Posts
  • Design a plugin for wordpress woocommerce to display a tab to show attachment download
  • TranslatePress v2.6.9 – WordPress Translation Plugin
  • A Linux batch script converting pictures to webp format
  • Hearing aid listed company official website SEO case
  • how to use docker to run php5.6 plus apache
From Flickr
Website Design Case
© 2024 Copyright by Guangzhou Weilai Technology Co.,Ltd..
  • Home
  • About Us
  • SEO Services
  • Website Design Service
  • Projects
  • Blog
  • Contact Us

Type above and press Enter to search. Press Esc to cancel.