Sign inSign up

openeuler/php

Sponsored OSS

By openeuler

•Updated 17 days ago

Image
0

709

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.11-oe2403sp4⁠php 8.5.11 on openEuler 24.03-LTS-SP4amd64, arm64
8.5.10-oe2403sp4⁠php 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:7b61547ae…

Size

136.2 MB

Last updated

17 days ago

docker pull openeuler/php

This week's pulls

Pulls:

75

Last week