{"id":867,"date":"2024-04-15T13:13:08","date_gmt":"2024-04-15T04:13:08","guid":{"rendered":"http:\/\/inwelly.com\/?p=867"},"modified":"2024-04-15T13:13:08","modified_gmt":"2024-04-15T04:13:08","slug":"php-symfony4-%eb%a6%ac%eb%88%85%ec%8a%a4linux-ubunto-%ec%97%90-%ec%84%a4%ec%b9%98%ed%95%98%ea%b8%b0%ec%8b%9c-error","status":"publish","type":"post","link":"https:\/\/inwelly.com\/?p=867","title":{"rendered":"PHP-Symfony4 \ub9ac\ub205\uc2a4(linux) Ubunto \uc5d0 \uc124\uce58\ud558\uae30\uc2dc Error"},"content":{"rendered":"\n<p><strong>\uc544\ub798\uc758 \uc5d0\ub7ec\uba54\uc138\uc9c0 \ubc1c\uc0dd<br><br><\/strong>#&gt; composer create-project symfony\/skeleton my_project&nbsp;<\/p>\n\n\n\n<p>Installing symfony\/website-skeleton (v3.4.17.3)<\/p>\n\n\n\n<p>&nbsp; &nbsp; Failed to download symfony\/website-skeleton from dist: The zip extension and unzip command are both missing, skipping.<\/p>\n\n\n\n<p>Your command-line PHP is using multiple ini files. Run `php &#8211;ini` to show them.<\/p>\n\n\n\n<p>&nbsp; &nbsp; Now trying to download from source<\/p>\n\n\n\n<p>&nbsp; &#8211; Installing symfony\/website-skeleton (v3.4.17.3): Cloning ed1999eeec from cache<\/p>\n\n\n\n<p>Created project in the_example003<\/p>\n\n\n\n<p>Loading composer repositories with package information<\/p>\n\n\n\n<p>Installing dependencies (including require-dev) from lock file<\/p>\n\n\n\n<p>Package operations: 90 installs, 0 updates, 0 removals<\/p>\n\n\n\n<p>&nbsp; &nbsp; Failed to download ocramius\/package-versions from dist: The zip extension and unzip command are both missing, skipping.<\/p>\n\n\n\n<p>Your command-line PHP is using multiple ini files. Run `php &#8211;ini` to show them.<\/p>\n\n\n\n<p>&nbsp; &nbsp; Now trying to download from source<\/p>\n\n\n\n<p>&nbsp; &#8211; Installing ocramius\/package-versions (1.2.0): Cloning ad8a245dec from cache<\/p>\n\n\n\n<p>&nbsp; &nbsp; Failed to download symfony\/flex from dist: The zip extension and unzip command are both missing, skipping.<\/p>\n\n\n\n<p>Your command-line PHP is using multiple ini files. Run `php &#8211;ini` to show them.<\/p>\n\n\n\n<p>&nbsp; &nbsp; Now trying to download from source<\/p>\n\n\n\n<p>&nbsp; &#8211; Installing symfony\/flex (v1.1.1): Cloning 9fb60f232a from cache<\/p>\n\n\n\n<p>Enable the &#8220;cURL&#8221; PHP extension for faster downloads<\/p>\n\n\n\n<p>&#8230;&#8230;&#8230;..<\/p>\n\n\n\n<p>for php 7.X. .<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>(sudo) yum install zip unzip php7.0-zip  (sudo) apt install zip unzip php7.0-zip<\/code><\/pre>\n\n\n\n<p>For servers with PHP 5.6<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get install zip unzip php5.6-zip<\/code><\/pre>\n\n\n\n<p>I had PHP7.2 on a Ubuntu 16.04 server and it solved my problem:<\/p>\n\n\n\n<p><code>sudo apt-get install zip unzip php-zip<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc544\ub798\uc758 \uc5d0\ub7ec\uba54\uc138\uc9c0 \ubc1c\uc0dd #&gt; composer create-project symfony\/skeleton my_project&nbsp; Installing symfony\/website-skeleton (v3.4.17.3) &nbsp; &nbsp; Failed to download symfony\/website-skeleton from dist: The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[111],"tags":[],"class_list":["post-867","post","type-post","status-publish","format-standard","hentry","category-symfony"],"_links":{"self":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/867","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=867"}],"version-history":[{"count":1,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/867\/revisions"}],"predecessor-version":[{"id":868,"href":"https:\/\/inwelly.com\/index.php?rest_route=\/wp\/v2\/posts\/867\/revisions\/868"}],"wp:attachment":[{"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/inwelly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}