ssossossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums Forums OroPlatform PHP cannot be found

This topic contains 3 replies, has 2 voices, and was last updated by  Roman Grebenchuk 2 years, 11 months ago.

  • Creator
    Topic
  • #31098

    behrang
    Participant

    Hi
    OROCRM is installed. But when trying to install something via package manager we get error:
    × PHP cannot be found
    so we cannot install needed packages, same error on updating packages.
    greets

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #31099

    Roman Grebenchuk
    Moderator

    Hi,

    As fast workaround you can define environment variable ORO_PHP_PATH with full path to php binary file.
    “PHP cannot be found” appears when php binary can not be found in system. Actually it occurs in different cases (php cli is not installed, if there are several php installations, restrictions from Web server, etc).

    #31100

    behrang
    Participant

    you mean like in /etc/environment
    ORO_PHP_PATH=”/usr/bin/”
    greets

    #31101

    Roman Grebenchuk
    Moderator

    yes,
    but with binary file name
    ORO_PHP_PATH=”/usr/bin/php”

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.