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.
[quote=“rexcze”][quote=“plouf56”]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[/quote]
hmm,
didn help.[/quote]
pls try:
/usr/prog/php/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
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
[quote=“plouf56”]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[/quote]
hmm,
didn help.