• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

composer

  1. Kulturmensch

    Resolved Composer and Plesk Obsidian

    I installed Drupal 8 in domain/httpdocs using composer as provided by Plesk but from the command line in the bash. This works fine and after finishing the installation I could switch to Pleks to control the composer.json file using the Plesk command in Websites & Domains/PHP Composer. But as...
  2. Kulturmensch

    Resolved Module installation of DRUPAL 8 using Plesk composer?

    I am currently setting up a new site using DRUPAL 8 as provided as application in Plesk. To install modules of Drupal 8 a recommended procedure is to use composer i.e. using commands like composer require drupal/"wished module" in the console. I am wondering whether I can do this also with the...
  3. J

    Question Git Additional deployment actions - running composer install

    Hi I am trying to run composer install after automatically deploying from a remote git repo. I try this in the additional deployment actions: cd /var/www/vhosts/xxx/xxx/httpdocs && /opt/plesk/php/7.2/bin/php /usr/lib64/plesk-9.0/composer.phar install --optimize-autoloader but the cd part of...
  4. S

    Question PHP CLI 7

    I'm trying to install Laravel via SSH but I realised that my PHP CLI is still 5 even if in the website I use 7.2 How can I use PHP 7 CLI and use all the modules include the php pgsql extension? I have 2 problems. 1) I'm running a cron job with root and it has a pg_connect inside the php...
  5. N

    Issue Signature for Composer breaks regularly

    I have regularly the issue that composer breaks and I get the message: "Uncaught PharException: phar \"/usr/lib/plesk-9.0/composer.phar\" has a broken signature in /usr/lib/plesk-9.0/composer.phar:23\nStack trace:\n#0 /usr/lib/plesk-9.0/composer.phar(23): Phar::mapPhar('composer.phar')\n#1" when...
  6. WebHostingAce

    Issue Magento 2 / Composer / Multiple PHP issue

    Hi, How can I run composer in PHP 7.1.? It seems even the PHP commands runs in PHP 7.1 composer find the system PHP 5.4. How can I over come this issue? bash-4.2$ alias php='/opt/plesk/php/7.1/bin/php' -bash-4.2$ composer update Loading composer repositories with package information Updating...
  7. chapterjason

    Question NodeJS and Yarn in chrooted environment

    Hey, I followed this instructions to configure my chrooted env for the domain user, like it is written here. I currently use this script to configure the env. echo reset ./update_chroot.sh --rebuild echo add php ./update_chroot.sh --add /opt/plesk/php/7.1/bin/php mkdir...
  8. FAB

    Resolved COMPOSER - LARAVEL

    At this point, I'm going to hang myself up, seriously lol Here is my problem: I've been trying for the last 3 days to install laravel on my server in order to be able to use it for a new website project. So, first problem, I need Composer. Good news, Composer is already installed by Plesk...
  9. Bramus!

    Issue Running `composer install` via "Additional Deployment Actions"?

    Hi, We have set up automatic deployment of a Git repo onto our server. As it's a PHP project, I need to run `composer install` after deployment, to make sure all dependencies are installed. Doing so manually over SSH works fine, yet I want to do it automatically. In the docs I see that it's...
  10. campsjos

    Question Setting environment variables in subscriptions

    Hi! I deployed a Symfony 3 application using Git extension (I loved it) and then tried to install its dependencies trough Composer in Subscription > Applications > Scan > composer.json but it failed due to a environment variable issue (to build a Symfony application in production you need to run...
  11. TomP

    Resolved Question about updates for a Drupal User

    I'm on a new server using ‪CentOS 5.9; Plesk 11.0.9 to a new ‪CentOS Linux 7.3.1611; Plesk Onyx 17. I have a few Drupal sites that now run as a multi site setup. With the ease Plesk helps in doing updates, I was looking into moving the multi sites to single site installations. I'm just starting...
  12. Sidimar Carniel

    Resolved Run additional commands composer

    To install all modules necessary for project is necessary in Websites & Domains > Applications > Manage My Applications > click the application name in the list > Install Dependencies. As result is: ... Generating autoload files > php artisan clear-compiled > php artisan optimize After this, is...
  13. SlimIT

    Plesk application scan doesn't detect prestashop and put each module as an application

    Hi, I have copied website (prestashop based) application from one subscription to another and I wanted to register the Prestashop as a subscription application but Plesk applications scan doesn't detect prestashop and put each module as an application due to composer.json file. So how to...
  14. B

    Upgrade default PHP

    Hello, How could I upgrade PHP 5.3(default php version /etc/php.ini) to 5.5 or 5.6, without errors after ... ? I'm using multiple php versions but composer every time calls default php.ini in etc directory. OS: Centos 6 Thanks
Back
Top