目前共有6篇帖子。 字体大小:较小 - 100% (默认)▼  内容转换:不转换▼
 
点击 回复
39 5
服务器已升级至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.

  2025-7-30 19:45 回复

回复帖子

内容:
用户名: 您目前是匿名发表
验证码:
(快捷键:Ctrl+Enter)
 

本帖信息

点击数:39 回复数:5
评论数: ?
作者:巨大八爪鱼
最后回复:巨大八爪鱼
最后回复时间:2025-7-30 19:45
 
©2010-2025 Purasbar Ver2.0
除非另有声明,本站采用知识共享署名-相同方式共享 3.0 Unported许可协议进行许可。