php_curl無法載入的有關問題

來源:互聯網
上載者:User
php_curl無法載入的問題
php.ini中改了,還是出現這個問題(當然了,我的路徑中式存在這個擴充的)

httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.2.101 for ServerName
PHP Warning: PHP Startup: Unable to load dynamic library 'd:/server/php/ext\\php_curl.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
[Thu Aug 16 22:36:43 2012] [notice] Apache/2.2.19 (Win64) PHP/5.2.5 (x64) configured -- resuming normal operations
[Thu Aug 16 22:36:43 2012] [notice] Server built: May 28 2011 15:18:56
[Thu Aug 16 22:36:43 2012] [notice] Parent: Created child process 10324
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.2.101 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.2.101 for ServerName
PHP Warning: PHP Startup: Unable to load dynamic library 'd:/server/php/ext\\php_curl.dll' - \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3\r\n in Unknown on line 0
[Thu Aug 16 22:36:43 2012] [notice] Child 10324: Child process is running
[Thu Aug 16 22:36:43 2012] [notice] Child 10324: Acquired the start mutex.
[Thu Aug 16 22:36:43 2012] [notice] Child 10324: Starting 64 worker threads.
[Thu Aug 16 22:36:43 2012] [notice] Child 10324: Starting thread to listen on port 80.

如果我把依賴擴充在apache設定檔中載入的話apache會啟動不了(apache配置中預先載入mysql的依賴沒問題)

這個是我用x64的apache和x64的php遇到的問題,求遇到過的指點迷津

------解決方案--------------------
\xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3
是GBK編碼的字元 未找到指定模組
你需要確定有 'd:/server/php/ext\\php_curl.dll' 這個檔案。
windows的檔案系統我不清楚,因此我也不確定 /ext\\php_curl.dll 是否會被正確理解.
你可以在php.ini中配置extension_dir='d:\\server\\php\\ext' 看看
------解決方案--------------------
拷貝PHP目錄中的libeay32.dll, ssleay32.dll, php5ts.dll, php_curl.dll檔案到 system32

配置好 extension_dir ,去掉 extension = php_curl.dll 前面的分號.



------解決方案--------------------
把依賴擴充在apache設定檔中載入的話apache會啟動不了
這話是什麼意思?難道php擴充不是通過 php.ini 載入嗎?

在 x86 情況下,設定了 PHPIniDir 就一切ok了,x64下也應該是一樣的
你還可以嘗試在系統的環境變數PATH上附加php安裝路徑
萬不得已時才考慮複製檔案

你的64位的程式都是在哪裡下載的,官網上似乎並沒有
------解決方案--------------------
先不說動態連結程式庫是否能找到的問題,只要在系統搜尋路徑(PATH)中就能找到的

你依然還是
LoadFile d:/server/php/libeay32.dll
LoadFile d:/server/php/ssleay32.dll
嗎?應該是 64 吧?

php 都 64 了,如何能找到 32 位 dll 的入口?


  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.