Home > php教程 > php手册 > 编译php的配置参数

编译php的配置参数

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-21 08:59:21
Original
1094 people have browsed it

怕忘记, 记录再此. 这个两个服务器上的设置, 都只是参考.

php 4.3.11

./configure --prefix=/home/raid/system/php
--with-mysql=/home/raid/system/mysql/
--with-apxs=/home/raid/system/apache/bin/apxs
--with-gd --with-zlib
--with-freetype-dir=/usr/
--with-png-dir=/usr/
--with-jpeg-dir=/usr/
--disable-posix
--enable-memory-limit
--enable-zend-multibyte
--with-iconv
--enable-inline-optimization
--enable-magic-quotes
--enable-ftp

php 4.4.0

./configure --prefix=/usr/local/php
--with-apxs=/usr/local/apache/bin/apxs
--with-iconv=/usr/local
--enable-mbstring
--with-gd
--with-jpeg-dir=/usr/local
--with-png-dir=/usr/local
--with-freetype-dir=/usr/local
--with-ttf --enable-gd-native-ttf
--with-zlib-dir=/usr
--with-dom=/usr/local
--with-mysql=/usr/local
--with-ldap=/usr/local
--with-curl=/usr/local



Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
There is a problem with URl
From 1970-01-01 08:00:00
0
0
0
How to deal with failure to add
From 1970-01-01 08:00:00
0
0
0
Can sublime be replaced with another compiler?
From 1970-01-01 08:00:00
0
0
0
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template