Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #18310
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: docker: wordpress: Call to undefined function yaml_parse_file() |
| Date | 2020-08-01 16:40 +0200 |
| Message-ID | <hold6aFst6hU1@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> |
SuperTex: > Il 30/07/20 15:40, Arno Welzel ha scritto: >> SuperTex: >> >>> Il 29/07/20 12:49, Arno Welzel ha scritto: >>>> 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. >>> >>> I apologize. >>> I meant php-yaml extension (or something similar). >>> >>> But can't you just install php extensions in docker/wordpress? >> >> See this: >> >> <https://stackoverflow.com/questions/49864132/adding-php-extensions-using-docker-compose> >> >> But anyway: relying on php-yaml is not a good idea if you ever want to >> use your WordPress plugin anywhere outside your own local docker setup. >> > > -- SNIPPET --- > wordpress: > dockerfile: extensions > #image: wordpress:latest > --- END SNIPPET --- > > $ docker-compose build > The Compose file './docker-compose.yml' is invalid because: > Unsupported config option for services.wordpress: 'dockerfile' You should read the ANSWERS there and not the QUESTION. -- Arno Welzel https://arnowelzel.de
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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