目前共有11篇帖子。 字體大小:較小 - 100% (默認)▼  內容轉換:台灣正體▼
 
點擊 回復
324 10
伺服器已升級至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 回復
一派掌門 二十級
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日。
  2025-8-27 16:29 回復
巨大八爪鱼:【php-8.4.9源碼包下載地址】
Windows用:https://github.com/php/php-src/archive/refs/tags/php-8.4.9.zip
Linux用:https://github.com/php/php-src/archive/refs/tags/php-8.4.9.tar.gz
  2025-8-27 16:31 回復
巨大八爪鱼https://php.watch/versions/8.4/releases/8.4.9
這裡面也有。
  2025-8-27 21:17 回復

回復帖子

內容:
用戶名: 您目前是匿名發表
驗證碼:
(快捷鍵:Ctrl+Enter)
 

本帖信息

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