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


Groups > comp.lang.php > #18302

docker: wordpress: Call to undefined function yaml_parse_file()

From SuperTex <a@b.invalid>
Newsgroups comp.lang.php
Subject docker: wordpress: Call to undefined function yaml_parse_file()
Date 2020-07-29 11:26 +0200
Organization Aioe.org NNTP Server
Message-ID <rfrfc3$hih$1@gioia.aioe.org> (permalink)

Show all headers | View raw


$ curl http://localhost:8000

Among other things, appears:

Fatal error: Uncaught Error: Call to undefined function 
yaml_parse_file() in /var/www/html/wp-content/plugins/mytest/main.php

I suppose you need to install the php-imap extension (or something similar).
How you do it?

Here is my docker-compose.yml file:

version: '3.3'

services:
    db:
      image: mysql:5.7
      volumes:
        - dbdata:/var/lib/mysql
      restart: always
      environment:
        MYSQL_ROOT_PASSWORD: somewordpress
        MYSQL_DATABASE: wordpress
        MYSQL_USER: wordpress
        MYSQL_PASSWORD: wordpress

    wordpress:
         container_name: mytestplugin
         depends_on:
             - db
         image: wordpress:latest
         ports:
             - "8000:80"
         restart: always
         environment:
            WORDPRESS_DB_HOST: db:3306
            WORDPRESS_DB_USER: wordpress
            WORDPRESS_DB_PASSWORD: wordpress
         volumes:
             - .:/var/www/html/wp-content/plugins/mytest

volumes:
     dbdata:

Back to comp.lang.php | Previous | NextNext 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