{"id":109,"date":"2015-11-22T14:54:17","date_gmt":"2015-11-22T14:54:17","guid":{"rendered":"https:\/\/vining.in\/blog\/?p=109"},"modified":"2017-05-30T09:09:37","modified_gmt":"2017-05-30T09:09:37","slug":"if-possible-you-should-enable-it-or-recompile-php-with-with-openssl","status":"publish","type":"post","link":"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/","title":{"rendered":"If possible you should enable it or recompile php with &#8211;with-openssl"},"content":{"rendered":"<p>When you\u00a0trying to install Composer for Laravel in WAMP setup. You may\u00a0getting a warning message for not enabling openssl in WAMP.<\/p>\n<p>Step 1<br \/>\n1 Find the location and edit the file named: php.ini.<br \/>\n2 Uncomment the line extension=php_openssl.dll by removing the semicolon at the beginning.<br \/>\n3 Try again<\/p>\n<p>Method 2<\/p>\n<p>If above step could not solve your problem. You could install composer manually by following steps.<\/p>\n<p>Step 1<\/p>\n<ol>\n<li>Modify\u00a0&#8220;Path&#8221; System variable\n<ol>\n<li>My Computer -&gt; System Properties -&gt; Advances system settings<\/li>\n<li>Copy\u00a0PHP path from\u00a0wamp \u00a0&#8220;C:\\wamp\\bin\\php\\php5.3.8\\;&#8221; and Past at last of Path variable.<\/li>\n<li>Do not add space before this line.<\/li>\n<li>Logoff user and login again.<\/li>\n<\/ol>\n<\/li>\n<li><a href=\"https:\/\/getcomposer.org\/download\/\" target=\"_blank\">Download<\/a> composer.phar<\/li>\n<li>Copy to desire directory i.e. C:\\composer<\/li>\n<li>Create Batch file for composer as below.\n<ol>\n<li>Open cmd<\/li>\n<li>Goto Composer directory<\/li>\n<li>Type as C:\\composer&gt;echo @php &#8220;%~dp0composer.phar&#8221; %*&gt;composer.bat<\/li>\n<\/ol>\n<\/li>\n<li>Modify\u00a0&#8220;Path&#8221; System variable again\n<ol>\n<li>My Computer -&gt; System Properties -&gt; Advances system settings<\/li>\n<li>Copy &#8220;C:\\composer\\;&#8221; and Past at last of Path variable.<\/li>\n<li>Do not add space before this line.<\/li>\n<\/ol>\n<\/li>\n<li>Let&#8217;s check by typing command in cmd<\/li>\n<li>C:\\composer -v<\/li>\n<li>Now its done.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>When you\u00a0trying to install Composer for Laravel in WAMP setup. You may\u00a0getting a warning message for not enabling openssl in WAMP. Step 1 1 Find the location and edit the file named: php.ini. 2 Uncomment the line extension=php_openssl.dll by removing the semicolon at the beginning. 3 Try again Method 2 If above step could not [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":110,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[28],"class_list":["post-109","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-laravel","tag-install-composer-manually-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>If possible you should enable it or recompile php with --with-openssl<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"If possible you should enable it or recompile php with --with-openssl\" \/>\n<meta property=\"og:description\" content=\"When you\u00a0trying to install Composer for Laravel in WAMP setup. You may\u00a0getting a warning message for not enabling openssl in WAMP. Step 1 1 Find the location and edit the file named: php.ini. 2 Uncomment the line extension=php_openssl.dll by removing the semicolon at the beginning. 3 Try again Method 2 If above step could not [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/\" \/>\n<meta property=\"og:site_name\" content=\"Programmer Code\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/vining.in\" \/>\n<meta property=\"article:published_time\" content=\"2015-11-22T14:54:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-05-30T09:09:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/vining.in\/blog\/wp-content\/uploads\/2015\/11\/composer-error.png\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"382\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"codeadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"codeadmin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/\",\"url\":\"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/\",\"name\":\"If possible you should enable it or recompile php with --with-openssl\",\"isPartOf\":{\"@id\":\"https:\/\/vining.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/vining.in\/blog\/wp-content\/uploads\/2015\/11\/composer-error.png\",\"datePublished\":\"2015-11-22T14:54:17+00:00\",\"dateModified\":\"2017-05-30T09:09:37+00:00\",\"author\":{\"@id\":\"https:\/\/vining.in\/blog\/#\/schema\/person\/cda9f07adf3479ac270e2320a914552e\"},\"breadcrumb\":{\"@id\":\"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/#primaryimage\",\"url\":\"https:\/\/vining.in\/blog\/wp-content\/uploads\/2015\/11\/composer-error.png\",\"contentUrl\":\"https:\/\/vining.in\/blog\/wp-content\/uploads\/2015\/11\/composer-error.png\",\"width\":500,\"height\":382},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/vining.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"If possible you should enable it or recompile php with &#8211;with-openssl\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/vining.in\/blog\/#website\",\"url\":\"https:\/\/vining.in\/blog\/\",\"name\":\"Programmer Code\",\"description\":\"- Where Developers Learn, Share, &amp; Build Careers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/vining.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/vining.in\/blog\/#\/schema\/person\/cda9f07adf3479ac270e2320a914552e\",\"name\":\"codeadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/vining.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/770f5bb2b95d41f98f29e7251fb1873b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/770f5bb2b95d41f98f29e7251fb1873b?s=96&d=mm&r=g\",\"caption\":\"codeadmin\"},\"url\":\"https:\/\/vining.in\/blog\/author\/codeadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"If possible you should enable it or recompile php with --with-openssl","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/","og_locale":"en_US","og_type":"article","og_title":"If possible you should enable it or recompile php with --with-openssl","og_description":"When you\u00a0trying to install Composer for Laravel in WAMP setup. You may\u00a0getting a warning message for not enabling openssl in WAMP. Step 1 1 Find the location and edit the file named: php.ini. 2 Uncomment the line extension=php_openssl.dll by removing the semicolon at the beginning. 3 Try again Method 2 If above step could not [&hellip;]","og_url":"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/","og_site_name":"Programmer Code","article_publisher":"https:\/\/www.facebook.com\/vining.in","article_published_time":"2015-11-22T14:54:17+00:00","article_modified_time":"2017-05-30T09:09:37+00:00","og_image":[{"width":500,"height":382,"url":"https:\/\/vining.in\/blog\/wp-content\/uploads\/2015\/11\/composer-error.png","type":"image\/png"}],"author":"codeadmin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"codeadmin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/","url":"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/","name":"If possible you should enable it or recompile php with --with-openssl","isPartOf":{"@id":"https:\/\/vining.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/#primaryimage"},"image":{"@id":"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/#primaryimage"},"thumbnailUrl":"https:\/\/vining.in\/blog\/wp-content\/uploads\/2015\/11\/composer-error.png","datePublished":"2015-11-22T14:54:17+00:00","dateModified":"2017-05-30T09:09:37+00:00","author":{"@id":"https:\/\/vining.in\/blog\/#\/schema\/person\/cda9f07adf3479ac270e2320a914552e"},"breadcrumb":{"@id":"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/#primaryimage","url":"https:\/\/vining.in\/blog\/wp-content\/uploads\/2015\/11\/composer-error.png","contentUrl":"https:\/\/vining.in\/blog\/wp-content\/uploads\/2015\/11\/composer-error.png","width":500,"height":382},{"@type":"BreadcrumbList","@id":"https:\/\/vining.in\/blog\/if-possible-you-should-enable-it-or-recompile-php-with-with-openssl\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vining.in\/blog\/"},{"@type":"ListItem","position":2,"name":"If possible you should enable it or recompile php with &#8211;with-openssl"}]},{"@type":"WebSite","@id":"https:\/\/vining.in\/blog\/#website","url":"https:\/\/vining.in\/blog\/","name":"Programmer Code","description":"- Where Developers Learn, Share, &amp; Build Careers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vining.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/vining.in\/blog\/#\/schema\/person\/cda9f07adf3479ac270e2320a914552e","name":"codeadmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vining.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/770f5bb2b95d41f98f29e7251fb1873b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/770f5bb2b95d41f98f29e7251fb1873b?s=96&d=mm&r=g","caption":"codeadmin"},"url":"https:\/\/vining.in\/blog\/author\/codeadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/posts\/109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/comments?post=109"}],"version-history":[{"count":3,"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/posts\/109\/revisions"}],"predecessor-version":[{"id":113,"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/posts\/109\/revisions\/113"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/media\/110"}],"wp:attachment":[{"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/media?parent=109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/categories?post=109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vining.in\/blog\/wp-json\/wp\/v2\/tags?post=109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}