phpearth / alpine Goto Github PK
View Code? Open in Web Editor NEW๐ง **Deprecated** PHP.earth Alpine Linux repository
License: MIT License
๐ง **Deprecated** PHP.earth Alpine Linux repository
License: MIT License
Currently repos.php.earth server is down and is being fixed...
22 Nov 2018
PHP 7.3.0RC6 Released
:-) :-) :-)
When building PHP on Alpine 3.8 the following warning appears:
Found OpenRC directory (/etc/conf.d or /etc/init.d) but name doesn't end with -openrc
nudge nudge ;)
running make private-key
gives error Extra arguments given.
i've narrowed it down, it tries to execute:
/v3.9 $ openssl genrsa -out phpearth.rsa.priv 4096 --build --force-recreate
Extra arguments given.
genrsa: Use -help for summary.
/v3.9 $ openssl version
OpenSSL 1.1.1b 26 Feb 2019
/v3.9 $
likely the syntax changed in openssl 1.0 -> 1.1?
http://php.net/archive/2019.php#id2019-01-10-2
Its a security release :) So I'm hopeful for a quick deployment :)
https://secure.php.net/releases/7_3_0.php :-)
Thanks again for your awesome repo...
TODO: check if it can be solved - fatal: not a git repository (or any of the parent directories): .git
Currently Memcached on PHP 7.3 can't be built yet.
Forked from phpredis/phpredis#1397 (comment)
Firstly, not sure if this is the right place or if this is an Apline issue, but... hey ho.
Alpine Linux has PHP 7.3 beta3 available, and 4.1.1 of php7.3-redis
I'm using docker to build a container with PHP 7.3 beta3 with the above.
On installation I get the error below
On running PHP at the command line I get the same error below
No errors :)
Error:
"_zval_ptr_dtor: symbol not found"
PHP Warning: PHP Startup: Unable to load dynamic library 'redis' (tried: /usr/lib/php/7.3/modules/redis (Error loading shared library /usr/lib/php/7.3/modules/redis: No such file or directory), /usr/lib/php/7.3/modules/redis.so (Error relocating /usr/lib/php/7.3/modules/redis.so: _zval_ptr_dtor: symbol not found)) in Unknown on line 0
DockerFile:
FROM alpine:latest
ADD https://repos.php.earth/alpine/phpearth.rsa.pub /etc/apk/keys/phpearth.rsa.pub
RUN apk update \
&& echo "https://repos.php.earth/alpine/v3.8" >> /etc/apk/repositories \
&& apk add --no-cache supervisor composer git openssh ca-certificates curl wget zlib-dev procps \
php7.3 \
php7.3-dev \
php7.3-fpm \
php7.3-curl \
php7.3-zip \
php7.3-mbstring \
php7.3-pcntl \
php7.3-posix \
php7.3-iconv \
php7.3-intl \
php7.3-pdo_mysql \
php7.3-tokenizer \
php7.3-dom \
php7.3-redis \
php7.3-xml \
php7.3-simplexml \
php7.3-json \
php7.3-sodium \
php7.3-opcache \
php7.3-shmop \
php7.3-xmlwriter \
php7.3-common
# <snip>
EXPOSE 9000
CMD ["php-fpm"]
Currently YAML PECL extension can't be built for PHP 7.3 yet.
Hi,
Not sure if it's a bug with this repo or the release process but the file https://repos.php.earth/alpine/phpearth.rsa.pub is missing.
This project needs multiple maintainers to be a success.
Waiting weeks for releases of security releases is not acceptable. I appreciate its a side project but for this project to be a success it needs to have multiple maintainers so that builds can be made in the absence of volunteer help.
As the build instructions are incomplete, and in a previous ticket you alluded to the fact that dedicated hardware/environment was needed, maybe we could encourage you to document all that and open this project (which my business and I guess others depend on). :-)
Thank you very much for this awesome PHP repo. A few weeks ago Alpine 3.8 released and I wonder if you are planning to release a 3.8 branch of the PHP.earth Alpine repo?
I have installed the php7-fpm
package from the repositories you provide in an apline 3.7 GNU/Linux virtual machine. When I try to launch php-fpm
for some reason I get the following error:
[05-May-2018 13:14:14] ERROR: Unable to create the PID file (/run/php/php-fpm7.2.pid).: No such file or directory (2)
[05-May-2018 13:14:14] ERROR: FPM initialization failed
I receive the response if I run the following command:
sudo php-fpm
Furthermore I launched it as a service via:
sudo /etc/init.d/php-fpm7.2 start
But when I try to look for the runninc process it does not find it as the following commands show:
webserver:~$ ps -A | grep php-fpm
2120 user 0:00 grep php-fpm
webserver:~$ ps -A | grep php
webserver:~$ ps -A | grep php*
2128 user 0:00 grep php*
webserver:~$ ps -A | grep -e "/php.*/"
2132 user 0:00 grep -e /php.*/
webserver:~$ ps -A php*
PID USER TIME COMMAND
2022 user 0:00 sshd: user@pts/0
2023 user 0:00 -bash
2134 user 0:00 ps -A php*
Also if I look over the log file /var/log/php/7.2/php-fpm.log
I get the following piece of log:
[05-May-2018 13:21:18] NOTICE: configuration file /etc/php/7.2/php-fpm.conf test is successful
[05-May-2018 13:21:18] ERROR: Unable to create the PID file (/run/php/php-fpm7.2.pid).: No such file or directory (2)
[05-May-2018 13:21:18] ERROR: FPM initialization failed
Do you know why php-fpm
fails to launch?
It seems that the same issue as the existing issue has occurred.
#28
https://repos.php.earth/alpine is not reachable now.
Are there some alternative to add to my dockerfile?
Please recover quickly.
Thanks a lot.
cc @petk
Currently Xdebug doesn't yet work on PHP 7.3
@@ -346,6 +349,7 @@
package() {
install="$pkgname.post-install"
+ provides="php=$pkgver-r$pkgrel php7=$pkgver-r$pkgrel"
replaces="php php7"
cd "$builddir"
as a result of these, 7.1 and 7.3 can be installed in parallel, while 7.2 cann not be installed in parallel with any version.
i don't think there should be conflicts between the packages, should allow installing any version in parallel, and symlinks to unversioned paths could left undefined, i.e probably last install will win.
Currently there is some error popping up when compiling extensions for different versions of PHP at the same time...
make package p="php7.1-extension php7.2-extension php7.3-extension"
Hi, just wondering if you guys are planning to work on a patch for OLS 1.6.5?
https://repos.php.earth/alpine is not reachable.
Are there some alternative to add to my dockerfile?
Thanks a lot
Common name: repos.php.earth
SANs: repos.php.earth
Valid from September 3, 2019 to December 2, 2019
Serial Number: 04ace46232f899cc4f89847448985f7aba6d
Signature Algorithm: sha256WithRSAEncryption
Issuer: Let's Encrypt Authority X3
Checket at: 2019-12-03T04:11:00Z
Hi!
As https://repos.php.earth/alpine is down, is there any alternative to this repo? My image is working with this repo. And I am getting this message. ADD failed: Get https://repos.php.earth/alpine/phpearth.rsa.pub: dial tcp 51.15.52.237:443: connect: connection refused
Thanks in advance.
After installing php7.3-imagick php throws errors:
# php -v
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /usr/lib/php/7.3/modules/imagick (Error loading shared library /usr/lib/php/7.3/modules/imagick: No such file or directory), /usr/lib/php/7.3/modules/imagick.so (Error relocating /usr/lib/php/7.3/modules/imagick.so: _rc_dtor_func: symbol not found)) in Unknown on line 0
PHP 7.3.0 (cli) (built: Dec 6 2018 15:50:20) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.0-dev, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.0, Copyright (c) 1999-2018, by Zend Technologies
Seems like php7.3-imagick is rather old (is not not being built automatically?)
php7.3-7.3.0-r10 x86_64 {php7.3} (PHP-3 BSD LGPL2 MIT Zend) [installed]
php7.3-imagick-3.4.3-r0 x86_64 {php7.3-imagick} (PHP-3) [installed]
Base php is r10, imagick is r0.
Hi Team,
I am using below approach on Alpine linux to build my PHP container.
Approach:
apk add --no-cache wget ca-certificates
&& wget -O /etc/apk/keys/phpearth.rsa.pub https://repos.php.earth/alpine/phpearth.rsa.pub
&& echo "https://repos.php.earth/alpine/v3.8" >> /etc/apk/repositories
However, I started receiving below error since yesterday while building docker container. Can you please help me on this and what is this issue. I am not getting this error while accessing site in browser.
Error:
#9 4.239 fetch https://repos.php.earth/alpine/v3.8/x86_64/APKINDEX.tar.gz
#9 4.530 139816800693196:error:14007086:SSL routines:CONNECT_CR_CERT:certificate verify failed:ssl_clnt.c:1132:
#9 4.533 ERROR: https://repos.php.earth/alpine/v3.8: Permission denied
#9 4.533 WARNING: Ignoring https://repos.php.earth/alpine/v3.8: No such file or directory
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.