fedoraÏÂphp»·¾³ÅäÖÃ
±àÒë°²×°
apache
ÏÂÔØapache°²×°
=============================
ÎÒ°ÑËû°²×°ÔÚ/usr/local/apacheĿ¼ÏÂ
tar -zxvf apacheÎļþ
½øÈë½âѹºóµÄĿ¼£¬ÅäÖÃ./configure --prefix=/usr/local/apache -enable-mods-shared=all -enable-so -enable-rewrite
make
make install
È»ºóÆô¶¯/usr/local/apache/bin/apachectl start»áÓÐÒ»¸öÌáʾ£¬Ö»Òª°Ñ/usr/local/apache/conf/httpd.confÖеÄserveradminÇ°ÃæµÄ#ºÅ´ò>¿ª¾Í¿ÉÒÔÁË
È»ºóÖØÐÂÆô¶¯£¬ÔÚä¯ÀÀÆ÷ÖнøÐÐlocalhost·ÃÎÊ£¬³É¹¦Ôò¿ÉÒÔ¿´µ½It works!
¼òµ¥ÅäÖÃÒ»ÏÂhttpd.conf
vi /usr/local/apache/conf/httpd.conf (Õâ¸ö·¾¶ÒÔÄ㰲װʱµÄ·¾¶Îª×¼),Èç¹ûÐèÒª¿ÉÒÔ°ÑDocumentRootºÍDirectory¸ÄΪÄãÏëÒªµÄ·¾¶£¬È»ºó
ÔÚ
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
µÄÏÂÃæÌí¼ÓÈçÏÂÁ½ÐУº
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
ÓÃÓÚÈÃapache½âÎöphp²¢ÇÒ.phpsÀ©Õ¹ÃûÉèÖóÉÏÔʾ¸ßÁÁµÄphpÔ´Îļþ
×Ô¶¯°²×ªmysql
==============================
fedoraÏÂʹÓà yum install mysql*À´×Ô¶¯°²×°mysql
°²×°php
=============================
phpÐèÒªbxml2µÄÖ§³Ö, ËùÒÔÏÈÏÂÔز¢°²×°libxml2
# cd /root/soft
# wget http://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.19.tar.gz
# tar -zxf libxml2-2.6.19.tar.gz
# cd libxml2-2.6.19
# ./configure --prefix=/usr/local/libxml2
# make; make install
ÅäÖÃphp
./configure --prefix=/usr/local/php5/ --with-apxs2=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/lib --with-libxml-dir=/usr/local/libxml2/ --with-mysql
¿ÉÄÜÄã»áÅöµ½ÕâÑùµÄ´íÎó£º
httpd: Syntax error on line 53 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied
ÔÒò£ºÊÇLinuxÓÐÒ»¸öSELinux±£»¤Ä£Ê½ÒýÆðµÄ¡£
½â¾ö°ì·¨:
££ setenforce 0
# chcon -c -v -R -u system_u -r object_r -t textrel_shlib_t /usr/local/apache/modules/libphp5.so
# /usr/local/apache/bin/apachectl start
# setenforce 1
Ïà¹ØÎĵµ£º
ÔÎÄת×Ô £ºhttp://home.phpchina.com/space.php?uid=49655&do=blog&id=182488
Ò»£® ±Ø±¸ÖªÊ¶
1.wsdl(web·þÎñ±ê¼ÇÓïÑÔ)
WSDL£¨ÍøÂç·þÎñÃèÊöÓïÑÔ£¬Web Services Description Language£©ÊÇÒ»ÃÅ»ùÓÚ XML
µÄÓïÑÔ£¬ÓÃÓÚÃèÊö Web Services ÒÔ¼°ÈçºÎ¶ÔËüÃǽøÐзÃÎÊ¡£
......
1¡¢Ç°ÑÔ
·ÖÒ³ÏÔʾÊÇÒ»Öַdz£³£¼ûµÄä¯ÀÀºÍÏÔʾ´óÁ¿Êý¾ÝµÄ·½·¨£¬ÊôÓÚweb±à³ÌÖÐ×î³£´¦ÀíµÄʼþÖ®Ò»¡£¶ÔÓÚweb±à³ÌµÄÀÏÊÖÀ´Ëµ£¬±àдÕâÖÖ´úÂëʵÔÚÊǺͺôÎüÒ»Ñù×ÔÈ»£¬µ«ÊǶÔÓÚ³õѧÕßÀ´Ëµ£¬³£³£¶ÔÕâ¸öÎÊÌâÃþ²»×ÅÍ·Ð÷£¬Òò´ËÌصØ׫д´ËÎĶÔÕâ¸öÎÊÌâ½øÐÐÏêϸµÄ½²½â£¬Á¦ÇóÈÿ´ÍêÕâƪÎÄÕµÄÅóÓÑÔÚ¿´ÍêÒÔºó¶ÔÓÚ·ÖÒ³ÏÔʾµÄÔÀíºÍʵÏÖ·½· ......
PHP×÷ΪһÖÖ·þÎñÆ÷¶ËµÄ½Å±¾ÓïÑÔ£¬Ïó±àд¼òµ¥£¬»òÕßÊǸ´ÔӵĶ¯Ì¬ÍøÒ³ÕâÑùµÄÈÎÎñ£¬ËüÍêÈ«Äܹ»Ê¤ÈΡ£µ«ÊÂÇé²»×ÜÊÇÈç´Ë£¬ÓÐʱΪÁËʵÏÖij¸ö¹¦ÄÜ£¬±ØÐë½èÖúÓÚ
²Ù×÷ϵͳµÄÍⲿ³ÌÐò£¨»òÕß³Æ֮ΪÃüÁ£¬ÕâÑù¿ÉÒÔ×öµ½Ê°빦±¶¡£
¡¡¡¡ÄÇô£¬ÊÇ·ñ¿ÉÒÔÔÚPHP½Å±¾Öе÷ÓÃÍⲿÃüÁîÄØ£¿Èç¹ûÄÜ£¬ÈçºÎÈ¥×öÄØ£¿
ÓÐЩʲô·½ÃæµÄ¹ËÂÇÄØ£¿ÏàÐÅÄã ......
¹ØÓÚPHPµÄǰ;£¨¶þ£© £¨À´×Ô±¾Õ¾µÄÏûÏ¢£©
3.2ÔÚWindows 95/98/NT/2000ÉÏ¿ìËÙ°²×°Apache Web·þÎñÆ÷£¨10ÃëÖÓ£©
ÔÚWindowsÉÏÔËÐÐPHP£¬ÄãÐèÒªÒ»¸öWeb·þÎñÆ÷£¬Äã¿ÉÒÔʹÓÃ΢ÈíµÄIIS£¬Ò²¿ÉÒÔʹÓÃÃâ·ÑµÄApache ¡£ÒòΪ¿ÉÒÔͨ¹ýApacheµÄ°²×°Îļþsetup.exe½øÐа²×°£¬¿ÉÒÔΪÄã½ÚÊ¡Ðí¶àʱ¼ä¡£
PHPTtriadÊÇÒ»¸ö°üÀ¨Apache¡¢PHP¡¢MySQ ......