php α¾²Ì¬ url ÖØÐ´
ÕûÁ˰ëÌì¿ÉËãÈÃÎÒÕû³öÀ´ÁË º¹°¡£¡
C:\xampp\apache\conf\http.conf ÅäÖÃ
<Directory />
Options FollowSymLinks
AllowOverride all
Order deny,allow
# Deny from all
</Directory>
н¨ÏîÄ¿myphp
ÐéÄâ»ú·¾¶ localhost C:\xampp\htdoc
.htaccessÄÚÈÝ
RewriteEngine on
RewriteBase /myphp (ÏîÄ¿¸ùĿ¼)
RewriteRule ^(\d)\.html$ $1.php [L]
1.php
<?php
echo 'i ma 1.php';
?>
okÁË~£¡£¡£¡
·ÃÎÊ http://localhost/1.html
Ò³ÃæÏÔʾ
i ma 1.php
Ïà¹ØÎĵµ£º
ÔÌù:http://www.paitoubing.cn/blog/tag/apc
php³ÌÐòÌáËÙÔÀí·ÖÎö
2008Äê7ÔÂ19ÈÕ
ûÓÐÆÀÂÛ
¹Ø¼ü´Ê£ºxCache,Zend Accelerator,memcahced,xdebug£¬Zend Optimizer,APC.
»º³å²ã¼¶±ðµÄÓÅ»¯
xCacheÊÇ°Ñ PHP ²Ù×÷Â뻺´æµ½ÄÚ´æÖÐµÄ PHP À©Õ¹ÖУ¬XCache ½«±ÜÃâ´ú¼Û¸ß°ºÇÒ²»±ØÒªµÄ»¨·ÑÀ´ÖØÐ±àÒëÏ ......
ΪÁËphpÁ¬½Ósql2005 ,ÎÒÔÚÍøÂçÉÏÕÒÁËÒ»´ó¶Ñ×ÊÁÏÔÚÎÒµÄcsdn²©¿ÍÖÐ.ÍíÉÏ3:05·ÖʱºòÖÕÓڸ㶨ÁË phpÁ¬½Ósql2005µÄÎÊÌâ,ÏÖÔÚÕûºÏ,ͬʱ°ÑFAQÕûºÏÉÏ. ÎÒÇ°ÃæÐ´µÄ½Ì³Ì: Á¬½ÓǰÅäÖÃϵͳ: 1.¼ì²éÎļþ php5.2.5\ntwdblib.dll ĬÈÏÏÂÃæÓÐÒ»¸ö,²»ÄÜÁ¬½ÓÔÙÌæ»». ÏÂÔØÕýÈ·°æ±¾µÄ ntwdblib.dll (2000.80.194.0)£¬µØÖ·£º http://webzila ......
PHP: echo substr("1234567", 1, 3);
ºÍ PHP: echo substr(123456,1, 3);
ÊÇÒ»ÑùµÄ
¶¨Òå
Ò»°ãÓÃË«ÒýºÅ»òµ¥ÒýºÅ±êʶһ¸ö×Ö·û´®¡£±ÈÈç PHP: $str = "i love u";
$str = 'i love u';
ËüÕßÁ½ÕßÊÇÓÐÒ»Ð©Çø±ðµÄ¡£ºóÕß½«Ò»Çе¥ÒýºÅµÄÄÚÈݶ¼»áµ±×÷×Ö·û´¦Àí£»Ç°ÕßÔ ......
http://prato.bokele.com/?ArticleID=15302
ÔÚÒ»°ãµÄÓ¦ÓÃÖУ¬PHPµÄ³ÌÐòÔ±»á±È½ÏÉÙµÄ×¢Òâµ½php³ÌÐòµÄϸ΢Ëã·¨¶ÔÐÔÄÜÓ°ÏìµÄÎÊÌ⣬µ«ÔÚ´¦ÀíһЩ±È½ÏÕ¼ÓÃ×ÊÔ´µÄ¶«Î÷µÄʱºò£¬Êʵ±µ÷ÕûËã·¨£¬»áÈóÌÐòµÄÐÔÄÜÕû±¶µÄÌá¸ß¡£
Õ⼸Ì죬ÎÒÔÚÑо¿·Ö´ÊµÄËã·¨£¬Èç¹û²»Ô¤ÏÈÔØÈë´ÊµäµÄ»°£¬ÄÇÖÖÔËËãËÙ ......
½ñÌìÏëʹÓÃÒ»ÏÂPHPµÄOpenSSLÀ©Õ¹¿â£¬Ï°¹ßÐԵĴÓphp.iniÖÐÏàÓ¦Ðдò¿ªÖ§³Ö£¬È»ºóË¢ÐÂÒ³Ãæ£¬·¢ÏÖ¾¹È»»¹ÊDz»Ö§³Ö£¿
ÓôÃÆÖ®Ï£¬¿´ÁË¿´ApacheµÄ´íÎóÈÕÖ¾£ºÌáʾ“²»ÄܼÓÔØXXX¶¯Ì¬¿â"£¿
ÕæÊǼû¹í£¬±ðµÄÁ´½Ó¿â¶¼¿ÉÒÔ×°È룬Ϊʲôphp_mcrypt.dllºÍphp_openssl.dllÕâÁ½¸öÁ´½Ó¿âÎÞ·¨×°ÈëÄØ£¿
ÉÏÍø²éÁËÒ»ÏÂ×ÊÁÏ£¬ÔÀ´ÕâÁ½¸ö ......