1.安装nginx软件出现的错误 Ps Qq^/
g1muT.W]S
collect2: ld returned 1 exit status O[y.3>l[s
make[1]: *** [objs/nginx] Error 1 `R0>;TdT
make[1]: Leaving directory `/root/nginx-1.3.13' 5.F.mUO
make: *** [build] Error 2 (qlIQC
[root@centos nginx-1.3.13]# 4?g~GI3
uNl<=1
解决方法: +cM; d4
lZV]Z3=p'0
[root@centos nginx-1.3.13]# yum install pcre-* f(
hK>H
[root@centos nginx-1.3.13]# ./configure --user=nginx --group=nginx \ .\X/o!xC
--with-pcre --without-http_gzip_module \ Hx2UDHF
--without-http_rewrite_module --without-http_proxy_module \ ~ YO')
--without-http_upstream_ip_hash_module \ HI#}M|4n
--without-http_upstream_least_conn_module \ m LPQ5`_
--without-http_upstream_keepalive_module \ 39S}/S)
--with-http_stub_status_module --with-http_flv_module \ yopEqO
--with-http_mp4_module l Vo](#W
Dd<gYPC
测试: b.47KJz t
4o9#B:N]J
[root@centos nginx-1.3.13]# Sq/M
%z5'
..................................... s#&jE
GBug
-e "s|%%ERROR_LOG_PATH%%|/usr/local/nginx/logs/error.log|" \ .Di+G-#aEs
< man/nginx.8 > objs/nginx.8 aWm0*W"(@
make[1]: Leaving directory `/root/nginx-1.3.13' JMuUj_^}7
[root@centos nginx-1.3.13]# echo $? --没有错误 Ooc,R(
0 lEQ63)Z
[root@centos nginx-1.3.13]# 1m|Oi%i4
FgE6j;
3lMmSKN
=\J^_g4-l
2.安装php出现对mysql的错误 <4^ _dJ9=
@bmu4!"d
./configure --prefix=/usr/local/php5.2.17 --enable-fpm \ hx+a.N
--enable-dba --enable-ftp --with-gd \ mJc'oG-
--with-jpeg-dir --with-png-dir --with-ldap \ 9j49#wG0"B
--enable-mbstring --with-mysql=/usr/local/mysql5.0/ \ ?:s `}b
--with-mysqli=/usr/local/mysql5.0/bin/mysql_config \ 28d:
--with-ncurses --with-pdo-mysql --with-snmp --enable-zip R5X<8(4p
........................................................................ IJD'0/R'c
checking whether to enable PDO support... yes |D$U{5}Mv
checking for PDO_DBLIB support via FreeTDS... no ]8htJ]<|Q
checking for Firebird support for PDO... no uWG'AmK_#E
checking for MySQL support for PDO... yes Iu2RK
checking for mysql_config... not found qe"5&