[
Edit 2006-08-23
]
2006-08-23
[
Edit 环境
]
环境
编译器 i686-apple-darwin8-gcc-4.0.1
PHP版本 5.1.5
[
Edit 编译配置
]
编译配置
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/Library/Frameworks/libxml.framework/ --with-gd --with-zlib --with-bz2 --enable-dba --enable-exif --enable-filepro --enable-ftp --with-openssl-dir=/usr/ --with-png-dir --with-jpeg-dir --enable-mbstring --with-ming --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-embedded-mysqli --with-mhash --with-mcrypt --with-pdo-sqlite --enable-shmop --enable-sockets --enable-soap --enable-ucd-snmp-hack --enable-sqlite-utf8 --with-curl=/usr/include/curl --enable-memory-limit --enable-zend-multibyte
[
Edit 遇到的问题
]
遇到的问题
./configure的时候遇到Cannot find OpenSSL's
这个错误。这是因为进行了这个设定--with-opensss-dir=/usr/include/openssl,只需要改成--with-opensss-dir=/usr即可
collect2: ld returned 1 exit status ; make: *** [libs/libphp5.bundle] Error 1 ..这个可能是因为在mac osx下,官方编译的版本和curl有冲突,我不能确认究竟是什么问题,但是通过以下的几个方法的任意一个都可以解决这个问题。
把--with-curl=/usr/include/curl去掉
把--with-mysql --enable-embedded-mysqli去掉
重新编译mysql或者使用5.0以下的mysql版本
[
Edit 2006-09-09
]
2006-09-09
[
Edit 环境
]
环境
gcc 4.0 linux
php5.1.6
[
Edit 编译选项
]
编译选项
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr --with-zlib --with-bz2=/usr/bin/bzip2 --enable-dba --enable-exif --enable-filepro --enable-ftp --with-openssl-dir=/usr/local/ssl --with-png-dir --with-jpeg-dir --enable-mbstring --with-mysql=/usr/local/mysql --enable-embedded-mysqli --with-mhash=/usr/local/include/mcrypt.h --with-mcrypt=/usr/local/include/mcrypt.h --with-pdo-sqlite --enable-shmop --enable-sockets --enable-soap --enable-ucd-snmp-hack --enable-sqlite-utf8 --with-curl=/usr/local/lib
[
Edit 需要的一些库
]
需要的一些库
bzip2
,
zlib
,
OpenSSL
,
Mcrypt
,
mhash
,
curl
,
Ming
Config........0.000272989273071 SECs
Instantiate..0.0642340183258 SECs
Render......0.00128293037415 SECs
This wiki is under
GPL
and the latest version can be found
here
.
php编译纪录
Navigator
2006-08-23
环境
编译配置
遇到的问题
2006-09-09
环境
编译选项
需要的一些库
KeyShortCuts
o - login/logout
e - edit
h - histories
v - recently views
m - recently modifies
w - go home
[ - go to previous
] - go to next
u - lock/unlock
c - passwd
Accesskey(s) - save
AccessKey(c) - discard