In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the php can not find curl_init () how to solve the relevant knowledge, the content is detailed and easy to understand, the operation is simple and fast, has a certain reference value, I believe that after reading this php can not find curl_init () how to solve the article will have a harvest, let's take a look.
Php can not find the solution to curl_init (): 1, open "extension=php_curl.dll" in php.ini; 2, copy related files to the System32 directory; 3, modify Httpd.conf;4, restart apache.
This article operating environment: Windows7 system, php5.3 version, DELL G3 computer
What if php can't find curl_init ()?
Php5.3.5 (apache windows) prompts Cannot call to undefined function curl_init () for a solution
[other versions are similar]
Location where my php environment is installed
1.D:\ wamp\ php\ php.ini open; extension=php_curl.dll
two。 Copy D:\ wamp\ php\ libeay32.dll and D:\ wamp\ php\ ssleay32.dll to the C:\ Windows\ System32 directory
In 3.Httpd.conf (bottom), the specific location depends on the location of your PHP:
Add: LoadFile D:\ wamp\ php\ libeay32.dll
Add: LoadFile D:\ wamp\ php\ ssleay32.dll
LoadModule php5_module D:\ wamp\ php\ php5apache2_2.dll
AddType application/x-httpd-php .php .html .htm .jsp
# configure the path to php.ini
PHPIniDir "D:\ wamp\ php"
4. Restart apache
This is the end of the article on "how to solve if php can't find curl_init ()". Thank you for reading! I believe that everyone has a certain understanding of "php can not find curl_init () how to solve" knowledge, if you want to learn more knowledge, welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.