-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
install php failing on ubuntu jelly #125
Comments
I have the same issue with 7.4: When searching around I found it is something to do with openssl 3.0 which is supported in php 8.1 but not in lower version. https://bugs.php.net/bug.php?id=81278 |
For PHP 5.6 it seems that the libssl1.1.0 is the one supported (maybe lower), but for PHP 7.x you can just follow the steps below. This is the same fix when you try to install the sqlsrv (pdo) driver, the driver/extension seems to install ok but when you try to connect to the server... bam! Error 0x2746! First of all remove the current libssl packages you have installed and then follow the installation below WGET fileswget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/openssl_1.1.1-1ubuntu2.1~18.04.18_amd64.deb Note: They are still updating with security fixes the 1.1.1 version if the minor (major.feature.minor) version change, just access this link and see what is the last one: http://security.ubuntu.com/ubuntu/pool/main/o/openssl/ Install old packages$ sudo dpkg -i openssl_1.1.1-1ubuntu2.1 After that, check installed version:$ openssl version This will prevent your update manager from automatically upgrading these packages again:$ sudo apt-mark hold openssl libssl-dev libssl1.1:amd64 TL;DROf course if you have any application that actually need the Openssl 3.0 you'll need to unhold the packages install the updated libssl, use your app and then do the same with the older version of openssl if you want to use php with openssl again. Of source there should be a way of fixing it just linking to a specific folder where you can place all the older files yada yada but I really don't use older versions with PHP that much, and all in all we have docker :) |
I checked the build script and ran
then
I get
an error with
RSA_SSLV23_PADDING
not being defined.I got the same for 8.0.11.
Any ideas?
The text was updated successfully, but these errors were encountered: