apache phpÔ´Âë°²×°
Ò»¡¢apache Ô´Âë°²×°
./configure --prefix=/usr/local/apache --enable-so
make
make install
×¢£º°²×°ºóÈç¹û¸Ä±äapacheÆðʼĿ¼(¹¤×÷Ŀ¼)£¬¿ÉÄÜ»á³öÏÖ403´íÎ󣬴ËʱÐÞ¸Ähttpd.confÖеÄUserºÍGroupΪÄã¸Ä±äºó
µÄÆðʼĿ¼ËùÊôµÄÓû§ºÍ×é¼´¿É£¡
ÈçrootÓû§°²×°apache£¬ÔòȱʡÅäÖÃΪ
User daemon
Group daemon
Äã¸Ä±äDocumentRootΪһoracleÓû§Ä¿Â¼£¬ÔòÐÞ¸ÄÅäÖÃΪ
User oracle
Group dba
¶þ¡¢ php Ô´Âë°²×°
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-oci8=/opt/ora/product/11.2.0/dbhome_1 --with-oci8=$ORACLE_HOME
make
make install
cp php.ini-development /usr/local/lib/php.ini
ÐÞ¸Äphp.ini Ìí¼Ó
extension=oci8.so
ÐÞ¸Ähttpd.conf Ìí¼Ó
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
ÐÞ¸Ä/etc/profile Ìí¼Ó
PATH=/usr/local/apache/bin:/usr/local/php/bin:$PATH
Èý¡¢µ¥¶À°²×°oci8
pecl install oci8
ÐÞ¸Äphp.ini Ìí¼Ó
extension=oci8.so
Ïà¹ØÎĵµ£º
ÓйرäÁ¿µÄ´«µØÖ·¸³Öµ
PHP 3 ÖУ¬±äÁ¿×ÜÊÇ´«Öµ¸³Öµ¡£PHP 4
ÌṩÁËÁíÍâÒ»ÖÖ·½Ê½¸ø±äÁ¿¸³Öµ£º´«µØÖ·¸³Öµ¡£Ê¹Óô«µØÖ·¸³Öµ£¬¼´¼òµ¥µØ×·¼ÓÒ»¸ö£¨&£©·ûºÅµ½½«Òª¸³ÖµµÄ±äÁ¿Ç°£¨Ô´±äÁ¿£©¡£Öйú×Ôѧ±à³ÌÍø£¬www.zxbc.cn
ÕâÒâζ×ÅеıäÁ¿¼òµ¥µÄÒýÓÃÁËÔʼ±äÁ¿,¸Ä¶¯ÐµıäÁ¿½«Ó°Ïìµ½Ôʼ±äÁ¿£¬·´Ö®ÒàÈ»¡£
<?p ......
ĬÈÏ£º
httpd.conf ÔÚ/etc/httpd/conf
my.cnf ÔÚ/etc
php.ini ÔÚ/usr/local/lib
ÔÚUnix ÉÏ£¬php.iniÎļþȱʡ·ÅÔÚ/usr/local/libÉÏÃ棬ÒòΪȱʡµÄ´æ·Å·¾¶ÊÇ<install-path>
/lib£¬µ«ÊÇ¿ÉÒÔÔÚ±àÒëµÄʱºòʹÓÃ--with-config-file-path²ÎÊýÀ´ÐÞ¸Äphp.iniµÄ´æ·ÅλÖã¬ÀýÈçÄã¿ÉÒÔʹÓÃ--with-
config-file-path ......
×î½üÔÚ¸ºÔð×öÍøÕ¾µÄºǫ́¹ÜÀí²¿·Ö£¬¾õµÃjqueryµÄsortable×ö¶¯Ì¬¹¤¾ßÀ¸ºÜʵÓÃ,µ«ÍøÉϺܶ඼ֻ½éÉÜajaxºÍsortableÒ»Æð£¬Ã»ÓкÍdatabase½áºÏ×ÅÓã¬Î¨Ò»¿´µ½µÄ¾ÍÊÇÓÃcookie£¬Èç¹ûÓÐÅóÓÑϲ»¶ÓÃcookieµÄ£¬¿ÉÒÔÀ´ÕâÀï¿´¿´¡£ ÎÒ¸öÈ˲»Ï²»¶cookie£¬cookieÓÐʱ¼äµÄÏÞÖÆ£¬¶øÇҺöàÈËÏÖÔÚ¶¼½ûÖ¹cookieµÄʹÓÃÁË¡£¾Í×Ô¼º±àÁ˸öÂ룬ÓÃphp¡¢j ......
¶ÔÓÚPHP
£¬ºÜ¶àÅóÓѱ§Ô¹·¢Õ¹ÎÊÌâ
£¬ÄÜÁ¦ÎÊÌâ¡£»¹ÓÐ×Ô¼ºÒÔºóµÄ·¢Õ¹¼°Ð½Ë®ÎÊÌâ¡£»¹ÓÐһЩ¿ÚÎǾÍÊÇPHP²»ÐУ¬²»ÊʺϴóÐͼܹ¹µÈµÈ¡£¿ìÏ°àÁË£¬×÷Ϊһ¸ö¿ª·¢
PHPÒѾ6Äê¶àÁËÀÏÄñ£¬ÔÚÕâÀïËæÒâ˵Éϼ¸¾ä¡£Ï£ÍûÄܶÔÄÇЩ¸Õ¸ÕÈëÃŵÄPHPERÓÐЩ°ïÖú¡£
Ê×ÏÈÈκÎÓïÑÔµÄÄÜÁ¦¹Ø¼üÔÚÓÚ×Ô¼ºµÄ¼¼ÊõÄÜÁ¦¡£·ñÔò¸øÄãÒ»¼Ü²¨Òô ......
ÎÒÊÇѧµç×ÓÉÌÎñµÄѧÉú£¬Ö÷Ҫѧϰ·½ÏòÊǵç×ÓÉÌÎñ¼¼Êõ²ãÃæµÄ¶«Î÷¡£Ñ§ÁËÒ»Äê¶àµÄʱ¼äÁË£¬¸Ð¾õСÓÐÊÕ»ñ¡£
Ç°¶Îʱ¼ä³öÈ¥ÃæÊÔflashµÄʱºò·¢ÏÖ×Ô¼ººÍ±ðÈ˵ÄÒªÇó²î¾àÉõÔ¶£¬»Øµ½Ñ§Ð£ºóŬÁ¦µÄѧϰPHP£¬×ÔÎҸоõ»¹²»´í£¬È«°àֻʣϼ¸¸öÈËÔÚѧºǫ́ÓïÑÔÁË£¬²»ÖªµÀÊÇÒòΪÓÐÁËÉÏÒ»´ÎµÄ´ò»÷»¹ÊÇÒòΪÎÒÊʺÏѧPHP£¬×ÔÈÏΪѧµÃ±È½Ï¿ì£¬ÖÁÉÙ±ÈÖ ......