`
sunchaohui_koko
  • 浏览: 57230 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

linux下编译安装php的参数

    博客分类:
  • java
阅读更多

linux下编译安装php的参数

Fast-CGI:
./configure --prefix=/usr/local/php --enable-fastcgi --enable-force-cgi-redirect --with-config-file-path=/etc --with-zlib --with-mysql --with-xml --with-gd --enable-gd-native-ttf --enable-gd-jis-conv --with-freetype-dir --with-jpeg-dir --with-png-dir --enable-mbstring

PHP4-Server:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-config-file-path=/etc --with-gd --enable-gd-native-ttf --enable-gd-jis-conv --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --enable-xml --enable-mbstring

PHP4-Max:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --mandir=/usr/share/man --with-mysql=/usr/local/mysql --with-config-file-path=/usr/local/php/etc --with-openssl=/usr/local/openssl-0.9.7e --with-gd --enable-gd-native-ttf --enable-gd-jis-conv --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-bz2 --with-inifile --with-hyperwave --enable-xml --enable-track-vars --enable-dba --enable-dbase --enable-filepro --enable-ftp --enable-versioning --enable-memory-limit --enable-calendar --enable-session --enable-sockets --enable-sysmsg --enable-sysvsem --enable-sysvshm --enable-tokenizer --enable-overload --enable-ctype --enable-sigchild --enable-magic-quotes --enable-roxen-zts --enable-fastcgi --enable-dbx --enable-dio --enable-shmop --enable-mbstring

PHP5-Server:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib-dir --with-bz2 --with-tiff-dir --with-libxml-dir --with-gd --with-freetype-dir --with-jpeg-dir --with-png-dir --with-ttf --enable-mbstring --with-mysql=/usr/lib/mysql --with-config-file-path=/etc --disable-ipv6 --enable-gd-native-ttf

PHP5-Standard:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --mandir=/usr/share/man --with-openssl=/usr/local/openssl-0.9.7e --with-zlib --with-bz2 --with-tiff-dir --with-libxml-dir --enable-dio --enable-ftp --with-gd --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib-dir --with-bz2-dir --with-ttf --enable-mbstring --with-mysql=/usr/local/mysql --with-config-file-path=/usr/local/php/etc --disable-ipv6 --enable-gd-native-ttf

PHP5-Max:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --mandir=/usr/share/man --with-openssl=/usr/local/openssl-0.9.7e --with-zlib --with-bz2 --with-tiff-dir --with-libxml-dir --enable-dio --enable-ftp --with-gd --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib-dir --with-bz2-dir --with-ttf --with-inifile --enable-dba --enable-dbase --enable-filepro --enable-versioning --enable-memory-limit --enable-calendar --enable-sockets --enable-sysvsem --enable-sigchild --enable-magic-quotes --enable-roxen-zts --enable-fastcgi --enable-dbx --enable-shmop --enable-mbstring --with-mysql=/usr/local/mysql --with-config-file-path=/usr/local/php/etc --disable-ipv6 --enable-gd-native-ttf

分享到:
评论

相关推荐

    linux下安装php编译参数.docx

    linux下安装php编译参数.docx

    PHP完整编译参数

    完成的PHP编译参数! –prefix=/usr/local/php php 安装目录 –with-apxs2=/usr/local/apache/bin/apxs –with-config-file-path=/usr/local/php/etc 指定php.ini位置 –with-mysql=/usr/local/mysql ...

    linux平台编译安装PHP7并安装Redis扩展与Swoole扩展实例教程

    本文实例讲述了linux平台编译安装PHP7并安装...在编译php7的机器上已经有编译安装过php5.3以上的版本,从而依赖库都有了 本php7是编译成fpm-php 使用的,如果是apache那么编译参数应该为 --with-apxs2=/usr/local/apa

    linux下查看nginx、apache、mysql、php的编译参数.docx

    linux下查看nginx、apache、mysql、php的编译参数.docx

    LAMP(linux+apache+mysql+php)的基本配置

    linux下的WWW服务器的详细配置和有关参数解释,以及应用软件的安装。

    Linux下查看nginx apache mysql php的编译参数

    快速查看服务器软件的编译参数:1、nginx编译参数: your_nginx_dir/sbin/nginx -v 2、apache编译参数: cat your_apache_dir/build/config.nice 3、php编译参数: your_php_dir/bin/php -i |grep configure 4、...

    详解Linux下安装php环境并且配置Nginx支持php-fpm模块

    因为php安装需要编译,所以服务器应该保证gcc和g++环境的安装 首先释放安装包: tar -xvzf php-7.0.5.tar.gz cd php-7.0.5 接下来进行参数配置,配置前如果没有libxml2和libxml2-devel会报错,所以应该更新libxml2...

    Linux实验课设报告

    3、服务器配置与管理:在线安装Apache服务器、安装MariaDB、安装PHP、测试PHP页面、创建文件上传页面 4、Linux shell编程:输出Hello World、获取系统信息、获取网卡信息、监控CPU负载 5、Linux内核编译与运行:...

    一键搭建个人博客系统脚本,基于完全编译lnmp(linux,nginx,mysql,php)搭建wordpress博客系统

    一键搭建个人博客系统,基于完全编译lnmp(linux,nginx,mysql,php)搭建wordpress博客系统,同时使用fastcgi利用 LNMP 实现WordPress站点搭建,在搭建过程中需要使用PowerTools库,要记得打开,否则会报错,这个...

    LNMP(Nginx/MySQL/PHP)

    无需一个一个的输入命令,无需值守,编译安装优化编译参数,提高性能,解决不必要的软件间依赖,特别针对配置自动优化 作为 Web 服务器:相比 Apache,Nginx 使用更少的资源,支持更多的并发连接,体现更高的效率。 ...

    linux apache 日志 配置 优化 应用 论文

    本文主要介绍了如何成功的在Linux上安装与配置Apache、Php、Mysql,并且详细地说明了在安装过程中出现的一些问题解决方法。安装后的linux+apache+mysql+php网站能很好支持动态...Linux下查看编译参数 LAMP优化技巧

    详解Centos7 源码编译安装 Nginx1.13

    Centos 7编译安装php7.1之生产篇,并安装前文开头所提供的依赖包。此依赖组件包适用于Nginx任意版本。 新建web用户和组 $ /usr/sbin/groupadd www $ /usr/sbin/useradd -g www www $ ulimit -SHn 65535 //设置linux...

    详解linux centos yum安装LAMP环境

    但是安装的过程就大相径庭了,yum只需要3个命令就可以完成,源代码需要13个包,还得加压编译,步骤很麻烦,而且当做有时候会出错,源代码编译安装大概需要2个小时,好处在于可以自己配置地址等一些参数,yum安装半个...

    Linux环境下搭建php开发环境的操作步骤

    因为php和Apache等采用编译安装方式进行安装,然而编译安装方式,需要c,c++编译环境, 通过apt方式安装build-essential $ sudo apt-get install build-essential 编译安装的步骤一般分为: 编译配置 $ ./configure ...

    新版Linux Shell编程实训(全)20170518.docx

    任务13.2 脚本安装Linux Nginx Mysql PHP 和WordPress 207 13.2.1 初始化安装脚本编写 207 13.2.2 Mysql安装脚本的编写 209 13.2.3 PHP安装脚本的编写 211 13.2.4 Nginx安装脚本的编写 213 13.2.5 WordPress安装脚本...

    集群好书《高性能Linux服务器构建实战》 试读章节下载

    10.6 Linux下常见的性能分析工具 10.6.1 vmstat命令 10.6.2 sar命令 10.6.3 iostat命令 10.6.4 free命令 10.6.5 uptime命令 10.6.6 netstat命令 10.6.7 top命令 10.7 基于Web应用的性能分析及优化...

    PHP多进程编程总结(推荐)

    1. 准备 在动手之前,请确定你用的不是M$ Windows平台(因为我没有Windows)。...如果你和我一样是编译安装的PHP,那么需要重新编译安装PHP。在配置的时候记得加上–enable-pcntl参数即可。 $ cd /path/to/php_source_

    基于epoll实现http1.1服务器 支持php参数传递及html的c++网络服务器

    基于Tcp、epoll实现http1.1服务器 支持php参数传递及html,该程序可以直接放到虚拟机编译运行,测试结合浏览器进行访问

    金步国作品全集CHM电子书

    [原创文章]《Linux 2.6.19.x 内核编译配置选项简介》 [原创文章]Linux内核引导参数简介 [原创文章]Linux设备文件简介 [原创文章]Sysklogd 系统日志记录器 [原创文章]简单、严谨、安全 —— Dcron 简介 [原创...

Global site tag (gtag.js) - Google Analytics