编译安装PHP以及需要的基本扩展库(php7.4)
2024-09-08 12:07:36
安装配置选项1:
./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-curl --with-freetype-dir --with-gd --with-gettext --with-iconv-dir --with-kerberos --with-libdir=lib64 --with-libxml-dir --with-mysqli --with-openssl --with-pcre-regex --with-pdo-mysql --with-pdo-sqlite --with-pear --with-png-dir --with-jpeg-dir --with-xmlrpc --with-xsl --with-zlib --with-bz2 --with-mhash --enable-fpm --enable-bcmath --enable-libxml --enable-inline-optimization --enable-gd-native-ttf --enable-mbregex --enable-mbstring --enable-openssl --enable-pdo_mysql --enable-opcache --enable-pcntl --enable-shmop --enable-soap --enable-sockets --enable-sysvsem --enable-sysvshm --enable-xml --enable-zip
安装配置选项2:
./configure --prefix=/www/server/php/ --with-config-file-path=/www/server/php//etc --enable-fpm --with-fpm-user=www --with-fpm-group=www --enable-mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-iconv-dir --with-zlib --enable-xml --disable-rpath --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl=/usr/local/curl --enable-mbregex --enable-mbstring --enable-intl --enable-ftp --with-openssl=/usr/local/openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --with-gettext --enable-fileinfo --enable-opcache --with-sodium
最新文章
- Javascript 中的神器——Promise
- Java 中常用缓存Cache机制的实现
- ccc 旋转
- java实现数据库连接池
- VMware NAT模式 Cent OS IP配置
- jQuery插件开发总结
- WordPress使用SQLite全新安装
- IPython,让Python显得友好十倍的外套——windows XP/Win7安装详解
- java Socket(详解)转载
- rest_framework之解析器、路由控制、分页
- 传统C/S软件的";断骨增高";
- ArrayList 和 LinkList 的区别
- zepto中的属性设置
- Git命令速查表
- python 防死锁机制
- [PGM] What is Probabalistic Graphical Models
- 【转】Vue中mintui的field实现blur和focus事件
- js 奇葩技巧之隐藏代码
- Windows操作系统上各种服务使用的端口号, 以及它们使用的协议的列表
- POJ 3164 Command Network ( 最小树形图 朱刘算法)