{"id":1049,"date":"2017-12-15T21:21:54","date_gmt":"2017-12-16T02:21:54","guid":{"rendered":"http:\/\/xfloyd.net\/blog\/?p=1049"},"modified":"2018-01-06T21:43:27","modified_gmt":"2018-01-07T02:43:27","slug":"plesk-17-running-non-os-php-with-composer","status":"publish","type":"post","link":"https:\/\/xfloyd.net\/blog\/?p=1049","title":{"rendered":"PLESK 17 running none OS PHP with Composer."},"content":{"rendered":"<p>Run the following command to check all available versions of PHP:<\/p>\n<pre><code ># plesk bin php_handler --list<\/code><\/pre>\n<p>Then, choose the binary (including path) from the column <strong> php-cli <\/strong> , for example:<br \/>\n<pre><code >php-cli:<br \/>\n\/opt\/plesk\/php\/7.1\/bin\/php<\/code><br \/>\nNote: Use the full path to launch binary in the command-line interface.<\/p>\n<p>Here is simple example oh how to install symfony4 using composer:<\/p>\n<p><code>\/opt\/plesk\/php\/7.1\/bin\/php \/usr\/local\/bin\/composer.phar create-project symfony\/skeleton my_project<\/code><\/pre><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Run the following command to check all available versions of PHP: Then, choose the binary (including path) from the column php-cli , for example:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1049"}],"collection":[{"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1049"}],"version-history":[{"count":5,"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1049\/revisions"}],"predecessor-version":[{"id":1069,"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1049\/revisions\/1069"}],"wp:attachment":[{"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}