Sign inSign up

warmos/php-apache

By warmos

Updated about 3 years ago

ARM64: Newest PHP with apache based on archlinuxARM

Image
0

500

warmos/php-apache repository overview

Apache, PHP with mysqli, php-imagick, ldap

ARM64 Only! This image is based on: https://hub.docker.com/r/warmos/archlinuxarm

You can run php with apache on ARM64 server using this image. Image comes with preinstalled php-imagick module and compiled with mysqli support!

Current version of php can be found in official repo: https://archlinuxarm.org/packages/aarch64/php-apache

I do personally recommend to override default php.ini and httpd.conf. For example the default php configuration has commented out mysqli extension etc.

Here is sample docker-compose.yml I am using. It creates directories in the same directory as docker-compose.yml

docker-compose.yml

services:
  apache:
    image: warmos/php-apache:latest
    build: .
    hostname: 'myhostname'
    container_name: 'apache'
    ports:
      - '80:80'
      - '443:443'
    volumes:
      - './webroot:/srv/http'
      - './php/php.ini:/etc/php/php.ini'
      - './config/extra:/etc/httpd/conf/extra'
      - './config/httpd.conf:/etc/httpd/conf/httpd.conf'
      - './logs:/var/log/httpd/'

Tag summary

Content type

Image

Digest

sha256:7cb3253c9

Size

233.5 MB

Last updated

about 3 years ago

docker pull warmos/php-apache