Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

CLI Path for PHP

Tahir Gondal   ( User )

Commented 4 years ago

I am trying to install on Plesk Onyex 7.2.x php version. I am getting error that I need to set path for php cli.

Advice please?

Denis Dulici   ( Admin )

Commented 4 years ago

Hello Tahir,

You should ask your hosting provider for the proper PHP path and set it in the .env file of Akaunting like the following:

PHP_BINARY="/path/to/php"

Regards

Luca   ( User )

Commented 3 years ago

Hi Denis
Unfortunately, it doesn't work like this:
PHP_BINARY="/usr/php74/usr/bin/php"

That's definitely the correct path, when connecting via SSH I get the following message:
PHP binaries (cli):

/usr/php53/usr/bin/php
/usr/php54/usr/bin/php
/usr/php55/usr/bin/php
/usr/php56/usr/bin/php
/usr/php70/usr/bin/php
/usr/php71/usr/bin/php
/usr/php72/usr/bin/php
/usr/php73/usr/bin/php
/usr/php74/usr/bin/php

Please login or register to leave a response.

Showing 1 to 3 of 3 discussions