• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question ive managed to change php being used by the server - how do i bring it back to plesk?

mudassar

Basic Pleskian
Server operating system version
ubuntu
Plesk version and microupdate number
obsidian 18.0.47
I was trying to install composer via terminal but I obviously did something wrong. Now when I try to run composer on the terminal I get the error regarding extensions on /etc/php/cli/php.ini (mbstring, tokenizer etc)

I have tried
sudo /opt/plesk/php/8.1/bin/php /var/www/vhosts/beta.domain.co.uk/httpdocs composer install

but the output just does nothing. no output. just starts a new line.
 
i did not. i have only realised that now, i have activated it and tried to use it but I get the error:

Could not update the integration plugin
  • Changed current directory to /var/www/vhosts/beta.domain.co.uk/.composer


  • [InvalidArgumentException]
  • Setting allow-plugins.plesk/composer-command-info does not exist or is not supported by this command


  • config [-g|--global] [-e|--editor] [-a|--auth] [--unset] [-l|--list] [-f|--file FILE] [--absolute] [--] [<setting-key>] [<setting-value>]...
 
Is there anyway to reset the files/system to default so it goes back to using plesk php.ini? Or is there a location that I can set that so plesk can control the php versions again.
 
Back
Top