PHP 板


LINE

看板 PHP  RSS
我在XP的localhost使用php-5.2.14-Win32.zip apache使用httpd-2.2.16-win32-x86-openssl-0.9.8o.msi php.ini只改了兩行 啟用了一些dll 在我的電腦環境變數Path加了c:\php\ext Apache 的conf加入 # 設定使用PHP 5: LoadModule php5_module "c:/php/php5apache2_2.dll" AddType application/x-httpd-php .php # 設定php.ini的位置 PHPIniDir "c:/php" # 設定使用D:/wwwroot為網站的根目錄 DocumentRoot "D:/ApacheWeb" DirectoryIndex index.php <Directory "D:/ApacheWeb"> #設定網站的根目錄權限 AllowOverride All Allow from All </Directory> 在php.ini增改下面這幾行 display_errors = On extension_dir = "c:\php\ext" extension=php_zip.dll extension=php_mbstring.dll extension=php_exif.dll extension=php_curl.dll extension=php_soap.dll extension=php_sockets.dll 但是還是找不到函式 我有把exif.dll改在mbstring.dll前面 error log會出現沒找到exif.dll 所以我覺得exif都找到了 應該路徑可能沒問題 請問還有甚麼可能嗎 error log 如下 httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.11 for ServerName PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\php\\ext\\php_curl.dll' - \xa7\xe4\xa4\xa3\xa8\xec\xab\xfc\xa9w\xaa\xba\xbc\xd2\xb2\xd5\xa1C\r\n in Unknown on line 0 [Wed Sep 22 16:50:15 2010] [notice] Apache/2.2.16 (Win32) PHP/5.2.14 configured -- resuming normal operations [Wed Sep 22 16:50:15 2010] [notice] Server built: Jul 30 2010 16:15:37 [Wed Sep 22 16:50:15 2010] [notice] Parent: Created child process 3100 httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.11 for ServerName httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.11 for ServerName PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\php\\ext\\php_curl.dll' - \xa7\xe4\xa4\xa3\xa8\xec\xab\xfc\xa9w\xaa\xba\xbc\xd2\xb2\xd5\xa1C\r\n in Unknown on line 0 [Wed Sep 22 16:50:15 2010] [notice] Child 3100: Child process is running [Wed Sep 22 16:50:16 2010] [notice] Child 2600: Released the start mutex [Wed Sep 22 16:50:16 2010] [notice] Child 3100: Acquired the start mutex. [Wed Sep 22 16:50:16 2010] [notice] Child 3100: Starting 64 worker threads. [Wed Sep 22 16:50:17 2010] [notice] Child 2600: All worker threads have exited. [Wed Sep 22 16:50:17 2010] [notice] Child 3100: Starting thread to listen on port 80. [Wed Sep 22 16:50:17 2010] [notice] Child 2600: Child process is exiting --



※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.161.52.53 ※ 編輯: nfsong 來自: 218.161.52.53 (09/22 16:51)
1F:→ nfsong:我把其他的dll全開好像都讀不到 但是exif有讀到真奇怪 09/22 17:00
2F:→ nfsong:也有把libeay32.dll還有 ssleay32.dll 複製到 system32 09/22 17:40
3F:→ nfsong:http://curl.haxx.se/docs/install.html 09/22 17:44
4F:→ nfsong:抓了最新的php-5.3.3 變成跳一個視窗出來 一樣讀不到 09/22 19:04
5F:→ nfsong:終於試出來了extension_dir = "c:\php\ext\" 09/22 19:12
6F:→ nfsong:最後一個斜線也要加.... 09/22 19:12
7F:→ nfsong:不過我是用最新版的 舊的不知道行不行 09/22 19:13
8F:→ ileadu:請問你的作業系統是 windows 7 嗎? 09/22 19:36
9F:→ nfsong:zuluck ghost XP 09/22 20:00
10F:→ nfsong:不過我用新版的不用把dll丟到system32裡面 改dir就好 09/22 20:01
11F:→ nfsong:我之前有朋友是要丟dll到system32裡面 09/22 20:01







like.gif 您可能會有興趣的文章
icon.png[問題/行為] 貓晚上進房間會不會有憋尿問題
icon.pngRe: [閒聊] 選了錯誤的女孩成為魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一張
icon.png[心得] EMS高領長版毛衣.墨小樓MC1002
icon.png[分享] 丹龍隔熱紙GE55+33+22
icon.png[問題] 清洗洗衣機
icon.png[尋物] 窗台下的空間
icon.png[閒聊] 双極の女神1 木魔爵
icon.png[售車] 新竹 1997 march 1297cc 白色 四門
icon.png[討論] 能從照片感受到攝影者心情嗎
icon.png[狂賀] 賀賀賀賀 賀!島村卯月!總選舉NO.1
icon.png[難過] 羨慕白皮膚的女生
icon.png閱讀文章
icon.png[黑特]
icon.png[問題] SBK S1安裝於安全帽位置
icon.png[分享] 舊woo100絕版開箱!!
icon.pngRe: [無言] 關於小包衛生紙
icon.png[開箱] E5-2683V3 RX480Strix 快睿C1 簡單測試
icon.png[心得] 蒼の海賊龍 地獄 執行者16PT
icon.png[售車] 1999年Virage iO 1.8EXi
icon.png[心得] 挑戰33 LV10 獅子座pt solo
icon.png[閒聊] 手把手教你不被桶之新手主購教學
icon.png[分享] Civic Type R 量產版官方照無預警流出
icon.png[售車] Golf 4 2.0 銀色 自排
icon.png[出售] Graco提籃汽座(有底座)2000元誠可議
icon.png[問題] 請問補牙材質掉了還能再補嗎?(台中半年內
icon.png[問題] 44th 單曲 生寫竟然都給重複的啊啊!
icon.png[心得] 華南紅卡/icash 核卡
icon.png[問題] 拔牙矯正這樣正常嗎
icon.png[贈送] 老莫高業 初業 102年版
icon.png[情報] 三大行動支付 本季掀戰火
icon.png[寶寶] 博客來Amos水蠟筆5/1特價五折
icon.pngRe: [心得] 新鮮人一些面試分享
icon.png[心得] 蒼の海賊龍 地獄 麒麟25PT
icon.pngRe: [閒聊] (君の名は。雷慎入) 君名二創漫畫翻譯
icon.pngRe: [閒聊] OGN中場影片:失蹤人口局 (英文字幕)
icon.png[問題] 台灣大哥大4G訊號差
icon.png[出售] [全國]全新千尋侘草LED燈, 水草

請輸入看板名稱,例如:iOS站內搜尋

TOP