LinuxÖа²×°PHP 5½Ì³Ì
µÚÒ»²½ °²×°MySQL
[root@localhost usr]# groupadd mysql
[root@localhost usr]# useradd -g mysql mysql
[root@localhost usr]# cd /usr/local
[root@localhost local]# tar -zxvf mysql-5.0.51.tar.gz
[root@localhost local]# cd mysql-5.0.51
[root@localhost mysql-5.0.51# ./configure --prefix=/usr/local/mysql
[root@localhost mysql-5.0.51]# make
[root@localhost mysql-5.0.51]# make install
[root@localhost mysql-5.0.51]#cp support-files/my-medium.cnf /etc/my.cnf
Ö´ÐÐÏÂÃæµÄÃüÁÖÆÆô¶¯½Å±¾µ½×ÊԴĿ¼£º
cp ./support-files/mysql.server /etc/rc.d/init.d/mysqld
Ö´ÐÐÏÂÃæµÄÃüÁîÔö¼Ómysqld·þÎñ¿ØÖƽű¾Ö´ÐÐȨÏÞ£º
chmod +x /etc/rc.d/init.d/mysqld
Ö´ÐÐÏÂÃæµÄÃüÁmysqld·þÎñ¼ÓÈ뵽ϵͳ·þÎñ£º
chkconfig --add mysqld
Ö´ÐÐÏÂÃæµÄÃüÁî¼ì²émysqld·þÎñÊÇ·ñÒѾÉúЧ£º
chkconfig --list mysqld
ÃüÁîÊä³öÀàËÆÏÂÃæµÄ½á¹û£º
mysqld 0:off 1:off 2:on 3:on 4:on 5:on 6:off
±íÃ÷mysqld·þÎñÒѾÉúЧ£¬ÔÚ2¡¢3¡¢4¡¢5ÔËÐ춱ðËæϵͳÆô¶¯¶ø×Ô¶¯Æô¶¯£¬ÒÔºó¿ÉÒÔʹÓÃserviceÃüÁî¿ØÖÆmysqlµÄÆô¶¯ºÍÍ£Ö¹¡£
¡¡¡¡¡¡ Æô¶¯mysqld·þÎñ£º
¡¡¡¡¡¡ service mysqld start
Í£Ö¹mysqld·þÎñ£º
Ïà¹ØÎĵµ£º
LinuxÉ豸Çý¶¯³ÌÐòѧϰ±Ê¼ÇϵÁÐÎÄÕÂÔ×÷ÕßÊÇ£ºTekkaman Ninja£¬Ëû²©¿ÍµØÖ·£º
http://blog.chinaunix.net/u1/34474/showart_404278.html
ÔÚ´ËÏòTekkaman Ninja±íʾ¸Ðл£¬Ð´³öÕâôºÃµÄÎÄÕ£¬Ê¹ÎÒÉÙ×ßÁ˺ܶàÍä·¡£
LinuxÉ豸Çý¶¯³ÌÐòѧϰ£¨0£©£Hello, world£¡Ä£¿é
ÎÄÕÂÀ´Ô´£ºhttp://blog.chinaunix.net/u2/62910/showa ......
from:http://kevinmindy.spaces.live.com/blog/cns!3D17C679DB4373CA!226.trak
Æäʵ·½·¨²»Ö¹Ò»ÖÖ£¬¿ÉÒÔÔÚ±àÒëQt¿âµÄʱºòÌí¼Ó±àÒëÑ¡ÏîQT_NO_CURSOR£¬ÕâÑùcursorÏà¹ØµÄ´úÂëͳͳ²»»á±»±àÒë½øÈ¥£¬×ÔÈ»Êó±ê¹â±êÒ²²»»á³öÏÖÔÚ³ÌÐòÖС£
È»¶øÓÐʱºòÎÒÃÇÒѾ°ÑcursorÏà¹Ø´úÂë±àÒë½øÈ¥ÁË£¬¶øÓÖ²»ÏëÖØбàÒëQt¿â£¬Ò»¸ö¼òµ¥µÄ·½·¨ÊÇÊ¹Ó ......
LinuxÉ豸Çý¶¯³ÌÐòѧϰ±Ê¼ÇϵÁÐÎÄÕÂÔ×÷ÕßÊÇ£ºTekkaman Ninja£¬Ëû²©¿ÍµØÖ·£º
http://blog.chinaunix.net/u1/34474/showart_404278.html
ÔÚ´ËÏòTekkaman Ninja±íʾ¸Ðл£¬Ð´³öÕâôºÃµÄÎÄÕ£¬Ê¹ÎÒÉÙ×ßÁ˺ܶàÍä·¡£
ÒÔ¡¶LDD3¡·µÄ˵·¨£ºLinuxÉ豸ģÐÍÕⲿ·ÖÄÚÈÝ¿ÉÒÔÈÏΪÊǸ߼¶½Ì²Ä£¬¶ÔÓÚ¶àÊý³ÌÐò×÷ÕßÀ´ËµÊDz»±ØÒªµÄ¡£µ«ÊÇÎÒ¸ ......
ÔÚWindowsÖÐÅäÖÃPHP»·¾³ phpnowÔÚWindowsÏÂÅäÖû·¾³ºÜÊÇ·½±ã£¬µ«ÊǼæÈݲ¢²»ÊǺܺã¬ÓÐЩʱºòÎÒÃÇ»¹ÐèÒªÊÖ¶¯ÔÚWindowsÅäÖÃPHP»·¾³,ÊÖ¶¯ÅäÖÃÓÖºÜÂé·³¾³£Íü¼ÇÅäÖò½Öè¡£ËùÒÔ½ñÌìÌØÒâ¼Ç¼ÅäÖùý³Ì¡£ Ê×ÏÈÎÒÃÇÐèÒªÏÂÔØ£º apacheµÄ¹Ù·½ÏÂÔصØÖ·: http://httpd.apa
¡¡¡¡
ÔÚWindowsÖÐÅäÖÃPHP»·¾³
phpnowÔÚWindowsÏÂÅäÖû·¾³ºÜÊÇ ......
1.array_multisort()¶Ô¶à¸öÊý×é»ò¶àάÊý×é½øÐÐÅÅÐò¿ÉÒÔÓÃÀ´Ò»´Î¶Ô¶à¸öÊý×é½øÐÐÅÅÐò»òÕ߸ù¾Ýijһά¶Ô¶àάÊý×é½øÐÐÅÅÐò¡£ÅÅÐòʱ±£ÁôÔÓеļüÃû¹ØÁª£¬ÊµÏֵŦÄܺÍSQLÖеÄORDERBY²î²»¶à¡£
$ar1=array("10",100,100,"a"); $ar2=array(1,3,"2",1); array_multisort($ar1,$ar2); ?> //·µ»Ø½á¹û£¨±£³ÖÁËÔÀ´Êý×éµÄ¹ØÁªÐÔ£© ......