Closed uhlhosting closed 2 years ago
aarch64
?
- What Rocky Linux version are you running?
- How are you installing PHP exactly?
- Is your server running ARM?
aarch64
?
Rocky Linux 8.6 PHP is pkg deployed under ApisCP web hosting panel. No I am not on ARM.
In fact it seems this setup is with self compiled PHP, and I used PECL for extra needed packages. Yet your package is not pushed to PECL.
In fact here is a bit described the way PHP is deployed. https://docs.apiscp.com/admin/PHP-FPM/#native-builds .
I'll take a look in a RockyLinux container. If PHP is compiled manually (as opposed to via package managers), it may be necessary to manually install Relay as well. We'll look into creating a custom installer for those cases.
I'll update this thread once I have a short-term solution, however.
@uhlhosting: Can you provide us with a Docker file that simulates your RL 8.6 linux and how PHP is set up on it?
Alternatively you may also just follow the CentOS installation instructions: https://github.com/cachewerk/relay/blob/main/docker/centos7.Dockerfile
I may need to outline these in great detail somewhere. Our docs aren't doing that right now.
@uhlhosting: Can you provide us with a Docker file that simulates your RL 8.6 linux and how PHP is set up on it?
I could provide you with access to a testing machine. Yet not with docker, apiscp is a perfect cpanel / plesk alternative that uses ansible and does not run on docker.
I was able to put together a quick and dirty Dockerfile that installs Relay on a fresh instance of RockyLinux 8.
Note that in addition to building PHP manually, I am also building and installing php 8.0
, msgpack-php
, igbinary
, and lz4
manually as well. You likely don't need to do that since you've already got PHP and the extensions installed.
The final section is where I'm getting the relay binary and adding it to PHP.
The only real hiccup you could face has to do with system libraries, but there aren't many you need.
[root@2aa1a8f7d286 /]# ldd $(php-config --extension-dir)/relay.so
linux-vdso.so.1 (0x00007ffcc07bc000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3c46123000)
libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007f3c45e8f000)
libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007f3c459a6000)
libzstd.so.1 => /lib64/libzstd.so.1 (0x00007f3c45702000)
liblz4.so.1 => /lib64/liblz4.so.1 (0x00007f3c454e5000)
libanl.so.1 => /lib64/libanl.so.1 (0x00007f3c452e1000)
libc.so.6 => /lib64/libc.so.6 (0x00007f3c44f1c000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3c465c8000)
libz.so.1 => /lib64/libz.so.1 (0x00007f3c44d04000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f3c44b00000)
libztd
and liblz4
are the only two you may need to install.
@uhlhosting: Can you provide us with a Docker file that simulates your RL 8.6 linux and how PHP is set up on it?
I could provide you with access to a testing machine. Yet not with docker, apiscp is a perfect cpanel / plesk alternative that uses ansible and does not run on docker.
That would be helpful yes.
I would need your ssh key if so email it to cosmin @ uhlhost.net .
I've added Rocky Linux 8.6 docker examples:
Closing this in favor of: https://github.com/cachewerk/relay/issues/26
Even with an install script, we still need an extensive guide on how to install Relay.
I'll publish this here: https://relay.so/docs/1.x/installation
Hi,
I have all the prerequirities deployed with pecl, any idea why is not working with pecl modules?