If I run command ./install_amp a get an error -bash: ./install_amp: /usr/bin/php: bad interpreter: Permission denied
What should I do? Iam using PHP 5, phpini is in /usr/local/lib/php.ini and /usr/local/lib/php contains all of php files.
If I run command ./install_amp a get an error -bash: ./install_amp: /usr/bin/php: bad interpreter: Permission denied
What should I do? Iam using PHP 5, phpini is in /usr/local/lib/php.ini and /usr/local/lib/php contains all of php files.
Copyright © 2013, Schmooze Com Inc FreePBX is a
Registered Trademark of Schmooze Com Inc All Rights Reserved.
Hi,
few times ago, we 've this message and resolve it by:
ln -s /usr/local/bin/php /usr/bin/php
restart install_amp
Plouf56
plouf56 wrote:
hmm,
didn help.
rexcze wrote:
pls try:
# which php
/usr/prog/php/bin/php
# ln -s /usr/prog/php/bin/php /usr/bin/php
In other words do s_link to location of your php.
Or manually edit all files with #!/usr/bin/php header and change it to your location of php. My PHP was instaled with --prefix=/usr/prog/php
Best regards