How to enable PHP's openssl extension to install Composer ? Last Updated : 29 Jan, 2020 Comments Improve Suggest changes Like Article Like Report To perform the secure HTTPS transfers you will need to enable the openssl extension then you have to install the composer. In this article, we will cover the enabling openssl for XAMPP as well as WAMP one by one then we will install the composer. Enable openssl extension on XAMPP Enable openssl extension on WAMP Installation of Composer Enable PHP’s openssl extension on XAMPP: Step 1: Open XAMPP control panel and click on the Config button for the Apache module. Step 2: Then from the given options, select PHP (php.ini) option. This will open the php.ini file in the default text editor (example: notepad). Step 3: Now we have to search for extension=openssl line in that file. Step 4: After you find it, see if there is any semicolon ';' at the beginning of the line. If there is then that means it is disabled. So remove the semicolon to enable the extension. Step 5: Save and Close the file. And there you have openssl extension enabled. Enable PHP’s openssl extension on WAMP: Step 1: Run the WAMP Server installed on the system. Step 2: Now Left Click on the Green WAMP icon on the bottom right corner in windows and go in PHP option. Step 3: Then go to the PHP extensions option and there you will find the openssl option. If there is a green tick mark at the beginning of it then it means it is enabled. If not then you can enable it by clicking it. Step 4: Now restart all the services and you have enabled openssl extension. Note: You can also enable openssl on WAMP by going in the php.ini file. Install Composer: After following the above steps for enabling the openssl, you can follow the following steps to install Composer Step 1: Download the Composer-Setup.exe file and run it. Step 2: After running, you will see a popup box asking for the install mode. Here select Install for all users, which is also a recommended option, and hit Yes. Step 3: In Installation Options window, we don’t want the Developer mode, so we will let it be unpicked and click on Next. Step 4: Now, you will have to choose the PHP command-line. For XAMPP, the path will be C:\xampp\php\php.exe and for WAMP, the path will be C:\wamp64\bin\php\php7.3.12\php.exe and click Next. If you don’t find the path in the drop down then you will have to browse it. The version of PHP can be different for you. If don't have installed Visual C++ Redistributable for Visual Studio then it will show you below error. So to proceed you have to install that first. Step 5: Now in the Proxy Setting, leave every thing as it is and click on Next. Step 6: Now, verify the settings and click on Install. Step 7: Now you will see the following windows which means that the Composer is installed. Click on Next and hit Finish. Step 8: Now, to check if composer installed properly, open cmd, and type composer and hit Enter. If you see the output as below then it is successfully installed. If not then you will have to restart your PC and try again. Comment More infoAdvertise with us Next Article How to enable PHP's openssl extension to install Composer ? A aakashpawar1999 Follow Improve Article Tags : Technical Scripter Web Technologies PHP Technical Scripter 2019 PHP-Misc +1 More Similar Reads How to Install PHP Composer on cPanel? cPanel is a web hosting management system. cPanel provides a control panel that provides a nice user interface. It is the most reliable & site management system. Moreover, cPanel provides a dashboard where some web date files and MySQL files are present to help others out. A composer is a tool t 2 min read How to Install bcmath extension of PHP on CentOS? PHP offers various extensions to deal with different cases. BCMath is one of the PHP extensions which is an interface to the GNU implementation as a library of the Basic Calculator that deals with float values in PHP. This extension helps in implementing the function related to mathematics on the pr 2 min read How to Install PHP Extension in cPanel? PHP (Hypertext Preprocessor) is known as a broadly useful prearranging language that can be utilized to foster dynamic and intelligent sites. It was among the main server-side dialects that could be inserted into HTML, making it more straightforward to add usefulness to pages without expecting to ca 1 min read How to install the ext-curl extension with PHP 7 ? The ext-curl CURL stands for client user, In Linux cURL is a PHP extension, that allows us to receive and send information via the URL syntax. And ext-curl is the extension in the latest PHP-7 which is loaded with some of the advanced features of the basic curls. The following are the steps to add e 1 min read How to Install PHP Soap Extension? PHP is a general-purpose scripting language that is mainly used for Web development to built dynamic and interactive web pages. Because of its free availability and efficiency, it is widely used among web developers. It has many extensions to get and use web services to make the website more interac 3 min read Like