V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  CodeCodeStudy  ›  全部回复第 1 页 / 共 64 页
回复总数  1266
1  2  3  4  5  6  7  8  9  10 ... 64  
❮ ❯
1 天前
回复了 keepfun 创建的主题 › 云计算 › 阿里云 99 的又可以续费了
我的还是显示 ¥1009.19/1 年
你们是自费的吗
12 天前
回复了 plasticee 创建的主题 › 程序员 › Ruby 是一门值得学习的语言么?
十年前 ruby 都过时了
@CaoJiWuMing #10 通过共享通道来实现高并发
@Fish1024 #4 两根比较粗
@gpt5 #13 嚯嚯,这也能赢?
这个是用 bun 运行的,在旧版本的 windows 10 上运行不了
@Seanfuck #8 古董项目了,还在用 mysql_connect 这个函数
@chenzhg33 #7 通过 https://github.com/vperetti/php-cve-2026-109618-109619-backports 下载的 patch 修改源码,然后用源码编译,不知道修复了没有,我也不知道怎么验证
@yjd #6 不知道,我没在 windows 上编译过 PHP
@herozzm #4 确认不了,你可以去 https://github.com/vperetti/php-cve-2026-109618-109619-backports 看看 patch 文件是怎么写的
上面的 php -i | grep Configure 写错了,应该是 php -i | grep Configuration
不知道能不能抵御漏洞,反正重新编译后的 PHP 5.4 能正常运行
./configure 的时候配置到其他目录,比如 --prefix=/www/server/php/54-patch ,那么日志等会写入到这个目录里,启动的时候会报错,会写入到 /www/server/php/54-patch/var/log/slow.log ,中间目录不存在。
而且通过 phpinfo 看到
extension_dir /www/server/php/54-patch/lib/php/extensions/no-debug-non-zts-20100525
include_path .:/www/server/php/54-patch/lib/php

所以还是直接 --prefix=/www/server/php/54 即可,在 make install 直接备份原目录并停止旧的 PHP-FPM 进程
第 3 步的 php -i | grep Configure 的输出是 Configure Command => './configure' '--prefix=/www/server/php/54' '--with-config-file-path=/www/server/php/54/etc' '--enable-fpm' '--with-fpm-user=www' '--with-fpm-group=www' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--with-iconv-dir' '--with-freetype-dir=/usr/local/freetype' '--with-jpeg-dir' '--with-png-dir' '--with-zlib' '--with-libxml-dir=/usr' '--enable-xml' '--disable-rpath' '--enable-bcmath' '--enable-shmop' '--enable-sysvsem' '--enable-inline-optimization' '--with-curl=/usr/local/curl' '--enable-mbregex' '--enable-mbstring' '--with-mcrypt' '--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--with-openssl=/usr/local/openssl' '--with-mhash' '--enable-pcntl' '--enable-sockets' '--with-xmlrpc' '--enable-zip' '--enable-soap' '--with-gettext' '--disable-fileinfo' '--enable-intl' '--build=arm-linux'

带有引号的,复制到 AI 对话框里,让 AI 处理一下就好
1  2  3  4  5  6  7  8  9  10 ... 64  
❮ ❯
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2566 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms · UTC 11:45 · PVG 19:45 · LAX 03:45 · JFK 06:45
♥ Do have faith in what you're doing.