Tag: PHP 5.6

用php和sendmail发送邮件testingdocker容器

我在Ubuntu的16.04。 我有一个(testing)docker(docker组成)容器运行PHP 5.6和Apache 2.4。 随着生产平板(无docker)邮件发送与sendmail。 如何发送testing邮件在docker集装箱(与sendmail)? 预先感谢回复。

使用不支持的软件包 – 在Docker中使用php5和ubuntu 15.04非LTS

我们的应用程序运行在PHP 5.6上,需要运行OCI8。 我们find了工作OCI和PHP版本的特定组合,但是在这个不支持的Ubuntu上。 现在我们的Dockerfiles停止工作了 – 当: FROM ubuntu:15.04 RUN apt-get update 有错误: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/vivid/main/source/Sources 404 Not Found [IP: 91.189.88.152 80] 有没有解决scheme,例如一些旧版本的存档,如phpBrew等?

如何在debian上安装bcmath:jessie php5.6?

我正在docker容器上运行一个linux实例。 这是一个debian:与PHP 5.6的杰西。 我想安装bcmath模块,但是我没有成功。 有人知道如何做到这一点? root@1419c032c35f:/etc/php5/fpm# apt install php5.6-bcmath Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package php5.6-bcmath E: Couldn't find any package by regex 'php5.6-bcmath'