Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18322

Re: docker: wordpress: Call to undefined function yaml_parse_file()

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php
Subject Re: docker: wordpress: Call to undefined function yaml_parse_file()
Date Sun, 2 Aug 2020 11:49:44 +0200
Lines 37
Message-ID <honghpFbqmeU1@mid.individual.net> (permalink)
References <rfrfc3$hih$1@gioia.aioe.org> <hod2inF52v4U1@mid.individual.net> <rfrvqu$fen$1@gioia.aioe.org> <hog0u9Fo9q6U3@mid.individual.net> <rg3ufh$109q$1@gioia.aioe.org> <hold6aFst6hU1@mid.individual.net> <rg5rdq$am9$1@gioia.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-15
Content-Transfer-Encoding 7bit
X-Trace individual.net /BJsrzzJhooFjJdtM6Js0wk7US35kDpw1F1XZONeXhlajBBcnu
Cancel-Lock sha1:i6LBm6C9HEHIG2pQkYYx4zPAGG8=
In-Reply-To <rg5rdq$am9$1@gioia.aioe.org>
Xref csiph.com comp.lang.php:18322

Show key headers only | View raw


SuperTex:

> Il 01/08/20 16:40, Arno Welzel ha scritto:
>> You should read the ANSWERS there and not the QUESTION.
> 
> E.g.:
> https://stackoverflow.com/a/49875802

Exaclty.

> Maybe I didn't understand it?

No, you just did not do what they said:

  #remove this
  #dockerfile: extensions
  #image: php:7-fpm
  #change with build ...

Then, add Dockerfile file to the docker/php folder:

FROM php:7-fpm

RUN apt-get update && apt-get install -y \
        libicu-dev \
    && docker-php-ext-install \
        intl \
    && docker-php-ext-enable \
        intl

Of course you have to adapt this to your needs (yaml instead of intl and
you don't need libicu-dev).


-- 
Arno Welzel
https://arnowelzel.de

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

docker: wordpress: Call to undefined function yaml_parse_file() SuperTex <a@b.invalid> - 2020-07-29 11:26 +0200
  Re: docker: wordpress: Call to undefined function yaml_parse_file() Arno Welzel <usenet@arnowelzel.de> - 2020-07-29 12:49 +0200
    Re: docker: wordpress: Call to undefined function yaml_parse_file() SuperTex <a@b.invalid> - 2020-07-29 16:07 +0200
      Re: docker: wordpress: Call to undefined function yaml_parse_file() Jerry Stuckle <jstucklex@attglobal.net> - 2020-07-29 10:33 -0400
        Re: docker: wordpress: Call to undefined function yaml_parse_file() SuperTex <a@b.invalid> - 2020-08-01 16:34 +0200
          Re: docker: wordpress: Call to undefined function yaml_parse_file() Jerry Stuckle <jstucklex@attglobal.net> - 2020-08-01 17:11 -0400
            Re: docker: wordpress: Call to undefined function yaml_parse_file() Arno Welzel <usenet@arnowelzel.de> - 2020-08-02 06:01 +0200
              Re: docker: wordpress: Call to undefined function yaml_parse_file() SuperTex <a@b.invalid> - 2020-08-02 09:44 +0200
              Re: docker: wordpress: Call to undefined function yaml_parse_file() Jerry Stuckle <jstucklex@attglobal.net> - 2020-08-02 14:22 -0400
                Re: docker: wordpress: Call to undefined function yaml_parse_file() "J.O. Aho" <user@example.net> - 2020-08-02 21:39 +0200
                Re: docker: wordpress: Call to undefined function yaml_parse_file() SuperTex <a@b.invalid> - 2020-08-03 09:39 +0200
                Re: docker: wordpress: Call to undefined function yaml_parse_file() Arno Welzel <usenet@arnowelzel.de> - 2020-08-03 11:12 +0200
          Re: docker: wordpress: Call to undefined function yaml_parse_file() Percival John Hackworth <pjh@nanoworks.com> - 2020-08-01 14:25 -0700
      Re: docker: wordpress: Call to undefined function yaml_parse_file() Arno Welzel <usenet@arnowelzel.de> - 2020-07-30 15:40 +0200
        Re: docker: wordpress: Call to undefined function yaml_parse_file() SuperTex <a@b.invalid> - 2020-08-01 16:33 +0200
          Re: docker: wordpress: Call to undefined function yaml_parse_file() Arno Welzel <usenet@arnowelzel.de> - 2020-08-01 16:40 +0200
            Re: docker: wordpress: Call to undefined function yaml_parse_file() SuperTex <a@b.invalid> - 2020-08-02 09:53 +0200
              Re: docker: wordpress: Call to undefined function yaml_parse_file() Arno Welzel <usenet@arnowelzel.de> - 2020-08-02 11:49 +0200
                Re: docker: wordpress: Call to undefined function yaml_parse_file() SuperTex <a@b.invalid> - 2020-08-02 15:28 +0200
                Re: docker: wordpress: Call to undefined function yaml_parse_file() Arno Welzel <usenet@arnowelzel.de> - 2020-08-03 01:50 +0200

csiph-web