锘??xml version="1.0" encoding="utf-8" standalone="yes"?>欧美精品电影,免费久久99精品国产自,欧美日韩一区二区视频在线http://www.shnenglu.com/byc/category/18416.html瀛︿範(fàn)璧勬枡璁板綍zh-cnWed, 16 May 2012 22:22:49 GMTWed, 16 May 2012 22:22:49 GMT60centos 6.2 鎵嬪姩緙栬瘧 apche php 緙栬瘧http://www.shnenglu.com/byc/archive/2012/01/11/163982.html鍏彾鑽?/dc:creator>鍏彾鑽?/author>Wed, 11 Jan 2012 03:14:00 GMThttp://www.shnenglu.com/byc/archive/2012/01/11/163982.htmlhttp://www.shnenglu.com/byc/comments/163982.htmlhttp://www.shnenglu.com/byc/archive/2012/01/11/163982.html#Feedback0http://www.shnenglu.com/byc/comments/commentRss/163982.htmlhttp://www.shnenglu.com/byc/services/trackbacks/163982.htmlwget http://apache.etoak.com//httpd/httpd-2.2.21.tar.gz
tar xzvf httpd-2.2.21.tar.gz
cd httpd-2.2.21
./configure --enable-so --enable-mods-shared=most
make
make install

vi /usr/local/apache2/conf/httpd.conf #緙栬緫閰嶇疆鏂囦歡
鎵懼埌錛?ServerName www.example.com:80
淇敼涓猴細(xì)ServerName localhost:80
鎵懼埌錛欴irectoryIndex index.html
淇敼涓猴細(xì)DirectoryIndex index.html index.php
鎵懼埌錛歄ptions Indexes FollowSymLinks
淇敼涓猴細(xì)Options FollowSymLinks #涓嶆樉紺虹洰褰曠粨鏋?br />澧炲姞
<FilesMatch \.php$>
    SetHandler application/x-httpd-php
</FilesMatch>

cp /usr/local/apache2/bin/apachectl /etc/init.d/httpd 
vi /etc/init.d/httpd
 鍦ㄦ枃浠舵渶鍓嶉潰鎻掑叆涓嬮潰鐨勮錛屼嬌鍏舵敮鎸乧hkconfig鍛戒護(hù)錛?nbsp;
#!/bin/sh
# chkconfig: 2345 85 15
# description: Apache is a World Wide Web server.
錛堟敞錛氬湪榪愯綰?/3/4/5涓姞鍏ユ湇鍔★紝鍚姩欏哄簭85錛屽仠姝㈤『搴?5錛?br />
chkconfig --add httpd
service htpd start


yum install mysql-devel
yum install libpng-devel
yum install libjpeg-devel
yum install libxml2-devel

wget http://sourceforge.net/projects/mcrypt/files/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz/download
tar xzvf libmcrypt-2.5.8.tar.gz
cd libmcrypt-2.5.8
./configure
make
make install


//wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz
//tar xzvf libiconv-1.14.tar.gz
//cd libiconv-1.14 
//./configure
//make
//make install



wget http://museum.php.net/php5/php-5.1.6.tar.gz
tar xzvf php-5.1.6.tar.gz
cd php-5.1.6
./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5/etc --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd --with-xlib --with-mysqli --with-jpeg-dir=/usr/lib/jpeg --with-zlib-dir=/usr/lib/zlib
//--with-mcrypt

make 
緙栬瘧鍑洪敊  ext/mysqli/mysqli_api.c:145: error: 'gptr' undeclared (first use in this function)
澶勭悊  ext/mysqli/mysqli_api.c and replace all occurrances of gptr with char*

make install

緙栬緫 httpd.conf 鏂囦歡浠ヨ皟鐢?PHP 妯″潡銆侺oadModule 琛ㄨ揪寮忓彸杈圭殑璺緞蹇呴』鎸囧悜 緋葷粺涓殑 PHP銆備互涓婄殑 make install 鍛戒護(hù)鍙兘宸茬粡瀹屾垚浜嗚繖浜涳紝浣嗗姟蹇呰媯鏌ャ?LoadModule php5_module modules/libphp5.so

cp php.ini-dist /usr/local/php5/etc/php.ini





PHP鎵╁睍mcrypt緙栬瘧鏃舵彁紺猴細(xì)configure: error: *** libmcrypt was not found


闇瑕佸畨瑁卨ibmcrypt+mhash+mcrypt

鍏ㄩ儴緙栬瘧瀹夎錛屽畨瑁呭埌mcrypt鐨勬椂鍊欏嚭鐜頒簡闂

./config
checking for libmcrypt - version >= 2.5.0... no
*** Could not run libmcrypt test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding LIBMCRYPT or finding the wrong
*** version of LIBMCRYPT. If it is not finding LIBMCRYPT, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
configure: error: *** libmcrypt was not found

瑙e喅鏂規(guī)硶濡備笅錛氳繍琛?export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

鐒跺悗make 錛?make install

