Location: PHPKode > projects > FPCode > fpcode091/readme.big5.txt
FPCode ¦w¸Ë«ü¤Þ
§ó·s¤é´Á¡G2002 ¦~ 1 ¤ë 16 ¤é

¶}©l¤§«eª`·N¨Æ¶µ¡G

­º¥ý­n½Ð¤j®a¯S§Oª`·Nªº¡AFPCode ªº¦w¸ËÁöµM²³æ¡A¦ý¬O¦b¤§«eªº PHP »P MySQL ¤§¦w¸Ë»P³]©w²o¯A¨ì¨Ï¥Î 
Mac OS X ¤U­±ªº²×ºÝ¾÷ (Terminal.app) ¬É­±¿é¤J¤å¦r«ü¥O¡A¦pªG±z¹ï©ó²×ºÝ¾÷ªº¨Ï¥Î¤£¬O¨º»ò¼ô±x¡A§Ú­Ì
«Øij±z³Ì¦n¬O§ä­ÓªB¤ÍÀ°¦£¡A©ÎªÌ¬O§ä³¡¶~¸mªº¾÷¾¹¨Ó¸Õ¸Õ¡C

­nª`·N¡A³o¥÷¦w¸Ë«ü¤Þ¦b¼¶¼g®É¨Ï¥Îªº¥Ø¼Ð¨t²Î¬O Mac OS X 10.1.2¡A¦Ó«D Mac OS X Server ¡AMac OS X 
10.0.x¡A©Î¬O Linux ¨t²Î¡C¦pªG§A¨Ï¥Îªº¨t²Îª©¥»¤£¹ï¡A«o¾Ä¤£ÅU¨­«ö·Ó¥»»¡©ú¾Þ§@¡A·d¯{¤F¡A§Ú­Ì¤£­t³d¥ô¡C

¥t¥~¡A¥»³nÅé¡]FPCode, ª©¥» 0.9¡^¥H¥~ªº³nÅ黡©ú¡A¬Ò¡u¶È¨Ñ°Ñ¦Ò¡v¡A­Y¦³ºÃ°Ý¡AÅwªï¬¢¸ß¡A¦ý¸ò¤W­z¤@¼Ë¡A
·d¯{§Ú­Ì¥u¯àªí¥Ü¥Ñ°Jªººp·N¡A¤£­t¥ô¦ó³d¥ô¡C

§Ú­Ì¬° FPCode ³]¦³ºô¤W (DAMP) °Q½×°Ï¡AÅwªï¦U¦ì¦P¦n«e¨Ó¤Á½R¡G

	http://ubb.frostyplace.com.tw/cgi-bin/ultimatebb.cgi?ubb=forum&f=13


²Ä¤@¨B¡G MySQL ªº¦w¸Ë¥H¤Î³]©w

­º¥ý¡A¦b¶}©l¦w¸Ë¤§«e¡A¨t²Î¥²¶·­n¦³¤@­Óµ¹ MySQL ¥Îªº±b¸¹¡A¦]¬°³o¬OÄÝ©ó¨t²ÎªA°È¥Îªº±b¸¹¡A©Ò¥H¤£«Øij±q
¨t²Î¹w¸m¸Ìªº¨Ï¥ÎªÌ±±¨î­±ª©¨Ó·s¼W¡C§A¥i¥H¶Ç²Î¤è¦¡¦Û¤v­×§ï /etc/password »P /etc/group¡A©Î¬O§ï¥Î 
NetInfo Manager ¨Ó«Ø¥ß±b¸¹¡]¦]¬° Mac OS X ¬O¥H NetInfoManager ¨Ó±±¨î¾ã­Ó¨t²Îªº¥Ø¿ýªA°È¡A©Ò¥H³o·|¬O¤ñ
¸û¦nªº°µªk¡^¡C¤U­±¬O¥H¨Ï¥Î NetInfo Manager ªº¤è¦¡¨ÓÁ|¨Ò¡G

1. ´å¼ÐÂI¨â¤U±Ò°Ê /Applicaions/Utilities/ ¸Ìªº NetInfo Manager

2. ÂI¿ï NetInfo Manager µøµ¡¥ª¤U¨¤ªº¤pÂêÀY«ö¶s¡A¿é¤JºÞ²z­û¡]§Y¾Ö¦³ Administrator Åv­­ªº¨Ï¥ÎªÌ¡^ªº±b¸¹
¸ò±K½X

3. §Q¥Î¸Óµøµ¡ªº¥Ø¿ýÂsÄý¾¹¡]Directory Browser¡^¤Á´«¨ì¤U­±ªº¥Ø¿ý¡G

		/users/

§AÀ³¸Ó¥i¥H¬Ý¨ì³\¦h¨Ï¥ÎªÌªº±b¸¹¡A³o¨Çµ´¤j¦h¼Æ³£¬OÄÝ©ó¨t²ÎªA°È¥Îªº±b¸¹¡A½Ð¨S¨Æ¤£­n§ó°Ê¥¦­Ì¡C§Ú­Ì¿ï¨ú 
www ³o­Ó±b¸¹¡AµM«á«ö¤U command-d ½Æ»s¥¦¡C

4. ³o®É·|¦h¥X¤@­Ó¦W¬° www copy/ ªº¥Ø¿ý¡A½Ð±N¨ä§ï¦¨ mysql/¡A¦¹¥~¡A¤]½Ð«ö·Ó¤U­±ªº­È¡A¨Ì§Ç­×§ï mysql 
³o¦ì¨Ï¥ÎªÌªº¸ê®Æ¡C

		Property			Value(s)
		expire				0
		realname			MySQL database server
		name				mysql
		passwd				*
		uid					71
		_writers_passwd		mysql
	 	change				0
		shell				/dev/null
		home				/usr/local/mysql
		gid					70

µù¡G³o¸Ì¬O³]¦¨»P www ¦@¥Î¦P¤@­Ó Group ID¡A¦pªG§A¤£·Q³o¼Ë¡A½Ð¨Ì¼Ëµe¸¬Äª¤Á´«¨ì /groups/ ¥h·s¼W¤@­Ó 
mysql ±MÄݪº gid ­È¡C

5. ³Ì«á¡A¦sÀÉ¡A§ó·s¡CÃö³¬ NetInfo Manager¡AÄ~Äò MySQL ªº¦w¸Ë¤§®È¡C

¦w¸Ë¤è¦¡ MySQL ªº¤è¦¡¦³«Ü¦hºØ¡A³o¸Ì¥u¤¶²Ð¨ä¤¤¨âºØ¡C²Ä¤@ºØ¡A§A¥i¥H¥h http://www.mysql.com §ì¨úµ¹ 
Mac OS X ¨Ï¥Îªº³Ì·sª©¥»­ì©l½X¦^¨Ó½sĶ¡]§Ú­Ì³o¸Ì¬O¥Î¥æ¤jªºÃè®g¯¸¡^¡C­º¥ý½Ð±Ò°Ê²×ºÝ¾÷ (Terminal.app) 
¿é¤J«ü¥O¡G

	% curl -O http://mysql.nctu.edu.tw/Downloads/MySQL-3.23/mysql-3.23.47-apple-darwin5.1-powerpc.tar.gz

	% tar xzvf mysql-3.23.47-apple-darwin5.1-powerpc.tar.gz
	
	¥Î tar ¸Ñ¶}ÀÉ®×

	% cd mysql-3.23.47-apple-darwin5.1-powerpc.tar.gz

	¶i¤J¥Ø¿ý

	% ./configure --with-mysqld-user=mysql --prefix=/usr/local/mysql-3.23.47

	³]©w½sĶ®É»Ý­nªºÅܼơA§Ú­Ì±N¤§¦w¸Ë¦b /usr/local/mysql-3.23.47 ¥Ø¿ý¤U

	% make

	½sĶ­nµ¥°}¤l¡AªwªM©@°Ø©Î¥©§J¤O¡]¦]¬°§Ú­Ì¥Î Cocoa¡A©Ò¥H¤£¯àº|±¼¥©§J¤O¡^

	% sudo make install

¥ÎºÞ²z­ûÅv­­¥[¥H¦w¸Ë¡C¦pªG§A¤­¤ÀÄÁ«e¦³¥Î¹LºÞ²z­ûÅv­­¡A¨º³o­Ó«ü¥O¤£·|¦A¸ò§A­nºÞ²z­û±K½X¡A¤Ï¤§¡A½Ð¨Ì
´£¥Ü¿é¤JºÞ²z­û±K½X¡C¦w¸Ë§¹²¦«á¡A´£¥Ü¸¹¦A«×¥X²{¡A§Ú­ÌÄ~Äò«áÄòªº³]©w¡G

	% ln -s /usr/local/mysql-3.23.47 /usr/local/mysql

°µ­ÓÁpµ²¡]¥Î³Áª÷¶ð³N»y´N¬O´À¨­¡^¡C­n³o¼Ë¦³­Ó¦n³B¡A¤è«K§A¦b¤£¦Pª©¥»¶¡°µ¤Á´«¡C­Y­n¥Î¨ä¥Lªºª©¥»¡A¥Î rm 
«ü¥O²¾°£«á¡A­«·s«ü¨ì¥t¥~¤@­Ó¥Ø¿ý´N¥i¥H¤F¡C

	% sudo /usr/local/mysql/scripts/mysql_install_db

	¦w¸Ë MySQL ¦Û¤v¥»¨­»Ý­nªº¸ê®Æ®w¡]MySQL permissions database¡^
	
	% sudo chown -R mysql /usr/local/mysql/*

	±N­è¦w¸Ë MySQL ¸ê®Æ®wªº Owner ³]¦¨ mysql ³o­Ó¨Ï¥ÎªÌ¡C

	% sudo /usr/local/mysql/safe_mysqld --user=mysql &

	±Ò°Ê MySQL database server¡C¨ì³o¸Ì¬°¤î¡A¦w¸Ë MySQL ªº¨BÆJ¤j­Pµ²§ô¡C

	----------------------------------------------------------------------

¤U­±§Ú­Ì¦ì¦U¦ì´£¨Ñ²©öªº MySQL ¦w¸Ë¤èªk¡A½Ð³s¨ì«¥­Ì·ç¤h«Ó­ô°¨§J¡]Marc Liyanage) ªººô¯¸§ì¨úµ¹ Mac OS X 
±M¥Î¡].pkg ®æ¦¡¡^ªº MySQL ®M¥ó¼v¹³ÀÉ¡Gª`·N°Ú¡A¦pªG§A¤w¸g¨Ä¨Ä«ö·Ó¤W­±ªº¨BÆJ¸Ë¦n¤F¡]½Ö¥s§A¤£¥J²Ó¬Ý§¹´N
«æµÛ¸Ë¡^¡A´N¤£¥Î³Â·Ð¥Î³o©Û¦A¸Ë¤@¦¸°Õ¡C

	% curl -O http://www2.entropy.ch/download/mysql-3.23.47.pkg.tar.gz

	¥Î curl §ì¦^®M¥ó¡C

	% tar xzvf mysql-3.23.47.pkg.tar.gz

