PHP Development Operation Environment Construction

Source: Internet
Author: User
PHP Development Run Environment Building

I. Zend Studio 10 cracked/Chinese, reference documentation

http://blog.csdn.net/qq1355541448/article/details/16807429

Second, installation composer

Go to the official website to download https://getcomposer.org/download/

Issue: Troubleshooting Windows Composer installation failed due to PHP_OPENSSL extension missing.

Composer (https://getcomposer.org/) is a dependency management tool under PHP. You can declare the class libraries you need in your project, and composer will install them for you in your project. If you understand node's NPM or Ruby's bundler, you understand what it does, but it's not a package manager. Install composer in the Windows Wamp environment(note: Composer requires PHP version in 5.3.2+) and you may experience this installation failure: the error message is
"The OpenSSL extension is missing, which would reduce the security and stability of Composer. If possible you should enable it or recompile PHP with--with-openssl " to the effect that your PHP lacks the OpenSSL extension. You may go to the Wamp console in the lower right corner of the screen to load the php OpenSSL extension, or remove theExtension=php_openssl from the PHP. Ini. DLL at the beginning of the line, and then restart the server, and it turns out that it is still not working. The correct way is in the PHP installation directory, such as C:\wamp\bin\php\php5.3.3\, find a directory of the php.ini file, and then remove the Extension=php_openssl. DLL at the beginning of this line, and then you can install the composer successfully. You can see that there are two PHP. ini, yes Wamp in Apache and in CLI (command line) mode using different php.ini files, when you go to the Wamp console to enable Php_openssl This extension, is enabled Apache, Rather than the CLI. While modifying the php.ini configuration file in the PHP installation directory, you can enable OpenSSL in CLI mode.

Problem: Solve Win7 run PHP composer SSL error problem is not installed CA certificate caused by!!! http://my.oschina.net/yearnfar/blog/346727

CA certificate Download Address: http://curl.haxx.se/docs/caextract.html

Then modify the php.ini file

openssl.cafile= d:/wamp/php/Verify/CACERT.PEM

  • 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.