[請益] 請問一下找不到curl()
我在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)
→
09/22 17:00, , 1F
09/22 17:00, 1F
→
09/22 17:40, , 2F
09/22 17:40, 2F
→
09/22 17:44, , 3F
09/22 17:44, 3F
→
09/22 19:04, , 4F
09/22 19:04, 4F
→
09/22 19:12, , 5F
09/22 19:12, 5F
→
09/22 19:12, , 6F
09/22 19:12, 6F
→
09/22 19:13, , 7F
09/22 19:13, 7F
→
09/22 19:36, , 8F
09/22 19:36, 8F
→
09/22 20:00, , 9F
09/22 20:00, 9F
→
09/22 20:01, , 10F
09/22 20:01, 10F
→
09/22 20:01, , 11F
09/22 20:01, 11F