Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

64λ¶¯Ì¬phpÀ©Õ¹¿âµÄ±àÒë

64λ¶¯Ì¬phpÀ©Õ¹¿âµÄ±àÒë
 ¹¤×÷ÉÏÐèÒª£¬Õâ¸öÎÊÌâÕÛÌÚÁËÒ»Õó×Ó¡£²»¹ýµ±±àÒë³É¹¦Ö®ºó£¬ÐÄÀﻹÊÇÏ൱µÄÐË·Ü£¬¸ÐÊܵ½ÁËÒ»Öֳɾ͸С£Ò²Êǹ¤×÷ÖеÄÒ»ÖÖÀÖȤ¡£
ÏÖÔÚ½«Õû¸ö¹ý³ÌдÏÂÀ´£¬ÒÔ±¸ºóÐøÖ®Ðè¡£
a.shared object
(1) download and install the apache
´ÓÍøÂçÖÐÏÂÔØapache-2.0.48.tar.gz
´æÖÁ/home/tmp
cd /home/tmp
tar -xvzf apache-2.0.48.tar.gz  /usr/local
cd /usr/local/apache-2.0.48
./configure --prefix=/usr/local/apache  --enable-module=so
make
make install
cd /usr/local/apache/conf
vi httpd.conf
ServerName localhost
port 80
DirectoryIndex default.php default.phtml default.php3 default.html default.htm
AddType application/x-httpd-php .php .phtml .php3 .inc
AddType application/x-httpd-php-source .phps
(2)download and install the php
´ÓÍøÂçÖÐÏÂÔØphp-4.3.4.tar.gz
´æÖÁ/home/tmp
cd /home/tmp
tar -xvzf php-4.3.4.tar.gz  /usr/local
cd /usr/local/php-4.3.4
./buildconf --force
./configure --with-apache2=/usr/local/apache/bin/apxs
make
make install
cp php.ini-dist /usr/local/lib/php.ini
(3)install the DM DBMS
²Î¿¼DM°²×°ÊÖ²á,¼Ù¶¨°²×°µ½/usr/local/DMDBMS
(4) install the DM PHP
cp dm_php   /home
cd /home/dm_php
#Ö´ÐÐ
/usr/local/bin/phpize
./configure
make
cd /usr/local/lib
vi php.ini
#ÐÞ¸ÄÏÂÃæÅäÖÃ
register_globals=on
extension_dir=/home/dm_php/modules  #dm_php.soËùÔÚ·¾¶
#Ìí¼ÓÏÂÃæÓï¾ä
extensions=dm_php.so
;php.iniÖÐÓйØÁ¬½ÓµÄÅäÖÃ
[dm]
; ÊÇ·ñÔÊÐí³Ö¾ÃÐÔÁ¬½Ó
dm.allow_persistent = 1
; ÔÊÐí½¨Á¢³Ö¾ÃÐÔÁ¬½ÓµÄ×î´óÊý.  -1 ΪûÓÐÏÞÖÆ.
dm.max_persistent = -1
; ÔÊÐí½¨Á¢Á¬½ÓµÄ×î´óÊý(°üÀ¨³Ö¾ÃÐÔÁ¬½Ó).  -1 ΪûÓÐÏÞÖÆ.
dm.max_links = -1
; ĬÈϵÄÖ÷»úµØÖ·
dm.default_host = localhost
; ĬÈϵǼµÄÊý¾Ý¿â
dm.default_db = SYSTEM
; ĬÈϵÄÁ¬½ÓÓû§Ãû
dm.default_user = SYSDBA
; ĬÈϵÄÁ¬½Ó¿ÚÁî.
dm.default_pw = SYSDBA
;Á¬½Ó³¬Ê±£¬Õâ¸ö²ÎÊýδʵ¼ÊµÄÓõ½£¬µÈ´ý·þÎñÆ÷Ö§³Ö
dm.connect_timeout = 10
;¶ÔÓÚ¸÷Öֱ䳤Êý¾ÝÀàÐÍ£¬Ã¿ÁÐ×î´ó¶ÁÈ¡µÄ×Ö½ÚÊý¡£Èç¹ûËüÉèÖÃΪ0»òÊÇСÓÚ0,ÄÇô£¬¶ÁÈ¡±ä³¤×Ö¶Îʱ£¬½«ÏÔʾNULLÖµ
dm.defaultlrl = 4096
; ÊÇ·


Ïà¹ØÎĵµ£º

¸æÄÇЩ¶ÔѧϰPHP»¹²»¼á¶¨µÄÅóÓÑ

 ¶ÔÓÚPHP
