Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add yaml extension #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Keep yaml-dev installed
Otherwise:

Warning: PHP Startup: Unable to load dynamic library 'yaml' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20220829/yaml (Error loading shared library /usr/local/lib/php/extensions/no-debug-non-zts-20220829/yaml: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20220829/yaml.so (Error loading shared library libyaml-0.so.2: No such file or directory (needed by /usr/local/lib/php/extensions/no-debug-non-zts-20220829/yaml.so))) in Unknown on line 0
  • Loading branch information
macbre committed Apr 19, 2023
commit db9fca9e129ad2d7682845f1f2e79b58096f4d28
5 changes: 3 additions & 2 deletions 5 Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ RUN apk add \
libsodium-dev \
libxml2-dev \
libxslt-dev \
linux-headers
linux-headers \
yaml-dev

# fixes "sockets" compilation issues
# sendrecvmsg.c:128:19: error: invalid application of 'sizeof' to incomplete type 'struct cmsgcred'
Expand All @@ -45,7 +46,7 @@ RUN docker-php-ext-install \

# install yaml extensions from PECL
# https://pecl.php.net/package/yaml/2.2.3
RUN apk add --virtual build-deps autoconf gcc make g++ zlib-dev yaml-dev \
RUN apk add --virtual build-deps autoconf gcc make g++ zlib-dev \
&& pecl channel-update pecl.php.net \
&& pecl install yaml-2.2.3 && docker-php-ext-enable yaml \
&& apk del build-deps
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.