Ubunt 22.04 SSL & PHP Problem

razzera

New member
Joined
Nov 27, 2022
Messages
10
Hi

I got a new server that has openSSL 3.0 and i cant get php 7.3 and 7.1 to work. Is there anyway to solve this issue ?
 
check here:
Also I'm not sure how then it will work with webserver/exim and others compiled with system default openssl 3.0
 
It's all custom, I would advise against doing that, because you most likely will run into trouble (and surely in the future) if you can't do that yourself (or hire a professional to do it). Might break things after updates too.

Best advise: It's a new server, so have it reinstalled with an OS version which is not using Openssl 3.0. For example use Almal Linux 8.7 instead of 9.x, same for other versions.
Also be aware for the future that this is something you will encounter.

Edit: Even better advise.... get rid of these EOL PHP versions. Or maybe try Cloudlinux if you want to keep them supported for a while.
 
I think i managed to install php 7.3.33 somehow.

I see that php 8.1 is installed in /usr/local/php81/lib/php

php 7.3.33 got installed in /opt/php-7.3.33/include/php. What can i do to make it work in directadmin ?


root@ubuntu-instance1:/usr/local/directadmin/custombuild# find / -name "php"

/root/php-7.3.33/sapi/cli/php
/opt/php-7.3.33/include/php
/opt/php-7.3.33/bin/php
/opt/php-7.3.33/lib/php
/opt/php-7.3.33/php

/usr/local/php81/include/php
/usr/local/php81/bin/php
/usr/local/php81/lib/php
/usr/local/php81/php
/usr/local/php81/php/php
 
I think i got php 7.3 installed but my webpage still gives me socket errors, anyone know why ?

php 7.3
root@ubuntu-instance1:/usr/local/directadmin/custombuild# apt policy php7.3-cli
php7.3-cli:
Installed: 7.3.33-8+ubuntu22.04.1+deb.sury.org+1
Candidate: 7.3.33-8+ubuntu22.04.1+deb.sury.org+1
Version table:
*** 7.3.33-8+ubuntu22.04.1+deb.sury.org+1 500
500 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main arm64 Packages
100 /var/lib/dpkg/status

Configfile
root@ubuntu-instance1:/usr/local/directadmin/custombuild# sudo php-fpm7.3 -t
[29-Nov-2022 18:55:00] NOTICE: configuration file /etc/php/7.3/fpm/php-fpm.conf test is successful

error in php log for user
[Tue Nov 29 18:51:12.152508 2022] [proxy:error] [pid 230034:tid 281471704756288] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /usr/local/php73/sockets/user.sock (*:80) failed
[Tue Nov 29 18:51:12.152535 2022] [proxy_fcgi:error] [pid 230034:tid 281471704756288] [client 199.58.107.247:47021] AH01079: failed to make connection to backend: httpd-UDS
 
Last edited:
Back
Top