windowsÏÂphpÖÐSOAPµÄÅäÖÃ
ÔÚwindowsϵÄphp.iniÎļþÀï
ÕÒµ½ÕâÒ»ÐдúÂ루ÈçûÓÐÔò×ÔÐÐÌí¼Ó£©
extension=php_soap.dll
SOAPÔÚphp.iniÖл¹ÓÐ×Ô¼ºµÄÅäÖò¿·Ö£¬ÈçÏÂËùʾ
[soap]
; Enables or disables WSDL caching feature.
soap.wsdl_cache_enabled=1
; Sets the directory name where SOAP extension will put cache files.
soap.wsdl_cache_dir="/tmp"
; (time to live) Sets the number of second while cached file will be used
; instead of original one.
soap.wsdl_cache_ttl=86400
Õâ¶ÎÅäÖÿØÖÆÁËSOAPÀ©Õ¹µÄWSDL»º´æÌØÐÔ¡£Ä¬ÈÏÇé¿öÏ£¬WSDLÃèÊöÎļþÔÚ24Сʱ(86400sec)ÄÚ¶¼ÔÚ»º´æÉèÖõÄĿ¼Ï¡£
ÁíÍ⻹ÐèÒªÐÞ¸ÄһϴúÂë¶Î£¬½«always_populate_raw_post_dataÉèÖÃΪOn£¬²¢È¥µô·ÖºÅ£¬±íʾÔÊÐíÈ¥µÄû¾¸ñʽ»¯µÄPOSTÊý¾Ý¡£
; Always populate the $HTTP_RAW_POST_DATA variable.
always_populate_raw_post_data = On
È»ºóÕÒµ½ÈçÏ´úÂ룬ÉèÖÃΪ0
soap.wsdl_cache_enabled=0
ÕâÑù£¬ÔÚ´úÂëµ÷ÊÔʱ£¬±ÜÃâÓöµ½Ò»Ð©ÄªÃûÆäÃîµÄ´íÎó£¬Íê³Éweb·þÎñ¿ª·¢Ö®ºó£¬Òª¼ÇµÃ¸ÄΪ1£¬¼´´ò¿ªWSDL»º´æ£¬Ê¹´úÂëÔËÐеøü¿ì¡£
ΪÁËÖ¤Ã÷Äã³É¹¦ÅäÖúÃSOAP,ÇëʹÓÃphpinfo()º¯ÊýÈ·ÈÏÏ£º
Ïà¹ØÎĵµ£º
°²×°curl
¡¡¡¡
¡¡¡¡
¡¡¡¡1. curl ÊÇ php 標準庫,ËùÒÔ¿ÉÒÔÔÚÔ來µÄ phpX.X.X.tar.gz ÖÐÕÒµ½¡£
¡¡¡¡2. 進Èë php Ä¿錄ÖÐµÄ ext ÕÒµ½ curl
¡¡¡¡3. ÔÚ curl Ä¿錄ÖÐ執ÐÐ /usr/local/php5-fastcgi/bin/phpize
¡¡¡¡4. ÔÙ來將ËûÉú³ÉµÄ檔°¸進ÐÐ ./con ......
»ù±¾µÄ PHP Óï·¨
PHP µÄ½Å±¾¿éÒÔ <?php ¿ªÊ¼£¬ÒÔ ?> ½áÊø¡£Äú¿ÉÒÔ°Ñ PHP µÄ½Å±¾¿é·ÅÖÃÔÚÎĵµÖеÄÈκÎλÖá£
µ±È»£¬ÔÚÖ§³Ö¼òдµÄ·þÎñÆ÷ÉÏ£¬Äú¿ÉÒÔʹÓà <? ºÍ ?> À´¿ªÊ¼ºÍ½áÊø½Å±¾¿é¡£
²»¹ý£¬ÎªÁË´ïµ½×îºÃµÄ¼æÈÝÐÔ£¬ÎÒÃÇÍƼöÄúʹÓñê×¼ÐÎʽ (<?php)£¬¶ø²»ÊǼòдÐÎʽ¡£
<?php
?>
PHP Îļþͨ³£»á°ü ......
¡¾×ª¡¿http://www.linuxsir.org/main/?q=node/241
1.°²×°»·¾³
²Ù×÷ϵͳ£ºRed Hat Linux Enterprise AS 4.0
Êý¾Ý¿â£ºMySQL 5.0.24
Web·þÎñÆ÷£ºApache 2.2.3
½Å±¾ÓïÑÔ£ºPHP 5.1.6
2.°²×°MySQL 5.0.24
-------------ÏÂÔØÈí¼þ°ümysql-5.0.24.tar.gz£¬µØÖ·http://www.mysql.com-------------
# tar zvxf mysql-5.0.24.ta ......
Ä£ÐÍ¿ò¼Ü
¿ò¼Ü˼Ïë¾ÍÊÇÌṩһÖÖ¿ÉÒÔÔÚ¶à¸öÓ¦ÓóÌÐòÖÐʹÓõÄÉè¼Æ¡£ËùÓÐÓ¦ÓóÌÐò¶¼ÓдóÁ¿Í¨ÓõĻù±¾ÄÚÈÝ —— ¾ßÌåµØ˵£¬¾ÍÊÇijÀàÓëÊý¾Ý¿âµÄ½Ó¿Ú¡¢Ä³Ð©Ó¦ÓóÌÐòÂß¼¡¢Ó¦ÓóÌÐò³ÊÏÖ¸øÓû§µÄÄÚÈݵȡ£Èç¹ûÄú±àд¹ýÐí¶à PHP Ó¦ÓóÌÐò£¬Ôò»áÖªµÀÕâЩ»ù±¾ÄÚÈÝÊÇʲô¡£Äú¿ÉÄÜÒѾ±àд¹ýÒ»×麯Êý»ò´ÓÊý¾Ý¿âÖжÁÈ¡Êý¾ÝºÍÏòÊ ......