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: Wed, 29 Jul 2020 12:49:58 +0200 Lines: 21 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Trace: individual.net 64Vi3DJZEiYli3glUQ0HiQjNEBqyCM+R8VbncZftq4nXADIadZ Cancel-Lock: sha1:OAOr18FM0Htzdh60P9V2onO0iC4= In-Reply-To: Xref: csiph.com comp.lang.php:18303 SuperTex: > $ 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). No - YAML has nothing to do with IMAP. YAML is handled php-yaml. If you created this plugin yourself you should think about using plain PHP files for configuration instead of YAML. Developing WordPress plugins which depend on the YAML extension is not a good idea. -- Arno Welzel https://arnowelzel.de