Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: PHP and OpenSSL 3.x |
|
Author |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3089 Location: Hilversum, NL, EU
|
Posted: Mon 29 Aug '22 19:26 Post subject: PHP and OpenSSL 3.x |
|
|
See the discussion on the compatibility:
https://www.apachelounge.com/viewtopic.php?t=8819
No problems with OpenSSL 1.1.1m with PHP 7,8 and 8.1 both in Apache module and in mod_fcgid.
Answer from the PHP team
Thanks for the info! We were late to support OpenSSL 3 with PHP on Windows; actually we missed to upgrade for PHP 8.1 (PHP 8.0 and older are not compatible with OpenSSL 3 anyway), but only did so for PHP 8.2 which is currently in beta phase. This probably raises compatibility issues the other way round (PHP with OpenSSL 3, Apache with OpenSSL1.1). There is probably not much we can do, except for documenting the issue. I wonder, though, whether there are unresolvable incompatibilites, since the names of the OpenSSL DLLs are different.
Cheers,
Christoph |
|
Back to top |
|
Otomatic
![](images/avatars/24455e7e39169050f.png)
Joined: 01 Sep 2011 Posts: 195 Location: Paris, France, EU
|
Posted: Tue 30 Aug '22 9:09 Post subject: |
|
|
Hi,
Some tests with PHP 8.2.0 beta3 and Apache 2.4.54 64bit
- Mode Apache handler :
PHPIniDir "${APACHE_DIR}/bin"
LoadModule php_module "${INSTALL_DIR}/bin/php/php8.2.0/php8apache2_4.dll"
In order for PHP 8.2.0 to load correctly, without errors, the two dlls :
libcrypto-3-x64.dll
libssl-3-x64.dll
from PHP 8.2.0 must be copied or symlinked into the Apache bin folder.
- Mode FCGI PHP 8.2.0 with Apache mode handler using PHP 8.1.9
No problem |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3089 Location: Hilversum, NL, EU
|
Posted: Tue 30 Aug '22 10:25 Post subject: |
|
|
You used the VS16 version from Apachelounge ? |
|
Back to top |
|
Otomatic
![](images/avatars/24455e7e39169050f.png)
Joined: 01 Sep 2011 Posts: 195 Location: Paris, France, EU
|
Posted: Tue 30 Aug '22 11:01 Post subject: |
|
|
Hi,
Yes, I use the VS16 version from Apachelounge, but the 08-June-2022 version, not the 22 june version.
Code: | Server version: Apache/2.4.54 (Win64)
Apache Lounge VS16 Server built: Jun 5 2022 10:18:11
Server's Module Magic Number: 20120211:124
Server loaded: APR 1.7.0, APR-UTIL 1.6.1, PCRE 10.40 2022-04-14
Compiled using: APR 1.7.0, APR-UTIL 1.6.1, PCRE 10.40 2022-04-14
Architecture: 64-bit
Server MPM: WinNT
threaded: yes (fixed thread count)
forked: no
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/apache"
-D SUEXEC_BIN="/apache/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error.log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
|
|
|
Back to top |
|
JorgeCarousel
Joined: 14 Jul 2022 Posts: 15 Location: USA, New york
|
Posted: Tue 30 Aug '22 18:08 Post subject: |
|
|
Sorry, third wheeler here, do you have mod_http2 loaded in apache? if so, mod_php will not work with http2 or http3 when it comes out, you can only use it as FastCGI. |
|
Back to top |
|
Stray78
![](images/avatars/1138666473398adc46.jpg)
Joined: 15 Apr 2024 Posts: 22 Location: USA
|
Posted: Wed 03 Jul '24 4:15 Post subject: |
|
|
JorgeCarousel wrote: | Sorry, third wheeler here, do you have mod_http2 loaded in apache? if so, mod_php will not work with http2 or http3 when it comes out, you can only use it as FastCGI. |
I run http2 and PHP 8.3.8 as a module no problem. I have always used PHP as a module for the past 20 years. |
|
Back to top |
|
|
|
|
|
|