Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #18306
| 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 | Thu, 30 Jul 2020 15:40:23 +0200 |
| Lines | 35 |
| Message-ID | <hog0u9Fo9q6U3@mid.individual.net> (permalink) |
| References | <rfrfc3$hih$1@gioia.aioe.org> <hod2inF52v4U1@mid.individual.net> <rfrvqu$fen$1@gioia.aioe.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-15 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net m9WbP18hpAGo6XvsrxMVWQIgQwaTHgXGTDPi+QQMjGlyw0RaHc |
| Cancel-Lock | sha1:AqaIxFPXZJFU6pE1pS4xmT41RRw= |
| In-Reply-To | <rfrvqu$fen$1@gioia.aioe.org> |
| Xref | csiph.com comp.lang.php:18306 |
Show key headers only | View raw
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. -- 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