设置 | 登录 | 注册

目前共有6篇帖子。

伺服器已升級至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.

内容转换:

回复帖子
内容:
用户名: 您目前是匿名发表。
验证码:
看不清?换一张
©2010-2025 Purasbar Ver3.0 [手机版] [桌面版]
除非另有声明,本站采用知识共享署名-相同方式共享 3.0 Unported许可协议进行许可。