Sign inSign up

openeuler/php

Sponsored OSS

By openeuler

Updated about 13 hours ago

Image
0

126

openeuler/php repository overview

Quick reference

PHP | openEuler

Current PHP docker images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.

PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

Learn more on PHP.

The tag of each PHP docker image is consist of the version of PHP and the version of basic image. The details are as follows

TagsCurrentlyArchitectures
8.5.10-oe2403sp4php 8.5.10 on openEuler 24.03-LTS-SP4amd64, arm64

Usage

In this usage, users can select the corresponding {Tag} based on their requirements.

  • Pull the openeuler/php image from docker

    docker pull openeuler/php:{Tag}
    
  • Start a PHP container from the image

    docker run -it --name my-php openeuler/php:{Tag}
    
  • Run a PHP script inside the container

    docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp openeuler/php:{Tag} php your-script.php
    
  • View container running logs

    docker logs -f my-php
    
  • To get an interactive shell

    docker exec -it my-php /bin/bash
    

Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.

Tag summary

Content type

Image

Digest

sha256:8258b5ff6

Size

136.2 MB

Last updated

about 13 hours ago

docker pull openeuler/php