¸Ñ¶}¥¦¡CµM«á©O¡A½Ð§ï¥Î§Aªº Finder¡AÂI¨â¤U³o­Ó mysql-3.23.47.pkg ÀÉ¡A«ö·Ó§A¼ô±x¨ì¤£¯à¦A¼ô±xªº¨BÆJ§â³o
­Ó®M¥ó¸Ë¦n¡AµM«á¦A¦^¨Ó³oÃäÄ~Äò³]©w¡C

        % sudo /usr/local/mysql/mysql_install_db

        ¦w¸Ë MySQL ¦Û¤v¥»¨­»Ý­nªº¸ê®Æ®w¡]MySQL permissions database¡^

        % sudo chown -R mysql /usr/local/mysql/*

        ±N­è¦w¸Ë MySQL ¸ê®Æ®wªº Owner ³]¦¨ mysql ³o­Ó¨Ï¥ÎªÌ¡C

        % sudo /usr/local/mysql/safe_mysqld --user=mysql &

        ±Ò°Ê MySQL database server¡C
		
6. ²Ä¤­¨B§Ú­Ì·d¥b¤Ñ²×©ó§â MySQL ¸Ë¦n¶]°_¨Ó¤F¡A¨ºÁٻݭn²Ä¤»¨B·F¹À©O¡H§Ú­Ì»Ý­n²Ä¤»¨Bªº­ì¦]¬O¡A­nÅý 
MySQL ¦b¶}¾÷«á´N¦Û¤v¶]°_¨Ó¡A¤£»Ý¦A¤â°Ê±Ò°Ê¡C¦]¦¹¡A§Ú­Ì»Ý­n´À¥¦°µ­Ó StartupItems ¡]¨S¿ìªk¡AOS X ¦³
¨âºØ¼h¦¸ªº±Ò°Ê¶µ¥Ø¡A¤@¯ëªº³nÅé§A¥i¥Hª½±µ©ì¶i¨t²Î¹w¸mªºµn¤J±±¨î­±ª©¨Ó³]©w¡A¦Ó¨t²Î©³¼hªº³nÅéªA°È«h
»Ý­n³z¹L StartupItems ªº¤è¦¡¨Ó³]©w¡^¡G

	% mkdir /Library/StartupItems 

	«Ø¥Ø¿ý¡A¦³ªº¸Ü´N²¤¹L¡C

	% mkdir /Library/StartupItems/MySQL

	¦A«Ø¥Ø¿ý¡A©êºp¡A³o´N¤£¯à²¤¹L¡C

	% pico /Library/StartupItems/MySQL/MySQL

	¥Î pico ¶}ÀÉ¡A§Ú­Ì­n¼g script¡A½Ð§â¤U­±³o¨Ç­^¤å¦r·Ó§Û¶i¥h¡AµM«á«ö¤Uctrl-x Àx¦s¡G

#!/bin/sh

. /etc/rc.common

##
# Start up MySQL server
##

if [ "${MYSQLSERVER:=-NO-}" = "-YES-" ]; then

    ConsoleMessage "Starting MySQL database server"

    /usr/local/share/mysql/mysql.server start

fi

	¦s¦n¤§«á¡A§Ú­ÌÁÙ­n¦A¶} pico ¼g­ÓÀɮסC

	% pico /Library/StartupItems/MySQL/StartupParameters.plist
	
	¸ò¤W­±¤@¼Ë¡A§â¤U­±ªºªF¦è§Û¶i¥h¡A«ö ctrl-x ¦s°_¨Ó¡G

{
  Description     = "MySQL database server";
  Provides        = ("MySQL");
  Requires        = ("Resolver");
  OrderPreference = "None";
  Messages =
  {
    start = "Starting MySQL database server";
    stop  = "Stopping MySQL database server";
  };
}

	³o¼Ë¨â­ÓÀÉ®×¼g¦n´N§¹¦¨¤j³¡¤À¤F¡C

	% chmod 755 /Library/StartupItems/MySQL/MySQL
	% chmod 755 /Library/StartupItems/MySQL/

	§ï¤@¤UÀɮ׸ò¥Ø¿ýªºÅv­­¡C

	% sudo pico /etc/hostconfig

	§Ú­Ì­n§ï¤@¤U±±¨î¨t²ÎªA°È¡]Services¡^ªºÀɮסA¦b³Ì«á¤@¦æ¥[¤W¡J

	MYSQLSERVER=-YES-

	¦sÀÉ¡C³o¼Ë­«·s¶}¾÷«á MySQL ªºªA°È´N¯à¦Û¤v±Ò°Ê¡C


²Ä¤G¨B¡G PHP ªº¦w¸Ë¥H¤Î³]©w

FPCode ¥u»Ý­n¨Ï¥Î PHP 4.0 ¥H«áª©¥»ªº¼Ò²Õ«K¥i¥¿±`¤u§@¡CPHP 4.0.6 ªº¦w¸Ëºâ¬O«Ü²³æ¡A¦ý¬O±z­Y¯u«Ü¦³®É¶¡
ªº¸Ü¡A¤]¥i¥H¹Á¸Õ¥h¦w¸Ë¥Ø«e¡]2002 ¦~¤@¤ë¤¤¡^³Ì·sª©ªº PHP 4.1.1 ¡CµL½×¦p¦ó¡A½Ð¥ý¥h 
http://www.php.net/downloads.php ±N PHP ­ì©l½X§ì¦^¨Ó¡C±µµÛ¡A¥ý»¡©ú PHP 4.0.6 ªº¦w¸Ë¤è¦¡¡G

	% tar xzvf php-4.0.6.tar.gz

	% cd php-4.0.6.tar.gz

	% ./configure --with-mysql=/usr/local/mysql
	  	  
	% pico libtools

	«ö¤U ctrl-w ·j´M -undefined suppress ³o¦ê¦r¡A§ä¨ì¤§«á¡A±N¸Ó¦æ¡G
	
	archive_cmds="\$CC -bundle -undefined suppress ¡]«á­±¬Ù²¤¡^

	§ï¬°

	archive_cmds="\$CC -flat_namespace -bundle -undefined suppress ¡]«á²¤¡^

	«ö¤U ctrl-x ¦sÀÉ

	% make

	% sudo make install

¥H¤W¬O PHP 4.0.6 ªº·§²¤¦w¸Ë¹Lµ{¡C±µ¤U¨Ó¬O¬°³ßÅw±µ¨ü¬D¾ÔªºªB¤Í©Ò¼g¡A¤@¯ë¤H¥i¥H²¤¹L¡Aª½±µ¸õ¨ì²Ä¤T¨B¡G

PHP 4.1.1 ªº¦w¸Ë¤èªk¡A¦]¬° PHP 4.1.1 ¤S¾D³{ OS X 10.1 ªº 2-levels namespace schame¡A©Ò¥H¨S¿ìªkª½±µ
½sĶ¡A¬Gµy«á§Ú­Ì±N»Ý­n­è­è PHP 4.0.6 ¥Ø¿ý¸Ìªº¨º­Ó libtools ÀɮסC

	% tar xzvf php-4.1.1.tar.gz

	% cd php-4.1.1

	% ./configure --with-mysql=/usr/local/mysql

	% cp /path/to/php-4.0.6/libtools ./

³o¸Ì¬O«ü php-4.0.6 ªºµ´¹ï¸ô®|¡A¦pªG§A­n¥Î¬Û¹ï¸ô®|¤]¥i¥H¡A¹³¬O¦b¦Û¤v home ¤U­±ªº php-4.0.6 ¥Ø¿ý¡A§Ú­Ì
´N¥i¥H³o¼Ë¼g?

	cp ~/php-4.0.6/libtools ./

	¤£À´ªº¸Ü¡A¥i¥H¨Ó DAMP ªº°Q½×°Ï¬¢¸ß¡C

	% make

	½sĶªº¹Lµ{¥i¯à·|¥X²{¤@¨Çĵ§i¡A¨SÃö«Y¡A¤£¥Î¤Ó¦b·N¡C

	% sudo make install

	³o¼Ë§Aªº PHP 4.1.1 ´N¶¶§Q¸Ë¦b OS X 10.1.x ¤W¤F¡C


²Ä¤T¨B¡G Apache ªº³]©w

¦b§¹¦¨¤F PHP ¸ò MySQL ªº¦w¸Ë«á¡A³Ì«á»Ý­n°µªº¡A´N¬O§ó·s Mac OS X ¸Ì¤º«Ø Apache ºô­¶¦øªA¾¹ªº³]©wÀÉ¡G

	% sudo cp /etc/httpd/httpd.conf /etc/httpd/httpd.conf.backup

	­º¥ý§â³]©wÀÉ°µ­Ó³Æ¥÷¡C

	% sudo pico /etc/httpd/httpd.conf

	±µµÛ¥´¶}³o­Ó³]©wÀÉ¡A¿é¤JºÞ²z­ûªº±K½X«á´N·|¶i¤J pico ¤å¦r½s¿è¾¹¡C

	±µµÛ«ö control-w ¨Ó°µ¦r¦ê·j´M¡A¿é¤J php ¦r¼Ë«á«ö¤U enter Áä

	Pico À³¸Ó·|§ä¨ì³o¦æ¦r¡G

	#LoadModule php4_module        libexec/httpd/libphp4.so

	§â´å²¾¨ì¦æ­º§â # §R°£«á¡A¦A«×«ö control-w °µ·j´M¡A¨Ã«ö¤U enter Áä¥hÄ~Äò§ä php ³o­ÓÃöÁä¦r

	Pico ±µµÛÀ³¸Ó·|§ä¨ì³o¦æ¦r¡G

	#AddModule mod_php4.c

»P¤W­z¨BÆJ¬Û¦Pªº¡A§â´å²¾¨ì¦æ­º§â # §R°£«á¡A¦A­«ÂЫö control-w ¸ò enter ÁäÄ~Äò§ä php ³o­ÓÃöÁä¦r¡Aª½¨ì
§A¬Ý¨ì³o¦æ¡G

	#AddType application/x-httpd-php .php

	½Ð¦b§â # §R°£«á¡A³o¦¸«ö¤U control-x Áä¥h¦sÀÉ¡C

­×§ï¹Lµ{¨ì¦¹¤j¥\§i¦¨¡A¿é¤J¤U¦æ«ü¥O¥h­«·s±Ò°Ê Apache¡G

	%sudo apachectl restart

¦pªG¤@¤Á¥¿½T¡A§AÀ³¸Ó·|¬Ý¨ì³o¦æ¦^À³¡G

	/usr/sbin//apachectl restart: httpd restarted

­n¬O¦³¥ô¦ó·N¥~¡A§O§Ñ°O§Ú­Ì¦b¤@¶}©lÁÙ¦³­Ó³Æ¥÷ÀÉ¡A§A¥i¥H¥Î¥H¤U«ü¥O¨Ó§â³Æ¥÷ÀÉŪ¦^¡G

	% sudo cp /etc/httpd/httpd.conf.backup /etc/httpd/httpd.conf



²Ä¥|¨B¡G FPCode ªº³]©w

±N FPCode ¸Ñ¶}¡A¾ã­Ó«þ¨ì¹w³]ªº¥Ø¿ý (/Library/WebServer/Documents/)¡C¦pªG§A·Q©ñ¦b¦Û¤vªº home directory 
¤U¡A¤]¬O¥i¥H¡A¥u¬Oµy«áªº³]©wµy¦³¤£¦P¡A½Ðª`·N¡C½Ð¦b²×ºÝ¾÷ (Terminal.app) ¿é¤J«ü¥O¡G

	% cd /Library/WebServer/Documents/fpcode
	% mysql -u [your_user_id] -p < fpcode.sql

³o¬O±N FPCode ªº¸ê®Æ®w«Ø°_¨Ó¡A©Ò¥H§A»Ý­n¤@­Ó MySQL ¸ê®Æ®wªº¨Ï¥ÎªÌ±b¸¹¡A³o¸ò¤§«e¦b NetInfo Manager 
¨º¸Ì»¡ªº±b¸¹¬O¤£¦PªºªF¦è¡A³o¸Ìªº±b¸¹ [your_user_id] ¬Oµ¹ MySQL ªº¸ê®Æ®w¨Ï¥Îªº¡C¤U­±§Ú­Ì´N¨Ó³]©w MySQL ªººÞ²z­û±b¸¹¡G

	% mysqladmin -u root password "¦Û¤v¨ú¤@­Ó±K½X©ñ³oÃä"

±K½X¤£­n¸ò¨ä¥Lªº±K½X¤@¼Ë¡A³o¬O±Mªùµ¹ MySQL ¥Îªº¡C³o¼Ë´N¡A§â MySQL ¸ê®Æ®wªººÞ²z­û±b¸¹¸ò±K½X³]©w¦n¤F¡A
±µµÛ§A´N¥i¥H°õ¦æ¤W­±ªº«ü¥O¡C§¹¦¨«á±z´N¥i¥H§â fpcode.sql ³o­ÓÀɮץᱼ¡C

µù¡G¨ä¹ê§Ú­Ì·|«Øij§A¦b³]©w¦n root ¤§«á¡A·s¼W¤@­Ó¨Ï¥ÎªÌ¡A¹³¬O fpuser ³o¼Ëªº¦WºÙ¡A¨Ó¦s¨ú FPCode ªº
¸ê®Æ®w¡C³o³¡¥÷À³¸Óºâ¬O¶i¶¥ªº¤º®e¡A³o¸Ì´N¤£¥[°Q½×¡A¦³¿³½ì¥i¥H¥h DAMP °Q½×°Ï¥h¸ò¤j®a°Q±Ð¡C


±µµÛ§A»Ý­n³]©w¤@¤U FPCode ªº includes/ ³o­Ó¥Ø¿ý¸Ì config.inc.php ³o­ÓÀÉ¡A¹³¬O«ü©w¸ô®|¦ì¸mµ¥µ¥¡C³o³¡¥÷
ªº²Ó¸`¡A¦b config.inc.php ³o­ÓÀɸ̭±¦³¨Ç¸ÑÄÀ¡A³oÃä¥Ø«e¼È®É²¤¹L¡C

²{¦b¥´¶}ÂsÄý¾¹¡A¦b URL ªº¦a¤è¿é¤J http://localhost/fpcode/info.php ¦pªG¥i¥H¨£¨ì¤@­Ó±m¦âªº­¶­±¡A³oªí¥Ü 
PHP ¼Ò²Õªº¦w¸Ë¤@¤Á¥¿½T¡C¬°¤FÁקK¦b¦w¥þ¤WªºÅU¼{¡A½Ð¤£­n§Ñ°O¦b§¹¦¨ FPCode ªº¦w¸Ë«á¡A°È¥²§â info.php 
³o­ÓÀɮקR°£¡C

¡]¶¶«K­n´£¨ìªº¬O¡A¦pªG±z¬O¦b«D Mac OS X ªº¨t²Î (¦p Linux) ¤U¦w¸Ë FPCode¡A½Ð¦b³o­¶ªº¤U¥b³¡§ä¨ì¼Ð¦³ 
Apache Environment ªº°Ï°ì¡A¨Ã¯S§Oª`·N DOCUMENT_ROOT ¨º¦æ¸Ìªº¸ô®|­È¡A¦]¬°§A¦b config.inc.php ¸Ì³]©w 
$fpconfig["root_path"] ³o­ÓÅܼƪº®É­Ô·|»Ý­n°Ñ¦Ò¨ì³o­Ó¼Æ¾Ú¡A¦³»Ý­n¥i¥H¥h DAMP °Q½×°Ï¬¢¸ß¡C¡^

³Ì«á¦pªG config.inc.php Àɮ׳]©w¤@¤Á¥¿½T¡A¥´¶}ÂsÄý¾¹¡A¦b URL ªº¦a¤è¿é¤J¡G 

	http://localhost/fpcode/index.php

´NÀ³¸Ó¥i¥H¬Ý¨ì FPCode ªº¥D­¶¤F¡CFPCode ªººÞ²z¼Ò²Õ¥D­¶¡G

	http://localhost/fpcode/site_manager/index.html

¦Ü¦¹¾ã­Ó¦w¸Ë¤uµ{²×§iµ²§ô¡C

³Ì«á­n´£¿ô¦U¦ìªº¬O¦³Ãö©óºô¯¸ºÞ²z­ûªº¦w¥þ°ÝÃD¡A¦]¬° FPCode ªººÞ²z¼Ò²Õ³£¦b site_manager ³o­ÓÀɮק¨¡A
¦b¦w¸Ë§¹¦¨®É¨Ã¨S¦³¥ô¦ó¾÷¨î«OÅ@¡A§A¥²¶·­n¹ï Apache °µ¨ä¥Lªº³]©w¤~¥i¥H°µ±K½X«OÅ@¡C§Ú­Ì¦b DAMP ªº°Q½×°Ï
¦³»¡©ú¡A½Ð«e©¹°Ñ¦Ò¡G

	http://ubb.frostyplace.com.tw/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=13&t=000011

«á°O¡G

¦b¦¹­n·PÁ Digdog ªº¤j¤O¨ó§U¡AFPCode 0.9 ª©¤~±o¥H·Ç®É±À¥X¡C¦b¦¹­n¦A«×©IÆ~¡AFPCode ¬O­Ó§¹¥þ¶}©ñªº¦Û¥Ñ
³nÅé¡A¥u­n¬O¦³¿³½ìªºªB¤Í¡A¤£ºÞ±z·|¤£·|¼g php ©Î¬O SQL ¡]ı±o¥»½g¦w¸Ë«ü¤Þ«ÜÃøÀ´ªºªB¤Í´N¥i¥H²q¨ì¡A§Ú­Ì
«Ü¯Ê¥F¼¶¼g¨Ï¥Î¢A¦w¸Ë¤å¥óªº¹Ù¦ñ¡^, §Ú­Ì³£«D±`Åwªï±z¥i¥H¥[¤Jµo®iªÌªº¦æ¦C¡I

¦pªG±z¹ï©ó FPCode ¦³¥ô¦óªº°ÝÃD©ÎªÌ¬O«Øij¡AÅwªï¨ì DAMP °Q½×°Ï¨Ó¡G

	http://ubb.frostyplace.com.tw/cgi-bin/ultimatebb.cgi?ubb=forum&f=13



Return current item: FPCode