設置 | 登錄 | 註冊

目前共有11篇帖子。

服务器已升级至php-8.4.10。

1樓 巨大八爪鱼 2025-7-30 19:33
【nghttp2-1.66.0】
wget https://github.com/nghttp2/nghttp2/releases/download/v1.66.0/nghttp2-1.66.0.tar.gz
tar xf nghttp2-1.66.0.tar.gz
cd nghttp2-1.66.0
./configure --prefix=/opt/nghttp2-1.66.0 --enable-shared
make
sudo make install
cd ..

【httpd-2.4.65】
wget https://dlcdn.apache.org/httpd/httpd-2.4.65.tar.gz
tar xf httpd-2.4.65.tar.gz
cd httpd-2.4.65/srclib
wget https://dlcdn.apache.org/apr/apr-1.7.6.tar.gz
tar xf apr-1.7.6.tar.gz
mv apr-1.7.6 apr
wget https://dlcdn.apache.org/apr/apr-util-1.6.3.tar.gz
tar xf apr-util-1.6.3.tar.gz
mv apr-util-1.6.3 apr-util
cd ..
./configure --prefix=/opt/httpd-2.4.65 --enable-deflate --enable-expires --enable-mpms-shared=all --with-mpm=event --enable-rewrite --enable-so --with-included-apr --enable-ssl --with-ssl=/opt/openssl-1.1.1w --enable-modules=most --enable-mods-shared=all --enable-http2 --with-nghttp2=/opt/nghttp2-1.66.0
make
sudo make install
cd ..

【php-8.4.10】
wget https://www.php.net/distributions/php-8.4.10.tar.gz
tar xf php-8.4.10.tar.gz
cd php-8.4.10
sudo dnf install sqlite
sudo dnf install sqlite-devel
sudo dnf config-manager --enable crb
sudo dnf install oniguruma-devel
./configure --prefix=/opt/php-8.4.10 --with-apxs2=/opt/httpd-2.4.65/bin/apxs --enable-bcmath --enable-mbstring --with-bz2 --with-curl --with-gettext --with-mysqli --with-pdo-mysql --with-pgsql --with-pdo-pgsql --enable-gd --with-freetype --with-jpeg --with-openssl --with-tidy --with-zlib OPENSSL_CFLAGS=-I/opt/openssl-1.1.1w/include OPENSSL_LIBS="-L/opt/openssl-1.1.1w/lib -lssl -lcrypto"
make
sudo make install
sudo cp php.ini-production /opt/php-8.4.10/lib/php.ini
cd ..

【mod_jk-1.2.50】
wget https://dlcdn.apache.org/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.50-src.tar.gz
tar xf tomcat-connectors-1.2.50-src.tar.gz
cd tomcat-connectors-1.2.50-src/native
./configure --prefix=/opt/tomcat-connectors-1.2.50 --with-apxs=/opt/httpd-2.4.65/bin/apxs
make
sudo make install
cd ../..
2樓 巨大八爪鱼 2025-7-30 19:33
以前的旧配置:
./configure --prefix=/opt/php-7.1.33 --with-apxs2=/opt/httpd-2.4.59/bin/apxs --enable-bcmath --enable-mbstring --with-bz2 --with-curl --with-gettext --with-mcrypt --with-mysqli --with-pdo-mysql --with-pgsql --with-pdo-pgsql --with-gd --with-freetype-dir --enable-gd-native-ttf --with-jpeg-dir --with-openssl=/opt/openssl-1.1.1w --with-tidy --with-zlib
3樓 巨大八爪鱼 2025-7-30 19:36
在Centos Stream 9系统下, php-7.1.33必须关闭pcre.jit,而php-8.4.10不用关闭pcre.jit,可以保持开启状态。
php-7.1.33:pcre.jit=0
php-8.4.10:;pcre.jit=1
4樓 巨大八爪鱼 2025-7-30 19:42
Apache/2.4.65 (Unix) OpenSSL/1.1.1w PHP/8.4.10 mod_jk/1.2.50
5樓 巨大八爪鱼 2025-7-30 19:45
php官方跳过了8.4.9这个版本。8.4.8过后直接就是8.4.10。
巨大八爪鱼PHP 8.4.10 Released!

The PHP development team announces the immediate availability of PHP 8.4.10. This is a security release.

Version 8.4.9 was skipped because it was tagged without including security patches.

All PHP 8.4 users are encouraged to upgrade to this version.

For source downloads of PHP 8.4.10 please visit our downloads page, Windows source and binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.

6樓 巨大八爪鱼 2025-8-27 14:51
httpd-2.4.65.tar.gz                  2025-07-23 11:31  9.4M  HTTP Server project
apr-1.7.6.tar.gz                     2025-05-16 12:29  1.1M  APR gzipped source
apr-util-1.6.3.tar.gz                2023-02-01 19:06  544K  APR-util gzipped source
tomcat-connectors-1.2.50-src.tar.gz  2024-08-12 21:23  1.7M  GZIP compressed document
7樓 巨大八爪鱼 2025-8-27 16:26

php8.4.9其实本来是有的,可以去github里面把源码包下载下来,自己在linux下编译。

因为这个版本没有包含某些安全补丁,所以没有写在php.net首页上。

巨大八爪鱼php8.4.8发布于6月4日。
php8.4.9发布于7月1日。
php8.4.10发布于7月2日。
php8.4.11发布于7月29日。

內容轉換:

回覆帖子
內容:
用戶名: 您目前是匿名發表。
驗證碼:
看不清?換一張
©2010-2025 Purasbar Ver3.0 [手機版] [桌面版]
除非另有聲明,本站採用知識共享署名-相同方式共享 3.0 Unported許可協議進行許可。