Php_curl cannot be loaded

Source: Internet
Author: User
Failed: Couldnotreliablydeterminetheserversfullyqualifieddomainname, using192.168.2.101forServerNamePHPWarni php_curl cannot be loaded
This problem still occurs when php. ini is changed (of course, my path has this extension in Chinese)

Httpd.exe: cocould 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: cocould not reliably determine the server's fully qualified domain name, using 192.168.2.101 for ServerName
Httpd.exe: cocould 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.

If I load the dependency extension in the apache configuration file, apache will not be able to start (it is okay to pre-load mysql in apache configuration)

This is a problem I encountered when using x64 apache and x64 php.

------ 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 characters encoded by GBK.
Make sure that you have the 'd:/server/php/ext \ php_curl.dll 'file.
I am not sure about the windows file system, so I am not sure whether/ext \ php_curl.dll will be correctly understood.
You can configure extension_dir = 'd: \ server \ php \ ext in php. ini.
------ Solution --------------------
Copy the libeay32.dll, ssleay32.dll, php5ts. dll, and php_curl.dll files in the PHP directory to system32.

Configure extension_dir and remove the semicolon before extension = php_curl.dll.



------ Solution --------------------
Apache cannot start if the dependency extension is loaded in the apache configuration file.
What does this mean? Isn't php extension loaded through php. ini?

In the case of x86, if PHPIniDir is set, everything will be OK, and it should be the same in x64.
You can also try to append the php installation PATH to the system environment variable PATH.
Copying a file is a last resort.

Where are your 64-bit programs downloaded? it does not appear on the official website.
------ Solution --------------------
Do not mention whether the dynamic link library can be found, as long as it can be found in the system search PATH

You still
LoadFile d:/server/php/libeay32.dll
LoadFile d:/server/php/ssleay32.dll
? Should it be 64?

Php is 64. how can I find the 32-bit dll entry?


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.