ÔÚwindows7ÖдApache+PHP+MySQLƽ̨
½ñÌì¸ãÁËÒ»ÏÂÎ磬ÔÚµçÄÔÉϴÁËAPMƽ̨
ϵͳ:Windows7 Professional EN
Apache2.2.9:http://archive.apache.org/dist/httpd/binaries/win32/apache_2.2.9-win32-x86-openssl-0.9.8h-r2.msi
PHP5.3.1:http://windows.php.net/downloads/releases/php-5.3.1-Win32-VC6-x86.zip
MySQL5.1.42:http://ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-5.1/mysql-5.1.42-win32.msi
×¢Ò⣺PHP5.3.1ÓжàÖÖ£¬Ò»ÖÖÊÇfor VC9µÄ£¬ÔËÐл·¾³ÊÇIIS¶ø²»ÊÇApache£¬Èç¹ûÒªÓÃApache£¬¾ÍÖ»ÄÜÑ¡VC6µÄ¡£
ΪÁ˽ñºóÒÆÖ²µÄ·½±ã£¬ÎÒÖØж¨ÒåÁËĿ¼½á¹¹£º
<F:\>
|--<www>
| |--<server> # °²×° Web ·þÎñ³ÌÐò
| | |--<apache> # Apache°²×°Ä¿Â¼
| | |--<mysql> # MySql°²×°Ä¿Â¼
| | |--<php> # PHP°²×°Ä¿Â¼
| |
| |--<web> # ÍøÕ¾ÄÚÈÝ
| | |--<PHP³ÌÐò>
ÔÚ Windows7 Ï°²×° Apache 2.2.9
ÔËÐÐ apache 2.2.4 µÄ°²×°³ÌÐò£¬¸ù¾ÝÌáʾһ· Next ¼´¿É¡£×¢ÒâÔÚ Server Information µÄ Network Domain¡¢Server Name ×Ö¶ÎÌîÉÏ localhost£¬ÎÒ»¹ÖØÐÂÉ趨ÁËapacheµÄ¶Ë¿ÚºÅΪ8080¡£
ÔÚ°²×°ÀàÐ͵ÄλÖÃÑ¡ Custom£¬È»ºó¸Ä±ä°²×°Â·¾¶£¨ÎÒµÄĿ¼ÊÇ F:/www/server/apache£©¡£È»ºó¸ù¾ÝÌáʾһ· Next Íê³É¼´¿É¡£
È»ºóÔÚÃüÁîÌáʾÐÐÖдòÈëÏÂÁÐÃüÁÐèÒªÒÔ¹ÜÀíÔ±Éí·Ý´ò¿ªÃüÁîÌáʾÐУ©£º
# °²×° apache ·þÎñ£º
F:\www\server\apache\bin\> httpd -k install
#Æô¶¯ apahce ·þÎñ
F:\www\server\apache\bin\> httpd -k start
ÔÚ Windows7 Ï°²×° php 5.3.1
½«ÏÂÔØµÄ ZIP °üÖ±½Ó½âѹ£¬ÎÒÖ±½Ó½«zip Îļþ½âѹµ½ F:\www\server\php Ŀ¼ÏÂÃæ¡£°²×° php ²»½¨ÒéʹÓà win32 °²×°³ÌÐò(Ö÷ÒªÊÇÒÔºó°²×°À©Õ¹Âé·³£©¡£
ÔÚ×ÊÔ´¹ÜÀíÆ
Ïà¹ØÎĵµ£º
1. Á¬½Ómysql:
mysql -h Ö÷»úµØÖ· -u Óû§Ãû £p
2.Í˳ömysql:exit
3. ÐÞ¸ÄÃÜÂë:
mysqlbinmysqladmin -uroot -p(oldpassword) password newpassword
4.Ôö¼ÓÓû§£º
Ìí¼ÓÒ»¸öÓû§test1 ÃÜÂëΪABC£»ÈÃËû¿ÉÒÔÔÚÈκÎÖ÷»úÉϵǼ,²¢¶ÔËùÓÐÊý¾Ý¿âÓвéѯ¡¢²åÈë¡¢Ð޸ġ¢É¾³ýµÄȨÏÞ¡£Ê×ÏÈÓÃÒÔrootÓû§Á¬Èë
mysql,È»ºó¼üÈëÒÔÏÂÃü ......
¶ÔmysqlµÄÓÅ»¯²»ÔÚÐУ¬¸ã¹ý¼¸´ÎÓÅ»¯£¬µ«ÊǶ¼²»ÊǺÜÀíÏ룬»¹ÊÇÀË·Ñ×ÊÔ´Ì«¶à¡£Ò»Ö±·¢ÏÖÎÒµÄmysqlµÄ»º´æÃüÖÐÂʼ«²î£¬Çé¿öÁ¼ºÃµÄʱºòµ½´ï¹ý60-70%£¬µ«ÊÇÔËÐÐʱ¼äÒ»³¤£¬Ö»ÓÐ10-20%¡£²éÁËһЩ×ÊÁÏ£¬¹ØÓÚ»º´æµÄһЩ²ÎÊý¼Ç¼
mysql> SHOW VARIABLES LIKE ‘%query_cache%’;
+—————&m ......
ÉùÃ÷£¬ÎÒÓõÄPHP¿ò¼ÜÊÇCI£¨codeignitor)
Ê×ÏÈÏÂÔØFCKeditor 2.6.3 £¨ÎÒʹÓõÄÊÇÕâ¸ö°æ±¾£©
¿ÉÒÔÔÚCSDNÖÐÏÂÔØ
½âѹ£¬½«FCKeditor2.6.3ÏÂÃæµÄfckeditorÕû¸öÎļþ¼Ð¸´ÖƵ½ÍøÕ¾¸ùĿ¼(ºÍindex.php£©Í¬Ò»¸öĿ¼£¬²¢¸üÃûΪfck£¨²»¸ÄÃûÒ²ÐУ¬µ«ºóÃæÉèÖøù·¾¶µÄʱºò£¬¼ÇµÃ¸ÄÃû×Ö£©
È»ºó ......
ÎÒ´ÓÊÂÁË6Äê¶àµÄ±à³Ì¹¤×÷£¬ÔÚÕâ֮ǰ×öÁ˽«½ü2ÄêµÄ´¿HTML+CSSµÄÍøÒ³ÖÆ×÷ºÍÉè¼Æ¡£±¾²©¿ÍºÜ¶à´ÎÌáµ½µÄphpcn5.0£¬ÊÇÒ»¿î¼ò½àʵÓõÄÎı¾¹¤¾ß¡£¶ÔÓÚPHP±à³ÌÓÐÊ®·ÖºÃµÄÖ§³Ö£¬¼¸ºõµ½ÁËÍêÃÀ¡£ÎÒµÄPHPÊ×Ñ¡±à³Ì¹¤¾ßÊÇphpcn5.0£¬Ê¹ÓÃphpcn5.0×öPHP±à³Ì£¬¼¸ºõ²»ÓÃÔÙÓÃÆäËüµÄÎı¾¹¤¾ß¡£¶ÔÓÚPHP±à³Ì£¬phpcn5.0ÓÐÕâЩÓŵ㣺
1 ......
Óï·¨£º
select * from table_name where column_name regexp 'ÕýÔò±í´ïʽ'
»òÇø·Ö´óСд
select * from table_name where column_name regexp binary 'ÕýÔò±í´ïʽ'
Ö§³ÖµÄÕýÔò±í´ïʽ·ûºÅ£º
. ÈÎÒâ×Ö·û
| »ò£¬È磺a|b|c
[] ·¶Î§£¬±ÈÈ磺[a-z],[0-9],[^0-9]²»°ü ......