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

phpºÍapache°æ±¾Æ¥ÅäÎÊÌâ(¸ãÁËÒ»ÕûÌì,×°ÁËÒ»´Îϵͳ)

1:·ÅÁË6¸öÎļþÔÚcÅÌÏÂ(php5ts.dll,libmysql.dll ,php_gd2.dll,php_mysql.dll,php_mbstring.dll ),Ò»¸öÔÚwindowsÏÂ,ÁíÎå¸öÔÚwindows/system32ÏÂ
2:ÅäÖÃÁËpath
3:ÃüÁî:httpd.exe -w -n "Apache2" -k start À´²é¿´ÊÇÄÄÒ»ÐеĴíÎóÐÅÏ¢.
×ܽá:µ½ÏÖÔÚΪֹ,ÕûÁËÒ»Ìì,×°ÁËÈý´ÎϵͳµÄÂé·³ÖÕÓÚÇ×ÉíÖ¤Ã÷ÁË,
Õâ¸ö×ï¿ý»öÊײúÉúµÄÔ­Òò¾ÍÊÇ:
httpd.exe: Syntax error on line 67 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/php/php5apache2.dll into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb
5\xc4\xc4\xa3\xbf\xe9\xa1\xa3
php°æ±¾ºÍapache°æ±¾²»Ò»ÖÂ,»¹ÊǹÙÍøÉϵĻ°apache2.2.xµÄ±ØÐëºÍphp5.2.0¼°ÒÔºó°æ±¾ÁªºÏʹÓÃ.
µ«Êǹ«Ë¾·þÎñÆ÷¾¹È»ÒªÇóÊÇapache2.2.x + php5.1.x!


Ïà¹ØÎĵµ£º

PHP¸ß¼¶Óï·¨£¨Ò»£©—— Îļþ´¦Àí


PHP
Îļþ´¦Àí
fopen()
º¯ÊýÓÃÓÚÔÚ
PHP
Öдò¿ªÎļþ¡£
´ò¿ªÎļþ
fopen()
º¯ÊýÓÃÓÚÔÚ
PHP
Öдò¿ªÎļþ¡£
´Ëº¯ÊýµÄµÚÒ»¸ö²ÎÊýº¬ÓÐÒª´ò¿ªµÄÎļþµÄÃû³Æ£¬µÚ¶þ¸ö²ÎÊý¹æ¶¨ÁËʹÓÃÄÄÖÖģʽÀ´´ò¿ªÎļþ£º
<html>
<body>
 
<?php
$file=fopen("welcome.txt","r");
?> ......

PHP¸ß¼¶Óï·¨£¨¶þ£©—— ÃæÏò¶ÔÏó£¨ÉÏ£©

1 ÉùÃ÷Ò»¸öÀà
class ÈË{
³ÉÔ±ÊôÐÔ£ºÐÕÃû¡¢ÐÔ±ð¡¢ÄêÁä¡¢Éí¸ß¡¢ÌåÖØ¡¢µç»°¡¢¼Òͥסַ
³ÉÔ±·½·¨£º¿ÉÒÔ¿ª³µ£¬ »á˵ӢÓ ¿ÉÒÔʹÓõçÄÔ
}
ÊôÐÔ£º
ͨ¹ýÔÚÀඨÒåÖÐʹÓùؼü×Ö“var”À´ÉùÃ÷±äÁ¿£¬¼´´´½¨ÁËÀàµÄÊôÐÔ,ËäÈ»ÔÚÉùÃ÷³ÉÔ±ÊôÐÔµÄʱºò¿ÉÒÔ¸ø¶¨³õʼֵ£¬ µ«ÊÇÔÚÉùÃ÷ÀàµÄʱºò¸ø³ÉÔ±ÊôÐÔ³õʼֵÊÇûÓбØÒªµÄ£¬±ÈÈ ......

PHP·ÃÎÊMySQLÊý¾Ý¿â

PHPÊÖ²áÉÏÌṩÁËÒÔÏÂһЩÖ÷ÒªµÄmysqlÊý¾Ý¿âµÄÖ§³Öº¯Êý£º
mysql_affected_rows -- È¡µÃÇ°Ò»´Î MySQL ²Ù×÷ËùÓ°ÏìµÄ¼Ç¼ÐÐÊý
mysql_change_user --  ¸Ä±ä»î¶¯Á¬½ÓÖеǼµÄÓû§
mysql_client_encoding -- ·µ»Ø×Ö·û¼¯µÄÃû³Æ
mysql_close -- ¹Ø±Õ MySQL Á¬½Ó
mysql_connect -- ´ò¿ªÒ»¸öµ½ MySQL ·þÎñÆ÷µÄÁ¬½Ó
mysql_c ......

php»·¾³´î½¨£¨×Ô¼ºÒ²Ð´Ò»Æª£©

Ê×ÏÈ×¢Òâ°æ±¾ÎÊÌ⣬һ¶¨Òª×Ðϸ²é¿´php manualÉϵÄÄÚÈÝ£¬Èçhttp://www.php.net/manual/en/install.windows.apache2.php ÉÏÓÐÒ»¸önote:
Note
:
Apache 2.2 Support

Users of Apache 2.2 should note that the DLL file for Apache 2.2 is
named php5apache2_2.dll
rather than php5apache2.d ......

php Ñ­»·É¾³ýÒ»¸öĿ¼»òÇå¿ÕÒ»¸öĿ¼


<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"Cambria Mat ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