Enable PHP with wamp in Windows 7x64 Environment

Source: Internet
Author: User
After the 64-bit Windows 7 system is installed, phpnow cannot be used. Therefore, wamp is installed and many options can be selected as needed. However, the Curl component cannot be enabled for a long time. The php program displays the Calltoundefinedfunctioncurl_init () error and searches Baidu and Google to copy the dll to system32 and modify php. ini.

After the 64-bit Windows 7 system is installed, phpnow cannot be used. Therefore, wamp is installed and many options can be selected as needed. However, the Curl component cannot be enabled for a long time. The php program displays the Call to undefined function curl_init () error. It searches Baidu and Google to copy the dll to system32 and modify php. ini.

After the 64-bit Windows 7 system is installed, phpnow cannot be used. Therefore, wamp is installed and many options can be selected as needed.

However, the Curl component cannot be enabled for a long time. The php program displays the Call to undefined function curl_init () error and searches Baidu and Google to copy the dll to system32 and modify php. the INI file is completely unsolvable.

In fact, wamp is very intelligent. After you select enable Curl in settings, all the work has been completed for you, but I don't know if it is caused by developers not paying attention to it, the built-in php_curl.dll file does not work in a 64-bit Windows 7 environment.

I found a solution on a foreigner's blog.

Http://www.technoreaders.com/code/curl-on-wamp/

Http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/

Specific steps:

1. Click the wamp icon in the notification bar, find the php_curl option in php-ext, and click Select. Wait until the wamp service is restarted.

2. Download the repaired php_curl.dll file and place it in the wamp \ bin \ php (Version) \ ext folder.

3. Restart the wamp service.

In order to avoid the Great Wall firewall, we are stuck in the last step of solution. I uploaded the php_curl.dll file to skydrive and select the corresponding version to download it:

Https://skydrive.live.com/redir? Resid = 184F32B4E21DAE27! 4863

Http://www.justintseng.com/windows7x64-environment-wamp-open-php_curl-in-components

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.