瀹屾垚




]]>
centos5 php5.1.6 鍗囩駭鍒?php5.2.17http://www.shnenglu.com/byc/archive/2011/12/29/163068.html鍏彾鑽?/dc:creator>鍏彾鑽?/author>Thu, 29 Dec 2011 01:54:00 GMThttp://www.shnenglu.com/byc/archive/2011/12/29/163068.htmlhttp://www.shnenglu.com/byc/comments/163068.htmlhttp://www.shnenglu.com/byc/archive/2011/12/29/163068.html#Feedback0http://www.shnenglu.com/byc/comments/commentRss/163068.htmlhttp://www.shnenglu.com/byc/services/trackbacks/163068.htmlhttp://dl.iuscommunity.org/pub/ius/stable/Redhat/5/i386/ius-release-1.0-8.ius.el5.noarch.rpm
root@linuxbox ~]# wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/i386/epel-release-5-4.noarch.rpm
root@linuxbox ~]# rpm -Uvh ius-release*.rpm epel-release*.rpm
$ sudo yum install yum-plugin-replace
[root@linuxbox ~]# yum replace php --replace-with php52

鏉ユ簮  http://wiki.iuscommunity.org/Doc/ClientUsageGuide


浠諱竴縐嶅姙娉?br />

CentOS 5.x 緋葷粺涓嬩嬌鐢▂um 鍗囩駭php鍒?.2.x 鏈鏂逛究鏂規(guī)硶

鍏堝皢浠ヤ笅鍦板潃瀵煎叆銆?/p>

# rpm --import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

# vi /etc/yum.repos.d/CentOS-Base.repo 澧炲姞涓嬮潰淇℃伅

[utterramblings]
name=Jason's Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

鎵ц鍛戒護(hù)錛岃嚜鍔ㄥ崌綰с?br />
yum update php -y
yum install libmcrypt -y



]]>
php xdebughttp://www.shnenglu.com/byc/archive/2011/12/25/162770.html鍏彾鑽?/dc:creator>鍏彾鑽?/author>Sun, 25 Dec 2011 04:07:00 GMThttp://www.shnenglu.com/byc/archive/2011/12/25/162770.htmlhttp://www.shnenglu.com/byc/comments/162770.htmlhttp://www.shnenglu.com/byc/archive/2011/12/25/162770.html#Feedback0http://www.shnenglu.com/byc/comments/commentRss/162770.htmlhttp://www.shnenglu.com/byc/services/trackbacks/162770.html

yum install php-devel
wget http://www.xdebug.org/files/xdebug-2.0.3.tgz

tar zxvf  xdebug-2.0.3.tgz
cd xdebug-2.0.3
phpize
./configure --enable-xdebug --with-php-config=/usr/bin/php-config
make && make install


[Xdebug]
zend_extension=/usr/lib/php/modules/xdebug.so
xdebug.default_enable=On
xdebug.auto_trace=On
xdebug.collect_params=On
xdebug.collect_return=On
xdebug.profiler_enable=On
xdebug.remote_autostart=On
xdebug.remote_enable=On
xdebug.remote_host=192.168.1.*
xdebug.remote_port=9000
xdebug.remote_handler=dbgp


闂:
autoconf 鐗堟湰闈?.61
# wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.gz
# tar -zvxf autoconf-2.61.tar.gz
# cd autoconf-2.61/
# ./configure && make && make install




]]>
蜜桃麻豆www久久| 久久人人爽人人爽人人av东京热| 国内精品人妻无码久久久影院 | 久久亚洲日韩看片无码| 一本久道久久综合狠狠爱| 久久国产精品成人片免费| 国产精品综合久久第一页| 精品久久久无码21p发布| 99久久精品免费观看国产| 色欲av伊人久久大香线蕉影院| 久久99国产精品99久久| 久久亚洲春色中文字幕久久久| 一本久久a久久精品vr综合| 99久久超碰中文字幕伊人| 久久久久亚洲精品无码蜜桃 | 国产精品禁18久久久夂久| 亚洲国产精品无码成人片久久| 国产精品久久久久jk制服| 久久99热这里只频精品6| 精品久久人人做人人爽综合| 精品综合久久久久久888蜜芽| 亚洲午夜无码AV毛片久久| 久久精品亚洲福利| 国产亚洲欧美成人久久片| 亚洲成色www久久网站夜月| 久久夜色精品国产欧美乱| 久久久精品波多野结衣| 伊人色综合九久久天天蜜桃| 狠狠色婷婷久久综合频道日韩| 青青热久久国产久精品| 久久精品中文无码资源站| 热99re久久国超精品首页| 国产精品久久久久久久| 久久午夜无码鲁丝片| 久久精品人人做人人爽电影蜜月 | 国产精品一区二区久久不卡| 亚洲精品无码久久久久久| 亚洲精品tv久久久久久久久| 亚洲国产精品18久久久久久| 国产∨亚洲V天堂无码久久久| 亚洲中文久久精品无码|