Php_curl issues that cannot be loaded

Source: Internet
Author: User
Tags fully qualified domain name
Php_curl problems that cannot be loaded
PHP.ini change, or this problem (of course, my path Chinese existence this extension)

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 16 22:36:43 2012] [Notice] Apache/2.2.19 (Win64) php/5.2.5 (x64) configured--Resuming normal operations
[Thu 16 22:36:43 2012] [Notice] Server Built:may 28 2011 15:18:56
[Thu 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 16 22:36:43 2012] [Notice] Child 10324:child process is running
[Thu 16 22:36:43 2012] [Notice] Child 10324:acquired the start mutex.
[Thu 16 22:36:43 2012] [Notice] Child 10324:starting threads worker.
[Thu 16 22:36:43 2012] [Notice] Child 10324:starting thread to listen on port 80.

If I load the dependency extension in the Apache config file, Apache will not boot (pre-load MySQL dependency in Apache configuration is fine)

This is my use of x64 Apache and x64 PHP encountered problems, to meet the guidance of the maze

------Solution--------------------
\xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3
The specified module is not found for GBK encoded characters
You need to be sure that there is ' d:/server/php/ext\\php_curl.dll ' this file.
The file system of Windows I am not sure, so I am not certain whether/ext\\php_curl.dll will be correctly understood.
You can configure extension_dir= ' D:\\server\\php\\ext ' in php.ini to see
------Solution--------------------
Copy Libeay32.dll, Ssleay32.dll, Php5ts.dll, php_curl.dll files from php directory to system32

Configure Extension_dir, remove extension = Php_curl.dll front semicolon.



------Solution--------------------
If the dependency extension is loaded in the Apache configuration file, Apache will not boot.
What do you mean by that? Does the PHP extension not load through php.ini?

In the case of x86, set the Phpinidir on everything OK, x64 should be the same
You can also try attaching a PHP installation path to the system's environment variable path
Consider copying files when last resort

Where your 64-bit program is downloaded, the official web does not seem to
------Solution--------------------
Let's not talk about whether the dynamic link library can find a problem, as long as you can find it in the system search path (PATH)

You still are.
LoadFile D:/server/php/libeay32.dll
LoadFile D:/server/php/ssleay32.dll
It? It's supposed to be 64, right?

PHP is 64, how can I find the entry of 32-bit DLL?


  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    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.