£¬ºÜ¶àÅóÓѱ§Ô¹·¢Õ¹ÎÊÌâ
£¬ÄÜÁ¦ÎÊÌâ¡£»¹ÓÐ×Ô¼ºÒÔºóµÄ·¢Õ¹¼°Ð½Ë®ÎÊÌâ¡£»¹ÓÐһЩ¿ÚÎǾÍÊÇPHP²»ÐУ¬²»ÊʺϴóÐͼܹ¹µÈµÈ¡£¿ìÏ°àÁË£¬×÷Ϊһ¸ö¿ª·¢
PHPÒѾ­6Äê¶àÁËÀÏÄñ£¬ÔÚÕâÀïËæÒâ˵Éϼ¸¾ä¡£Ï£ÍûÄܶÔÄÇЩ¸Õ¸ÕÈëÃŵÄPHPERÓÐЩ°ïÖú¡£
   Ê×ÏÈÈκÎÓïÑÔµÄÄÜÁ¦¹Ø¼üÔÚÓÚ×Ô¼ºµÄ¼¼ÊõÄÜÁ¦¡£·ñÔò¸øÄãÒ»¼Ü²¨Òô ......

40¸ö¼¼ÇÉÓÅ»¯ÄúµÄPHP´úÂë

  ·¢²¼Ê±¼ä:2009-11-17 11:15 ¡¡×÷Õß: PHPChina ¡¡ÐÅÏ¢À´Ô´: PHPchina¡¡ ·¢±íÆÀÂÛ
1.Èç¹ûÒ»¸ö·½·¨Äܱ»¾²Ì¬£¬ÄǾÍÉùÃ÷ËûΪ¾²Ì¬µÄ£¬ËٶȿÉÌá¸ß1/4;
2.echoµÄЧÂʸßÓÚprint,ÒòΪechoûÓзµ»ØÖµ£¬print·µ»ØÒ»¸öÕûÐÍ;
3.ÔÚÑ­»·Ö®Ç°ÉèÖÃÑ­»·µÄ×î´ó´ÎÊý£¬¶ø·ÇÔÚÔÚÑ­»·ÖÐ;
4.Ïú»Ù±äÁ¿È¥ÊÍ·ÅÄڴ棬ÌرðÊÇ´óµÄÊý×é;
5.±ÜÃâÊ ......

php ÖÐÉú³ÉËæ»ú×Ö·û´®µÄ·½·¨

php ÖÐÉú³ÉËæ»ú×Ö·û´®µÄ·½·¨
2009-10-20 13:56
ÔÚһЩÌØÊâÓ¦ÓÃÖУ¬ÐèÒªÉú³ÉËæ»ú×Ö·û´®£¬±ÈÈçÉú³ÉϵͳËæ»úÃÜÂë»òÕßÊǵǽÑéÖ¤ÂëµÈ£¬±¾ÎĽéÉܵĺ¯ÊýÄܹ»·µ»ØÖ¸¶¨³¤¶ÈµÄËæ»ú×Ö·û´®£¬Ä¬ÈÏ°üº¬´óСд×ÖĸºÍÊý×Ö£¬Äã¿ÉÒÔºÜÈÝÒ×µÄÐÞ¸ÄÒÔ±ã·ûºÏ×Ô¼ºµÄÐèÒª¡£
<?php
// ˵Ã÷£ºphp ÖÐÉú³ÉËæ»ú×Ö·û´®µÄ·½·¨
// ÕûÀí£ºhttp://ww ......

PHP ³£·¸µÄ 10 ¸ö´íÎó £¨×ªÔØ£©

 PHPÊǸöΰ´óµÄweb¿ª·¢ÓïÑÔ£¬Áé»îµÄÓïÑÔ£¬µ«ÊÇ¿´µ½php³ÌÐòÔ±Öܶø¸´Ê¼µÄ·¸µÄһЩ´íÎó¡£ÎÒ×öÁËÏÂÃæÕâ¸öÁÐ±í£¬ÁгöÁËPHP³ÌÐòÔ±¾­³£·¸µÄ10ÖдíÎ󣬴ó¶àÊýºÍ°²È«Ïà¹Ø¡£¿´¿´Äã·¸Á˼¸ÖÖ
1.²»×ªÒâhtml entities
   Ò»¸ö»ù±¾µÄ³£Ê¶£ºËùÓв»¿ÉÐÅÈεÄÊäÈ루ÌرðÊÇÓû§´ÓformÖÐÌá½»µÄÊý¾Ý£© £¬Êä³ö֮ǰ¶¼Òª×ªÒâ¡£
ech ......

ΪPHPÌí¼ÓmcryptÀ©Õ¹Ä£¿é

»ù±¾Ô­ÀíÊÇ£ºÊ×ÏÈʹmcryptÈí¼þÄܹ»ÔËÐУ¬È»ºó°²×°phpÀ©Õ¹Ä£¿é£¬²¢ÔÚphp.iniÅäÖá£
ÕâÀï×¢ÒâµÄÊÇmcryptÈí¼þÒÀÀµlibmcryptºÍmhashÁ½¸ö¿â£¬ËùÒÔ°²×°ÅäÖÃ˳Ðò´ÓÓÒÖÁ×ó
Ò»,ÏÂÔØ°²×°mcrypt
1.ÏÈÈ¥http://www.sourceforge.netÏÂÔØLibmcrypt,mhash,mcrypt°²×°°ü ,ÏÂÃæÊÇÎÒÕÒµ½µÄÁ´½Ó
   Libmcrypt(libmcrypt-2.5.8.t ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