Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel 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: References: 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: Xref: csiph.com comp.lang.php:18322 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