目前共有6篇帖子。 字體大小:較小 - 100% (默認)▼  內容轉換:不轉換▼
 
點擊 回復
27 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)
 

本帖信息

點擊數:27 回複數:5
評論數: ?
作者:巨大八爪鱼
最後回復:巨大八爪鱼
最後回復時間:2025-7-30 19:45
 
©2010-2025 Purasbar Ver2.0
除非另有聲明,本站採用創用CC姓名標示-相同方式分享 3.0 Unported許可協議進行許可。