• 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

Resolved Php version subdomain

falc0

New Pleskian
Hi, I've changed my php version for a subdomain from 5 to 7. In my control panel everything is ok, the phpinfo() page also ok.
But when i execute my composer installation, it says my php version is still 5.

How can I use my php 7 for this subdomain?
 

Attachments

  • Screen Shot 2017-02-19 at 11.49.42.png
    Screen Shot 2017-02-19 at 11.49.42.png
    41.4 KB · Views: 12
  • Screen Shot 2017-02-19 at 11.49.31.png
    Screen Shot 2017-02-19 at 11.49.31.png
    31.7 KB · Views: 12
Use /opt/plesk/php/7.0/bin/php path instead of default /usr/bin/php
 
Back
Top